diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-03-28 20:58:01 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-03-28 20:58:01 +0000 |
commit | 582fd85b02e50b2aba025ff522c04a2293a45985 (patch) | |
tree | 3b721443d775ab6903fd8ff758f432046ee6b3cc /runtime/ftplugin | |
parent | 8b879e7fe8d02b59df4c39442c53b37ccd38b50c (diff) | |
download | vim-git-582fd85b02e50b2aba025ff522c04a2293a45985.tar.gz |
updated for version 7.0065
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r-- | runtime/ftplugin/c.vim | 8 | ||||
-rw-r--r-- | runtime/ftplugin/changelog.vim | 4 | ||||
-rw-r--r-- | runtime/ftplugin/cs.vim | 2 | ||||
-rw-r--r-- | runtime/ftplugin/ishd.vim | 2 | ||||
-rw-r--r-- | runtime/ftplugin/lisp.vim | 4 | ||||
-rw-r--r-- | runtime/ftplugin/rpl.vim | 4 | ||||
-rw-r--r-- | runtime/ftplugin/vb.vim | 2 |
7 files changed, 6 insertions, 20 deletions
diff --git a/runtime/ftplugin/c.vim b/runtime/ftplugin/c.vim index cf6686c72..39ba8232e 100644 --- a/runtime/ftplugin/c.vim +++ b/runtime/ftplugin/c.vim @@ -1,7 +1,7 @@ " Vim filetype plugin file " Language: C " Maintainer: Bram Moolenaar <Bram@vim.org> -" Last Change: 2004 Sep 01 +" Last Change: 2005 Mar 27 " Only do this when not done yet for this buffer if exists("b:did_ftplugin") @@ -11,12 +11,10 @@ endif " Don't load another plugin for this buffer let b:did_ftplugin = 1 +" Using line continuation here. set cpo-=C -let b:undo_ftplugin = "setl cin< fo< com<" - \ . "| if has('vms') | setl isk< | endif" - -setlocal cindent +let b:undo_ftplugin = "setl fo< com< | if has('vms') | setl isk< | endif" " Set 'formatoptions' to break comment lines but not other lines, " and insert the comment leader when hitting <CR> or using "o". diff --git a/runtime/ftplugin/changelog.vim b/runtime/ftplugin/changelog.vim index 47d58ccb9..847cca7e8 100644 --- a/runtime/ftplugin/changelog.vim +++ b/runtime/ftplugin/changelog.vim @@ -216,7 +216,7 @@ if &filetype == "changelog" command! -nargs=0 NewChangelogEntry call s:new_changelog_entry() endif - let b:undo_ftplugin = "setl com< tw< fo< et< ai<" + let b:undo_ftplugin = "setl com< tw< fo< et<" if &textwidth == 0 setlocal textwidth=78 @@ -224,7 +224,7 @@ if &filetype == "changelog" setlocal comments= setlocal formatoptions+=t setlocal noexpandtab - setlocal autoindent + " setlocal autoindent now in indent file let &cpo = cpo_save else diff --git a/runtime/ftplugin/cs.vim b/runtime/ftplugin/cs.vim index 7f45098a4..0ff3c9d56 100644 --- a/runtime/ftplugin/cs.vim +++ b/runtime/ftplugin/cs.vim @@ -11,8 +11,6 @@ endif " Don't load another plugin for this buffer let b:did_ftplugin = 1 -setlocal cindent - " Set 'formatoptions' to break comment lines but not other lines, " and insert the comment leader when hitting <CR> or using "o". setlocal fo-=t fo+=croql diff --git a/runtime/ftplugin/ishd.vim b/runtime/ftplugin/ishd.vim index 63e1a747e..dedb32889 100644 --- a/runtime/ftplugin/ishd.vim +++ b/runtime/ftplugin/ishd.vim @@ -6,8 +6,6 @@ if exists("b:did_ftplugin") | finish | endif let b:did_ftplugin = 1 -setlocal nocindent -setlocal autoindent setlocal foldmethod=syntax set cpo-=C diff --git a/runtime/ftplugin/lisp.vim b/runtime/ftplugin/lisp.vim index 948283334..b47721402 100644 --- a/runtime/ftplugin/lisp.vim +++ b/runtime/ftplugin/lisp.vim @@ -14,7 +14,6 @@ endif " Don't load another plugin for this buffer let b:did_ftplugin = 1 -setl autoindent setl comments=:; setl define=^\\s*(def\\k* setl formatoptions-=t @@ -25,6 +24,3 @@ setl lisp " e.g. insertion of ;;; and ;; on normal "O" or "o" when staying in comment setl comments^=:;;;,:;;,sr:#\|,mb:\|,ex:\|# setl formatoptions+=croql -" with smartindent # cause left alignment -setl nosmartindent - diff --git a/runtime/ftplugin/rpl.vim b/runtime/ftplugin/rpl.vim index 2b26ef1fa..5ddf2c1a0 100644 --- a/runtime/ftplugin/rpl.vim +++ b/runtime/ftplugin/rpl.vim @@ -1,7 +1,7 @@ " Vim filetype plugin file " Language: RPL/2 " Maintainer: Joël BERTRAND <rpl2@free.fr> -" Last Change: 2002 Feb 07 +" Last Change: 2005 Mar 28 " Version: 0.1 " Only do this when not done yet for this buffer @@ -12,8 +12,6 @@ endif " Don't load another plugin for this buffer let b:did_ftplugin = 1 -setlocal autoindent - " Set 'formatoptions' to break comment lines but not other lines, " and insert the comment leader when hitting <CR> or using "o". setlocal fo-=t fo+=croql diff --git a/runtime/ftplugin/vb.vim b/runtime/ftplugin/vb.vim index bb4c23a2c..d70db8927 100644 --- a/runtime/ftplugin/vb.vim +++ b/runtime/ftplugin/vb.vim @@ -6,8 +6,6 @@ if exists("b:did_ftplugin") | finish | endif let b:did_ftplugin = 1 -setlocal nocindent -setlocal autoindent setlocal com=sr:'\ -,mb:'\ \ ,el:'\ \ ,:' " we need this wrapper, as call doesn't allow a count |