commit 276d8decc79efddf6f2a39625604f014f3888dd0
parent 0d5e066ecb43e69e4857663b95e7588775ea72ac
Author: Alexey Yerin <yyp@disroot.org>
Date: Sun, 21 Mar 2021 17:42:41 +0300
Set commentstring
This allows to use plugins like vim-commentary to comment out lines
without manually setting that option every time.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/ftplugin/hare.vim b/ftplugin/hare.vim
@@ -15,6 +15,7 @@ setlocal tabstop=8
setlocal shiftwidth=0
setlocal softtabstop=0
setlocal textwidth=80
+setlocal commentstring=//\ %s
" Set 'formatoptions' to break comment lines but not other lines,
" and insert the comment leader when hitting <CR> or using "o".