From 8d6c8e0f702d6eb2fb99e58ded1ccb7c719353fd Mon Sep 17 00:00:00 2001 From: Scott McKendry <39483124+scottmckendry@users.noreply.github.com> Date: Sun, 2 Mar 2025 14:06:35 +1300 Subject: [PATCH] fix: add missing commentstring option --- ftplugin/cs.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/ftplugin/cs.vim b/ftplugin/cs.vim index 09336d3..7d4c76e 100644 --- a/ftplugin/cs.vim +++ b/ftplugin/cs.vim @@ -20,6 +20,7 @@ setlocal formatoptions-=t formatoptions+=croql " Set 'comments' to format dashed lists in comments. setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:///,:// +setlocal commentstring=//\ %s setlocal cinoptions=J1