diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-04-11 21:38:50 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-04-11 21:38:50 +0000 |
commit | 4c3f536f472c7443ed4f672ae6d35a28805d7641 (patch) | |
tree | 18d0d8df6d45ff21449a017068aea2ba0931bd57 /runtime/ftplugin | |
parent | 779b74b2a23643aaac026341a4ed8bd6e04371e6 (diff) | |
download | vim-git-4c3f536f472c7443ed4f672ae6d35a28805d7641.tar.gz |
updated for version 7.0d01v7.0d01
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 |