make autopairs better for lisp
This commit is contained in:
parent
4a5cd2f8f7
commit
5d7e3b92b2
1 changed files with 4 additions and 1 deletions
|
|
@ -7,7 +7,10 @@ return {
|
|||
config = function()
|
||||
local autopairs = require("nvim-autopairs")
|
||||
|
||||
autopairs.setup({ check_ts = true })
|
||||
autopairs.setup({
|
||||
check_ts = true,
|
||||
disable_filetype = { "TelescopePrompt", "spectre_panel", "scheme", "lisp" },
|
||||
})
|
||||
|
||||
-- remove single-quote rule for some languages
|
||||
autopairs.get_rule("'")[1].not_filetypes = { "scheme", "lisp", "ocaml", "sml", "rust" }
|
||||
|
|
|
|||
Loading…
Reference in a new issue