mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-02-23 20:12:00 +00:00
parent
9d1cec158b
commit
0c4fecd6d1
2 changed files with 11 additions and 3 deletions
|
|
@ -204,6 +204,9 @@
|
|||
|
||||
- Added Makefile support via `languages.make`.
|
||||
|
||||
- Fix `languages.hcl` init, depending on `comment-nvim` by checking if it is
|
||||
enabled. Fixes a crash (#1350).
|
||||
|
||||
- Added Debugging support to `languages.php`.
|
||||
|
||||
- Added Formatting support to `languages.php` via
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue