mirror of
https://github.com/arkorty/Neolite.git
synced 2026-03-17 16:51:42 +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
|
if colorscheme == "onedark" then
|
||||||
-- Onedark Default Configuration
|
-- Onedark Default Configuration
|
||||||
@@ -96,7 +96,7 @@ if colorscheme == "catppuccin" then
|
|||||||
})
|
})
|
||||||
|
|
||||||
-- Load Catppuccin
|
-- Load Catppuccin
|
||||||
catppuccin.load()
|
vim.cmd.colorscheme("catppuccin")
|
||||||
end
|
end
|
||||||
|
|
||||||
if colorscheme == "gruvbox" then
|
if colorscheme == "gruvbox" then
|
||||||
@@ -126,5 +126,6 @@ if colorscheme == "gruvbox" then
|
|||||||
})
|
})
|
||||||
|
|
||||||
-- Load Gruvbox
|
-- Load Gruvbox
|
||||||
gruvbox.load()
|
vim.o.background = "dark" -- or "light" for light mode
|
||||||
|
vim.cmd([[colorscheme gruvbox]])
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -35,8 +35,13 @@ packer.startup(function(use)
|
|||||||
use("williamboman/mason-lspconfig.nvim")
|
use("williamboman/mason-lspconfig.nvim")
|
||||||
use("neovim/nvim-lspconfig")
|
use("neovim/nvim-lspconfig")
|
||||||
|
|
||||||
|
-- Formatting
|
||||||
use("jose-elias-alvarez/null-ls.nvim")
|
use("jose-elias-alvarez/null-ls.nvim")
|
||||||
|
|
||||||
|
-- Snippets
|
||||||
|
use("L3MON4D3/LuaSnip") --snippet engine
|
||||||
|
use("rafamadriz/friendly-snippets") -- a bunch of snippets to use
|
||||||
|
|
||||||
-- Completions
|
-- Completions
|
||||||
use("hrsh7th/nvim-cmp") -- The completion plugin
|
use("hrsh7th/nvim-cmp") -- The completion plugin
|
||||||
use("hrsh7th/cmp-buffer") -- buffer completions
|
use("hrsh7th/cmp-buffer") -- buffer completions
|
||||||
|
|||||||
Reference in New Issue
Block a user