summaryrefslogtreecommitdiff
path: root/runtime/ftplugin
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-11-03 21:14:31 +0100
committerBram Moolenaar <Bram@vim.org>2013-11-03 21:14:31 +0100
commitd5d015d4570eabc9a2da620cce906617e72ac625 (patch)
treec6b0ad205f8155241b2d0e38918258fe1237eaeb /runtime/ftplugin
parent18e5469b6e73dfbd85ac9831224cd4ec29cbe308 (diff)
downloadvim-d5d015d4570eabc9a2da620cce906617e72ac625.zip
Update runtime files.
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r--runtime/ftplugin/j.vim7
-rw-r--r--runtime/ftplugin/lisp.vim5
-rw-r--r--runtime/ftplugin/scheme.vim5
3 files changed, 6 insertions, 11 deletions
diff --git a/runtime/ftplugin/j.vim b/runtime/ftplugin/j.vim
index 8e3bc67ed..4680e7e35 100644
--- a/runtime/ftplugin/j.vim
+++ b/runtime/ftplugin/j.vim
@@ -1,7 +1,7 @@
" Vim filetype plugin
" Language: J
" Maintainer: David Bürgin <676c7473@gmail.com>
-" Last Change: 2013-09-21
+" Last Change: 2013-10-06
if exists("b:did_ftplugin")
finish
@@ -11,7 +11,8 @@ let b:did_ftplugin = 1
setlocal iskeyword=48-57,65-90,_,97-122
setlocal comments=:NB.
setlocal commentstring=NB.\ %s
-setlocal formatoptions-=t formatoptions+=croql
+setlocal formatoptions-=t
setlocal shiftwidth=2 softtabstop=2 expandtab
+setlocal matchpairs=(:)
-let b:undo_ftplugin = "setl et< sts< sw< fo< cms< com< isk<"
+let b:undo_ftplugin = "setl mps< et< sts< sw< fo< cms< com< isk<"
diff --git a/runtime/ftplugin/lisp.vim b/runtime/ftplugin/lisp.vim
index 8bf6ae411..130f30b14 100644
--- a/runtime/ftplugin/lisp.vim
+++ b/runtime/ftplugin/lisp.vim
@@ -4,7 +4,7 @@
" URL: http://sites.google.com/site/khorser/opensource/vim
" Original author: Dorai Sitaram <ds26@gte.com>
" Original URL: http://www.ccs.neu.edu/~dorai/vimplugins/vimplugins.html
-" Last Change: Feb 12, 2013
+" Last Change: Oct 23, 2013
" Only do this when not done yet for this buffer
if exists("b:did_ftplugin")
@@ -21,9 +21,6 @@ setl iskeyword+=+,-,*,/,%,<,=,>,:,$,?,!,@-@,94
setl lisp
setl commentstring=;%s
-" make comments behaviour like in c.vim
-" e.g. insertion of ;;; and ;; on normal "O" or "o" when staying in comment
setl comments^=:;;;,:;;,sr:#\|,mb:\|,ex:\|#
-setl formatoptions+=croql
let b:undo_ftplugin = "setlocal comments< define< formatoptions< iskeyword< lisp< commentstring<"
diff --git a/runtime/ftplugin/scheme.vim b/runtime/ftplugin/scheme.vim
index 7f3f63720..ab1543a5e 100644
--- a/runtime/ftplugin/scheme.vim
+++ b/runtime/ftplugin/scheme.vim
@@ -4,7 +4,7 @@
" URL: http://sites.google.com/site/khorser/opensource/vim
" Original author: Dorai Sitaram <ds26@gte.com>
" Original URL: http://www.ccs.neu.edu/~dorai/vimplugins/vimplugins.html
-" Last Change: Feb 12, 2013
+" Last Change: Oct 23, 2013
" Only do this when not done yet for this buffer
if exists("b:did_ftplugin")
@@ -22,10 +22,7 @@ setl iskeyword+=+,-,*,/,%,<,=,>,:,$,?,!,@-@,94
setl lisp
setl commentstring=;%s
-" make comments behaviour like in c.vim
-" e.g. insertion of ;;; and ;; on normal "O" or "o" when staying in comment
setl comments^=:;;;,:;;,sr:#\|,mb:\|,ex:\|#
-setl formatoptions+=croql
" Scheme-specific settings
if exists("b:is_mzscheme") || exists("is_mzscheme")