Skip to content

Commit

Permalink
au(mojo): set commentstring on BufRead
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Jun 3, 2024
1 parent fbb92b4 commit 3c56618
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/nxvim/autocmds.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ nx.au({
{ "FileType", pattern = { "python", "zig" }, command = "setlocal noet ts=3 sw=0" },
{ "BufRead", pattern = { "*.njk", "*.vto" }, command = "set ft=html" },
{ "BufRead", pattern = { "*.v", "*.v_*", "v.mod" }, command = "set ft=v" },
{ "BufRead", pattern = { "*.mojo" }, command = "setlocal commentstring=#%s" },
})

nx.au({ -- Remember folds
Expand Down

0 comments on commit 3c56618

Please sign in to comment.