language/hcl: fix #1350

This commit is contained in:
Snoweuph 2026-02-08 09:43:24 +01:00 committed by Ching Pei Yang
commit 99bedf1d84
2 changed files with 11 additions and 3 deletions

View file

@ -76,9 +76,14 @@ in {
end
})
local ft = require('Comment.ft')
ft
.set('hcl', '#%s')
${
if config.vim.comments.comment-nvim.enable
then ''
local ft = require('Comment.ft')
ft.set('hcl', '#%s')
''
else ""
}
'';
}
(mkIf cfg.treesitter.enable {