diff options
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r-- | runtime/ftplugin/kconfig.vim | 14 | ||||
-rw-r--r-- | runtime/ftplugin/ocaml.vim | 11 |
2 files changed, 20 insertions, 5 deletions
diff --git a/runtime/ftplugin/kconfig.vim b/runtime/ftplugin/kconfig.vim new file mode 100644 index 000000000..ca1a56b8e --- /dev/null +++ b/runtime/ftplugin/kconfig.vim @@ -0,0 +1,14 @@ +" Vim filetype plugin file +" Maintainer: Nikolai Weibull <now@bitwi.se> +" Latest Revision: 2006-04-10 + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +let b:undo_ftplugin = "setl com< cms< fo<" + +setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql + + diff --git a/runtime/ftplugin/ocaml.vim b/runtime/ftplugin/ocaml.vim index 6f2b17cb7..0b9819a9b 100644 --- a/runtime/ftplugin/ocaml.vim +++ b/runtime/ftplugin/ocaml.vim @@ -4,11 +4,12 @@ " Markus Mottl <markus.mottl@gmail.com> " Stefano Zacchiroli <zack@bononia.it> " URL: http://www.ocaml.info/vim/ftplugin/ocaml.vim -" Last Change: 2006 Feb 05 +" Last Change: 2006 Apr 11 - Fixed an initialization bug; fixed ASS abbrev (MM) +" 2005 Oct 13 - removed GPL; better matchit support (MM, SZ) " -" if exists("b:did_ftplugin") -" finish -" endif +if exists("b:did_ftplugin") + finish +endif let b:did_ftplugin=1 " Error handling -- helps moving where the compiler wants you to go @@ -44,7 +45,7 @@ if !exists("no_plugin_maps") && !exists("no_ocaml_maps") vnoremap <buffer> <Plug>BUncomOff <ESC>:'<,'><CR>`<dd`>dd`< if !hasmapto('<Plug>Abbrev') - iabbrev <buffer> ASS (assert false (* XXX *)) + iabbrev <buffer> ASS (assert (0=1) (* XXX *)) endif endif |