mirror of
https://github.com/arkorty/Neolite.git
synced 2026-03-18 00:57:12 +00:00
Add back snippet engine plugin
Add snippet template plugin Change how some colorschemes are loaded
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
local colorscheme = "onedark"
|
||||
local colorscheme = "gruvbox"
|
||||
|
||||
if colorscheme == "onedark" then
|
||||
-- Onedark Default Configuration
|
||||
@@ -96,7 +96,7 @@ if colorscheme == "catppuccin" then
|
||||
})
|
||||
|
||||
-- Load Catppuccin
|
||||
catppuccin.load()
|
||||
vim.cmd.colorscheme("catppuccin")
|
||||
end
|
||||
|
||||
if colorscheme == "gruvbox" then
|
||||
@@ -126,5 +126,6 @@ if colorscheme == "gruvbox" then
|
||||
})
|
||||
|
||||
-- Load Gruvbox
|
||||
gruvbox.load()
|
||||
vim.o.background = "dark" -- or "light" for light mode
|
||||
vim.cmd([[colorscheme gruvbox]])
|
||||
end
|
||||
|
||||
@@ -35,8 +35,13 @@ packer.startup(function(use)
|
||||
use("williamboman/mason-lspconfig.nvim")
|
||||
use("neovim/nvim-lspconfig")
|
||||
|
||||
-- Formatting
|
||||
use("jose-elias-alvarez/null-ls.nvim")
|
||||
|
||||
-- Snippets
|
||||
use("L3MON4D3/LuaSnip") --snippet engine
|
||||
use("rafamadriz/friendly-snippets") -- a bunch of snippets to use
|
||||
|
||||
-- Completions
|
||||
use("hrsh7th/nvim-cmp") -- The completion plugin
|
||||
use("hrsh7th/cmp-buffer") -- buffer completions
|
||||
|
||||
Reference in New Issue
Block a user