comparison runtime/syntax/lisp.vim @ 6479:b3bc99b909c3

Updated syntax files.
author Bram Moolenaar <bram@vim.org>
date Sat, 10 Jan 2015 15:09:25 +0100
parents 916c90b37ea9
children 41768bcebc9b
comparison
equal deleted inserted replaced
6478:e9538738fd8c 6479:b3bc99b909c3
1 " Vim syntax file 1 " Vim syntax file
2 " Language: Lisp 2 " Language: Lisp
3 " Maintainer: Dr. Charles E. Campbell, Jr. <NdrOchipS@PcampbellAfamily.Mbiz> 3 " Maintainer: Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz>
4 " Last Change: Nov 16, 2010 4 " Last Change: Oct 06, 2014
5 " Version: 22 5 " Version: 23
6 " URL: http://mysite.verizon.net/astronaut/vim/index.html#vimlinks_syntax 6 " URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_LISP
7 " 7 "
8 " Thanks to F Xavier Noria for a list of 978 Common Lisp symbols 8 " Thanks to F Xavier Noria for a list of 978 Common Lisp symbols taken from HyperSpec
9 " taken from the HyperSpec
10 " Clisp additions courtesy of http://clisp.cvs.sourceforge.net/*checkout*/clisp/clisp/emacs/lisp.vim 9 " Clisp additions courtesy of http://clisp.cvs.sourceforge.net/*checkout*/clisp/clisp/emacs/lisp.vim
11 10
12 " --------------------------------------------------------------------- 11 " ---------------------------------------------------------------------
13 " Load Once: {{{1 12 " Load Once: {{{1
14 " For vim-version 5.x: Clear all syntax items 13 if exists("b:current_syntax")
15 " For vim-version 6.x: Quit when a syntax file was already loaded 14 finish
16 if version < 600 15 endif
17 syntax clear 16
18 elseif exists("b:current_syntax") 17 if exists("g:lisp_isk")
19 finish 18 exe "setl isk=".g:lisp_isk
20 endif
21
22 if version >= 600
23 setlocal iskeyword=38,42,43,45,47-58,60-62,64-90,97-122,_
24 else 19 else
25 set iskeyword=38,42,43,45,47-58,60-62,64-90,97-122,_ 20 setl isk=38,42,43,45,47-58,60-62,64-90,97-122,_
26 endif 21 endif
27 22
28 if exists("g:lispsyntax_ignorecase") || exists("g:lispsyntax_clisp") 23 if exists("g:lispsyntax_ignorecase") || exists("g:lispsyntax_clisp")
29 set ignorecase 24 set ignorecase
30 endif 25 endif