aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/lisp.vim
diff options
context:
space:
mode:
authorJustin Gassner <justin.gassner@web.de>2016-01-10 12:42:45 +0100
committerJustin Gassner <justin.gassner@web.de>2016-01-10 12:47:35 +0100
commit6bed244488f70a607033a2a5cb47604e95847881 (patch)
treedafe68149daaf12dc362f6b1e9d0abca67f02509 /runtime/syntax/lisp.vim
parent57cfb95758d8a7a86c7f7751373ad0b5b1ce09f8 (diff)
downloadrneovim-6bed244488f70a607033a2a5cb47604e95847881.tar.gz
rneovim-6bed244488f70a607033a2a5cb47604e95847881.tar.bz2
rneovim-6bed244488f70a607033a2a5cb47604e95847881.zip
vim-patch:e271909
Updated syntax files. https://github.com/vim/vim/commit/e2719096250a19ecdd9a35d13702879f163d2a50
Diffstat (limited to 'runtime/syntax/lisp.vim')
-rw-r--r--runtime/syntax/lisp.vim25
1 files changed, 10 insertions, 15 deletions
diff --git a/runtime/syntax/lisp.vim b/runtime/syntax/lisp.vim
index 74ec20bb4e..2528f4f9b1 100644
--- a/runtime/syntax/lisp.vim
+++ b/runtime/syntax/lisp.vim
@@ -1,28 +1,23 @@
" Vim syntax file
" Language: Lisp
-" Maintainer: Dr. Charles E. Campbell, Jr. <NdrOchipS@PcampbellAfamily.Mbiz>
-" Last Change: Nov 16, 2010
-" Version: 22
-" URL: http://mysite.verizon.net/astronaut/vim/index.html#vimlinks_syntax
+" Maintainer: Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz>
+" Last Change: Oct 06, 2014
+" Version: 23
+" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_LISP
"
-" Thanks to F Xavier Noria for a list of 978 Common Lisp symbols
-" taken from the HyperSpec
+" Thanks to F Xavier Noria for a list of 978 Common Lisp symbols taken from HyperSpec
" Clisp additions courtesy of http://clisp.cvs.sourceforge.net/*checkout*/clisp/clisp/emacs/lisp.vim
" ---------------------------------------------------------------------
" Load Once: {{{1
-" For vim-version 5.x: Clear all syntax items
-" For vim-version 6.x: Quit when a syntax file was already loaded
-if version < 600
- syntax clear
-elseif exists("b:current_syntax")
- finish
+if exists("b:current_syntax")
+ finish
endif
-if version >= 600
- setlocal iskeyword=38,42,43,45,47-58,60-62,64-90,97-122,_
+if exists("g:lisp_isk")
+ exe "setl isk=".g:lisp_isk
else
- set iskeyword=38,42,43,45,47-58,60-62,64-90,97-122,_
+ setl isk=38,42,43,45,47-58,60-62,64-90,97-122,_
endif
if exists("g:lispsyntax_ignorecase") || exists("g:lispsyntax_clisp")