nixos-laptop/home-manager/neovim/commentary.lua

2 lines
128 B
Lua

vim.cmd([[autocmd FileType nix setlocal commentstring=#%s]])
vim.cmd([[autocmd FileType terraform setlocal commentstring=#%s]])