add comment string for terraform code

This commit is contained in:
Pim Kunis 2023-11-07 13:54:14 +01:00
parent 3d34c1e691
commit d3ec7fd591
2 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1,2 @@
vim.cmd([[autocmd FileType nix setlocal commentstring=#%s]])
vim.cmd([[autocmd FileType terraform setlocal commentstring=#%s]])

View file

@ -36,7 +36,7 @@
{ {
plugin = vim-commentary; plugin = vim-commentary;
type = "lua"; type = "lua";
config = "vim.cmd([[autocmd FileType nix setlocal commentstring=#%s]])"; config = builtins.readFile ./commentary.lua;
} }
vim-sleuth vim-sleuth
{ {