feat(plugins): nvim-autopairs ts support
This commit is contained in:
parent
f6139b8ac2
commit
f562882989
1 changed files with 6 additions and 0 deletions
|
@ -1,4 +1,10 @@
|
||||||
require('nvim-autopairs').setup({
|
require('nvim-autopairs').setup({
|
||||||
|
check_ts = true,
|
||||||
|
ts_config = {
|
||||||
|
lua = { 'string', 'source' },
|
||||||
|
javascript = { 'string', 'template_string' },
|
||||||
|
java = false,
|
||||||
|
},
|
||||||
disable_filetype = { 'TelescopePrompt', 'vim' },
|
disable_filetype = { 'TelescopePrompt', 'vim' },
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue