diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2016-12-10 18:49:33 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2017-01-02 10:45:10 +0900 |
commit | 6ba3b8538245d1176b869734c76f2688709cf106 (patch) | |
tree | 493eea3f33884d6743f2f58b1b7a618bca4fd639 /runtime/doc/syntax.txt | |
parent | 0c43479979547ed84b2a898dcc7816767333cc80 (diff) | |
download | rneovim-6ba3b8538245d1176b869734c76f2688709cf106.tar.gz rneovim-6ba3b8538245d1176b869734c76f2688709cf106.tar.bz2 rneovim-6ba3b8538245d1176b869734c76f2688709cf106.zip |
vim-patch:6f1d9a
Updated runtime files.
https://github.com/vim/vim/commit/6f1d9a096bf22d50c727dca73abbfb8e3ff55176
Diffstat (limited to 'runtime/doc/syntax.txt')
-rw-r--r-- | runtime/doc/syntax.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 4886828c82..6194a636b3 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -1040,6 +1040,21 @@ This works immediately. CLOJURE *ft-clojure-syntax* +The default syntax groups can be augmented through the +*g:clojure_syntax_keywords* and *b:clojure_syntax_keywords* variables. The +value should be a |Dictionary| of syntax group names to a |List| of custom +identifiers: +> + let g:clojure_syntax_keywords = { + \ 'clojureMacro': ["defproject", "defcustom"], + \ 'clojureFunc': ["string/join", "string/replace"] + \ } +< +Refer to the Clojure syntax script for valid syntax group names. + +If the |buffer-variable| *b:clojure_syntax_without_core_keywords* is set, only +language constants and special forms are matched. + Setting *g:clojure_fold* enables folding Clojure code via the syntax engine. Any list, vector, or map that extends over more than one line can be folded using the standard Vim |fold-commands|. |