From e3290ab006edf7c262a0bd117577043ce33435c6 Mon Sep 17 00:00:00 2001 From: Peter Odding Date: Sat, 29 Oct 2011 17:32:33 +0200 Subject: 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... --- README.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'README.md') 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. -- cgit v1.2.3