summaryrefslogtreecommitdiffstats
path: root/.config/nvim/lua/plugin_settings.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/plugin_settings.lua')
-rw-r--r--.config/nvim/lua/plugin_settings.lua25
1 files changed, 25 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugin_settings.lua b/.config/nvim/lua/plugin_settings.lua
index 7806790..2dfbaeb 100644
--- a/.config/nvim/lua/plugin_settings.lua
+++ b/.config/nvim/lua/plugin_settings.lua
@@ -367,3 +367,28 @@ require("indent_blankline").setup {
367 filetype_exclude = {"dashboard", "help", "ledger", "man"} 367 filetype_exclude = {"dashboard", "help", "ledger", "man"}
368} 368}
369-- }}} indent-blankline -- 369-- }}} indent-blankline --
370
371-- nvim-autopairs {{{ --
372
373require('nvim-autopairs').setup({
374 disable_filetype = { "TelescopePrompt" },
375})
376
377require("nvim-autopairs.completion.cmp").setup({
378 map_cr = true, -- map <CR> on insert mode
379 map_complete = true, -- it will auto insert `(` (map_char) after select function or method item
380 auto_select = true, -- automatically select the first item
381 insert = false, -- use insert confirm behavior instead of replace
382 map_char = { -- modifies the function or method delimiter by filetypes
383 all = '(',
384 tex = '{'
385 }
386})
387
388local Rule = require('nvim-autopairs.rule')
389local npairs = require('nvim-autopairs')
390
391npairs.add_rule(Rule('%"','%"',"remind"))
392
393
394-- }}} nvim-autopairs --