diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-04-05 22:26:15 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-04-05 22:26:15 +0200 |
commit | bf88493c0979d88279930b5330f667d0bd6b651e (patch) | |
tree | c2caaa5b8b04581ab92d8ba8b8f1738bee5de973 /runtime/ftplugin | |
parent | 68879258d98853deb928a8ce93b497d39ce65296 (diff) | |
download | vim-git-bf88493c0979d88279930b5330f667d0bd6b651e.tar.gz |
Updated runtime files.
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r-- | runtime/ftplugin/aap.vim | 4 | ||||
-rw-r--r-- | runtime/ftplugin/abap.vim | 29 | ||||
-rw-r--r-- | runtime/ftplugin/ada.vim | 4 |
3 files changed, 33 insertions, 4 deletions
diff --git a/runtime/ftplugin/aap.vim b/runtime/ftplugin/aap.vim index 90d404fa6..9b20ec476 100644 --- a/runtime/ftplugin/aap.vim +++ b/runtime/ftplugin/aap.vim @@ -1,7 +1,7 @@ " Vim filetype plugin file " Language: Aap recipe " Maintainer: Bram Moolenaar <Bram@vim.org> -" Last Change: 2003 Nov 04 +" Last Change: 2013 Apr 05 " Only do this when not done yet for this buffer if exists("b:did_ftplugin") @@ -19,7 +19,7 @@ let b:undo_ftplugin = "setl fo< com< et<" setlocal fo-=t fo+=croql " Set 'comments' to format dashed lists in comments. -setlocal comments=s:#\ -,m:#\ \,e:#,n:#,fb:- +setlocal comments=s:#\ -,m:#\ \ ,e:#,n:#,fb:- " Expand tabs to spaces to avoid trouble. setlocal expandtab diff --git a/runtime/ftplugin/abap.vim b/runtime/ftplugin/abap.vim new file mode 100644 index 000000000..956b002ec --- /dev/null +++ b/runtime/ftplugin/abap.vim @@ -0,0 +1,29 @@ +" Vim filetype plugin file +" Language: ABAP +" Author: Steven Oliver <oliver.steven@gmail.com> +" Copyright: Copyright (c) 2013 Steven Oliver +" License: You may redistribute this under the same terms as Vim itself +" -------------------------------------------------------------------------- + +" Only do this when not done yet for this buffer +if (exists("b:did_ftplugin")) + finish +endif +let b:did_ftplugin = 1 + +let s:cpo_save = &cpo +set cpo&vim + +setlocal softtabstop=2 shiftwidth=2 +setlocal suffixesadd=.abap + +" Windows allows you to filter the open file dialog +if has("gui_win32") && !exists("b:browsefilter") + let b:browsefilter = "ABAP Source Files (*.abap)\t*.abap\n" . + \ "All Files (*.*)\t*.*\n" +endif + +let &cpo = s:cpo_save +unlet s:cpo_save + +" vim: set sw=4 sts=4 et tw=80 : diff --git a/runtime/ftplugin/ada.vim b/runtime/ftplugin/ada.vim index 091181fd9..0809e7b20 100644 --- a/runtime/ftplugin/ada.vim +++ b/runtime/ftplugin/ada.vim @@ -7,7 +7,7 @@ " Neil Bird <neil@fnxweb.com> " $Author: krischik $ " $Date: 2008-07-08 16:29:01 +0200 (Di, 08 Jul 2008) $ -" Version: 4.6 +" Version: 4.6 with patch from David Bürgin " $Revision: 887 $ " $HeadURL: https://gnuada.svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/ftplugin/ada.vim $ " History: 24.05.2006 MK Unified Headers @@ -42,7 +42,7 @@ set cpoptions-=C " Section: Comments {{{1 " -setlocal comments=O:--,:--\ \ +setlocal comments=O:--,:--\ \ setlocal commentstring=--\ \ %s setlocal complete=.,w,b,u,t,i |