diff --git a/ftplugin/cocci.vim b/ftplugin/cocci.vim new file mode 100644 index 0000000..aad1bd6 --- /dev/null +++ b/ftplugin/cocci.vim @@ -0,0 +1,13 @@ +" Vim ftplugin file +" Language: Cocci (SmPL) +" Author: Alexander Færøy +" License: You may redistribute this under the same terms as Vim itself. + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +setlocal commentstring=//\ %s + +" vim: set et ts=4 :