fix(treesitter): revise ts-comment config
This commit is contained in:
parent
e770ee20e5
commit
22d94fcf6b
2 changed files with 30 additions and 32 deletions
|
|
@ -180,16 +180,16 @@ return {
|
|||
'typescript',
|
||||
'vim',
|
||||
},
|
||||
}
|
||||
|
||||
context_commentstring = {
|
||||
enable = true,
|
||||
enable_autocmd = false,
|
||||
}
|
||||
require('ts_context_commentstring').setup {
|
||||
}
|
||||
|
||||
require('Comment').setup {
|
||||
pre_hook = require('ts_context_commentstring.integrations.comment_nvim').create_pre_hook(),
|
||||
}
|
||||
|
||||
vim.g.skip_ts_context_commentstring_module = true
|
||||
end
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue