Skip to content

Commit ce7e1ee

Browse files
authored
Merge pull request #2284 from mccode-dev/vim_add_commentstring
Add commentstring to vim editor
2 parents f6a8b09 + a8cac39 commit ce7e1ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

support/common/editors/mccode.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
" McStas/McXtrace instruments are mostly c syntax so start with that
1414
:runtime! syntax/c.vim
15-
15+
:setlocal commentstring=//\ %s
1616
"keywords for mcstas statements
1717
:syntax keyword instrStatement DECLARE DEPENDENCY DEFINE END FINALLY INITIALIZE MCDISPLAY SAVE SHARE USERVARS
1818
:syntax keyword instrStatement TRACE DEFINITION PARAMETERS POLARISATION SETTING STATE

0 commit comments

Comments
 (0)