Mercurial > vim
comparison runtime/doc/syntax.txt @ 9644:9f7bcc2c3b97
commit https://github.com/vim/vim/commit/6f1d9a096bf22d50c727dca73abbfb8e3ff55176
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 24 14:12:38 2016 +0200
Updated runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 24 Jul 2016 14:15:06 +0200 |
parents | ecb621205ed1 |
children | 9eaf8ef656e9 |
comparison
equal
deleted
inserted
replaced
9643:5aee77e6b395 | 9644:9f7bcc2c3b97 |
---|---|
1040 :hi link ChangelogError NONE | 1040 :hi link ChangelogError NONE |
1041 This works immediately. | 1041 This works immediately. |
1042 | 1042 |
1043 | 1043 |
1044 CLOJURE *ft-clojure-syntax* | 1044 CLOJURE *ft-clojure-syntax* |
1045 | |
1046 The default syntax groups can be augmented through the | |
1047 *g:clojure_syntax_keywords* and *b:clojure_syntax_keywords* variables. The | |
1048 value should be a |Dictionary| of syntax group names to a |List| of custom | |
1049 identifiers: | |
1050 > | |
1051 let g:clojure_syntax_keywords = { | |
1052 \ 'clojureMacro': ["defproject", "defcustom"], | |
1053 \ 'clojureFunc': ["string/join", "string/replace"] | |
1054 \ } | |
1055 < | |
1056 Refer to the Clojure syntax script for valid syntax group names. | |
1057 | |
1058 If the |buffer-variable| *b:clojure_syntax_without_core_keywords* is set, only | |
1059 language constants and special forms are matched. | |
1045 | 1060 |
1046 Setting *g:clojure_fold* enables folding Clojure code via the syntax engine. | 1061 Setting *g:clojure_fold* enables folding Clojure code via the syntax engine. |
1047 Any list, vector, or map that extends over more than one line can be folded | 1062 Any list, vector, or map that extends over more than one line can be folded |
1048 using the standard Vim |fold-commands|. | 1063 using the standard Vim |fold-commands|. |
1049 | 1064 |