Add back snippet engine plugin

Add snippet template plugin

Change how some colorschemes are loaded
This commit is contained in:
Arkaprabha Chakraborty
2023-03-06 02:41:14 +05:30
parent a9809d363a
commit ddd5955ac3
2 changed files with 9 additions and 3 deletions

View File

@@ -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

View File

@@ -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