diff options
Diffstat (limited to 'ftplugin/gdb.vim')
-rw-r--r-- | ftplugin/gdb.vim | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ftplugin/gdb.vim b/ftplugin/gdb.vim new file mode 100644 index 00000000..abfa3208 --- /dev/null +++ b/ftplugin/gdb.vim @@ -0,0 +1,16 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'gdb') == -1 + +" Vim filetype plugin file +" Language: gdb +" Maintainer: Michaƫl Peeters <NOSPAMm.vim@noekeon.org> +" Last Changed: 26 Oct 2017 + +if exists("b:did_ftplugin") | finish | endif +let b:did_ftplugin = 1 + +setlocal commentstring=#%s + +" Undo the stuff we changed. +let b:undo_ftplugin = "setlocal cms<" + +endif |