From abca7c20144a1aa0c0197e17cacd892e3ff99ff2 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Thu, 25 Jun 2020 13:38:07 +0200 Subject: Update --- ftplugin/zig.vim | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ftplugin/zig.vim') diff --git a/ftplugin/zig.vim b/ftplugin/zig.vim index 8e43f4fb..663ec875 100644 --- a/ftplugin/zig.vim +++ b/ftplugin/zig.vim @@ -16,4 +16,9 @@ setlocal suffixesadd=.zir setlocal commentstring=//\ %s setlocal makeprg=zig\ build +if (has("comments")) + set comments=:///,://,:\\\\ + set formatoptions=tcqor +endif + endif -- cgit v1.2.3