This commit is contained in:
DavidOnTop 2025-04-09 20:31:22 +02:00
parent d3af2e83f1
commit 77035a2af4
Signed by: DavidOnTop
GPG key ID: 8D3E9A75E3E13D89
21 changed files with 2325 additions and 0 deletions

15
new/lua/plugins/autopairs.lua Executable file
View file

@ -0,0 +1,15 @@
local npairs = require("nvim-autopairs")
local Rule = require("nvim-autopairs.rule")
npairs.setup({
check_ts = true,
ts_config = {
lua = {"string"},
javascript = {"template_string"},
},
enable_check_bracket_line = false,
ignored_next_char = "[%w%.]",
})
local ts_conds = require("nvim-autopairs.ts-conds")