add comment string for terraform code
This commit is contained in:
parent
3d34c1e691
commit
d3ec7fd591
2 changed files with 3 additions and 1 deletions
2
home-manager/neovim/commentary.lua
Normal file
2
home-manager/neovim/commentary.lua
Normal file
|
@ -0,0 +1,2 @@
|
|||
vim.cmd([[autocmd FileType nix setlocal commentstring=#%s]])
|
||||
vim.cmd([[autocmd FileType terraform setlocal commentstring=#%s]])
|
|
@ -36,7 +36,7 @@
|
|||
{
|
||||
plugin = vim-commentary;
|
||||
type = "lua";
|
||||
config = "vim.cmd([[autocmd FileType nix setlocal commentstring=#%s]])";
|
||||
config = builtins.readFile ./commentary.lua;
|
||||
}
|
||||
vim-sleuth
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue