aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorPeter Odding <peter@peterodding.com>2011-10-29 17:32:33 +0200
committerPeter Odding <peter@peterodding.com>2011-10-29 17:32:33 +0200
commite3290ab006edf7c262a0bd117577043ce33435c6 (patch)
treea67768ae63c5b8005ca4d290e00ce3a7c26c208d /README.md
parent3d7e09100e74d84a94996447e79594d3911a4c9a (diff)
downloadvim-easytags-e3290ab006edf7c262a0bd117577043ce33435c6.tar.gz
Make list of ignored syntax groups configurable
While trying to fix issue #20 I decided to refactor the code that handles ignored syntax groups: Previously the list of excluded groups was hard coded in two places, now it's a configuration option. Then it turned out that including shFunction* in the list of excluded syntax groups didn't fix the reported issue...
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 036646c..a7b3d24 100644
--- a/README.md
+++ b/README.md
@@ -159,6 +159,10 @@ If this is set and not false, it will suppress the warning on startup if ctags i
:let g:easytags_suppress_ctags_warning = 1
+### The `g:easytags_ignored_syntax_groups` option
+
+This variable is a string of comma separated names of syntax groups in which dynamic highlighting is not applied. It defaults to `.*String.*,.*Comment.*,cIncluded`.
+
## Faster syntax highlighting using Python
The Vim script implementation of dynamic syntax highlighting is quite slow on large tags files. When the Python Interface to Vim is enabled the easytags plug-in will therefor automatically use a Python script that performs dynamic syntax highlighting about twice as fast as the Vim script implementation. The following options are available to change the default configuration.