Mercurial > vim
comparison runtime/syntax/lisp.vim @ 26148:624439a39432
Update runtime files
Commit: https://github.com/vim/vim/commit/519cc559b08b800edc429688aece7ad6a00d41eb
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Nov 16 19:18:26 2021 +0000
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 16 Nov 2021 20:30:04 +0100 |
parents | 8edf0aeb71b9 |
children | 02bd0fe77c68 |
comparison
equal
deleted
inserted
replaced
26147:cf4170238232 | 26148:624439a39432 |
---|---|
1 " Vim syntax file | 1 " Vim syntax file |
2 " Language: Lisp | 2 " Language: Lisp |
3 " Maintainer: Charles E. Campbell <NcampObell@SdrPchip.AorgM-NOSPAM> | 3 " Maintainer: Charles E. Campbell <NcampObell@SdrPchip.AorgM-NOSPAM> |
4 " Last Change: Jul 11, 2019 | 4 " Last Change: Nov 10, 2021 |
5 " Version: 30 | 5 " Version: 31 |
6 " URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_LISP | 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 taken from HyperSpec | 8 " Thanks to F Xavier Noria for a list of 978 Common Lisp symbols taken from HyperSpec |
9 " 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 |
10 | 10 |
52 syn region lispParen6 contained matchgroup=hlLevel6 start="`\=(" end=")" skip="|.\{-}|" contains=@lispListCluster,lispParen7 | 52 syn region lispParen6 contained matchgroup=hlLevel6 start="`\=(" end=")" skip="|.\{-}|" contains=@lispListCluster,lispParen7 |
53 syn region lispParen7 contained matchgroup=hlLevel7 start="`\=(" end=")" skip="|.\{-}|" contains=@lispListCluster,lispParen8 | 53 syn region lispParen7 contained matchgroup=hlLevel7 start="`\=(" end=")" skip="|.\{-}|" contains=@lispListCluster,lispParen8 |
54 syn region lispParen8 contained matchgroup=hlLevel8 start="`\=(" end=")" skip="|.\{-}|" contains=@lispListCluster,lispParen9 | 54 syn region lispParen8 contained matchgroup=hlLevel8 start="`\=(" end=")" skip="|.\{-}|" contains=@lispListCluster,lispParen9 |
55 syn region lispParen9 contained matchgroup=hlLevel9 start="`\=(" end=")" skip="|.\{-}|" contains=@lispListCluster,lispParen0 | 55 syn region lispParen9 contained matchgroup=hlLevel9 start="`\=(" end=")" skip="|.\{-}|" contains=@lispListCluster,lispParen0 |
56 else | 56 else |
57 syn region lispList matchgroup=lispParen start="(" skip="|.\{-}|" matchgroup=lispParen end=")" contains=@lispListCluster | 57 syn region lispList matchgroup=lispParen start="(" skip="|.\{-}|" matchgroup=lispParen end=")" contains=@lispListCluster |
58 syn region lispBQList matchgroup=PreProc start="`(" skip="|.\{-}|" matchgroup=PreProc end=")" contains=@lispListCluster | 58 syn region lispBQList matchgroup=PreProc start="`(" skip="|.\{-}|" matchgroup=PreProc end=")" contains=@lispListCluster |
59 endif | 59 endif |
60 | 60 |
61 " --------------------------------------------------------------------- | 61 " --------------------------------------------------------------------- |
62 " Atoms: {{{1 | 62 " Atoms: {{{1 |
63 syn match lispAtomMark "'" | 63 syn match lispAtomMark "'" |
64 syn match lispAtom "'("me=e-1 contains=lispAtomMark nextgroup=lispAtomList | 64 syn match lispAtom "'("me=e-1 contains=lispAtomMark nextgroup=lispAtomList |
65 syn match lispAtom "'[^ \t()]\+" contains=lispAtomMark | 65 syn match lispAtom "'[^ \t()]\+" contains=lispAtomMark |
66 syn match lispAtomBarSymbol !'|..\{-}|! contains=lispAtomMark | 66 syn match lispAtomBarSymbol !'|..\{-}|! contains=lispAtomMark |
67 syn region lispAtom start=+'"+ skip=+\\"+ end=+"+ | 67 syn region lispAtom start=+'"+ skip=+\\"+ end=+"+ |
68 syn region lispAtomList contained matchgroup=Special start="(" skip="|.\{-}|" matchgroup=Special end=")" contains=@lispAtomCluster,lispString,lispEscapeSpecial | 68 syn region lispAtomList contained matchgroup=Special start="(" skip="|.\{-}|" matchgroup=Special end=")" contains=@lispAtomCluster,lispString,lispEscapeSpecial |
69 syn match lispAtomNmbr contained "\<\d\+" | 69 syn match lispAtomNmbr contained "\<\d\+" |
70 syn match lispLeadWhite contained "^\s\+" | 70 syn match lispLeadWhite contained "^\s\+" |
71 | 71 |
72 " --------------------------------------------------------------------- | 72 " --------------------------------------------------------------------- |
73 " Standard Lisp Functions and Macros: {{{1 | 73 " Standard Lisp Functions and Macros: {{{1 |
74 syn keyword lispFunc < find-method pprint-indent | 74 syn keyword lispFunc < find-method pprint-indent |
75 syn keyword lispFunc <= find-package pprint-linear | 75 syn keyword lispFunc <= find-package pprint-linear |
551 " --------------------------------------------------------------------- | 551 " --------------------------------------------------------------------- |
552 " Comments: {{{1 | 552 " Comments: {{{1 |
553 syn cluster lispCommentGroup contains=lispTodo,@Spell | 553 syn cluster lispCommentGroup contains=lispTodo,@Spell |
554 syn match lispComment ";.*$" contains=@lispCommentGroup | 554 syn match lispComment ";.*$" contains=@lispCommentGroup |
555 syn region lispCommentRegion start="#|" end="|#" contains=lispCommentRegion,@lispCommentGroup | 555 syn region lispCommentRegion start="#|" end="|#" contains=lispCommentRegion,@lispCommentGroup |
556 syn region lispComment start="#+nil" end="\ze)" contains=@lispCommentGroup | |
557 syn match lispComment '^\s*#+nil.*$' contains=@lispCommentGroup | |
556 syn keyword lispTodo contained combak combak: todo todo: | 558 syn keyword lispTodo contained combak combak: todo todo: |
557 | 559 |
558 " --------------------------------------------------------------------- | 560 " --------------------------------------------------------------------- |
559 " Synchronization: {{{1 | 561 " Synchronization: {{{1 |
560 syn sync lines=100 | 562 syn sync lines=100 |