mirror of
https://github.com/arkorty/Neolite.git
synced 2026-05-07 10:02:15 +00:00
Add back snippet engine plugin
Add snippet template plugin Change how some colorschemes are loaded
This commit is contained in:
parent
a9809d363a
commit
ddd5955ac3
2 changed files with 9 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue