fix: update commenting plugin for vue
This commit is contained in:
parent
a737d0cbc6
commit
a6476a94fb
@ -2,7 +2,9 @@ local config = {}
|
||||
|
||||
if packer_plugins['nvim-ts-context-commentstring'] and packer_plugins['nvim-ts-context-commentstring'].loaded then
|
||||
config.hook = function()
|
||||
require("ts_context_commentstring.internal").update_commentstring()
|
||||
if vim.api.nvim_buf_get_option(0, "filetype") == "vue" then
|
||||
require("ts_context_commentstring.internal").update_commentstring()
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user