Added shade and some fixes

This commit is contained in:
2021-09-16 23:15:39 +02:00
parent 3a6724e5c3
commit a299950ac9
3 changed files with 16 additions and 1 deletions

View File

@ -115,3 +115,17 @@ require'nvim-treesitter.configs'.setup {
require("luasnip.loaders.from_vscode").load()
-------------------- AUTOPAIRS -----------------------------
require('nvim-autopairs').setup{}
require("nvim-autopairs.completion.cmp").setup({
map_cr = true, -- map <CR> on insert mode
map_complete = true, -- it will auto insert `(` (map_char) after select function or method item
auto_select = true, -- automatically select the first item
insert = false, -- use insert confirm behavior instead of replace
map_char = { -- modifies the function or method delimiter by filetypes
all = '(',
tex = '{'
}
})
-------------------- SHADE ---------------------------------
require('shade').setup({
overlay_opacity = 65
})