aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorPeter Odding <peter@peterodding.com>2011-06-26 22:41:02 +0200
committerPeter Odding <peter@peterodding.com>2011-06-26 22:41:02 +0200
commit67616b25971ff0f4d785d67592128909ef5a5e49 (patch)
tree89c09ffa389c583a03f0f238e9a3b2dc6cda0fdc /README.md
parent4cf1efd96f9788e3221234cf14fa9e3ac89cedb9 (diff)
downloadvim-easytags-67616b25971ff0f4d785d67592128909ef5a5e49.tar.gz
Add easytags_auto_update/auto_highlight options
Diffstat (limited to 'README.md')
-rw-r--r--README.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/README.md b/README.md
index 870c928..32538b4 100644
--- a/README.md
+++ b/README.md
@@ -96,6 +96,26 @@ As I explained above the plug-in by default doesn't update or highlight your tag
Note: Like the `g:easytags_always_enabled` option, if you change this option it won't apply until you restart Vim, so you'll have to set this option in your [vimrc script][vimrc].
+### The `g:easytags_auto_update` option
+
+By default the plug-in automatically updates and highlights your tags when you stop typing for a moment. If you want to disable automatic updating while keeping automatic highlighting enabled you can set this option to false:
+
+ :let g:easytags_auto_update = 0
+
+If you want to disable automatic updating for a single file you can execute the following command while editing the file:
+
+ :let b:easytags_auto_update = 0
+
+### The `g:easytags_auto_highlight` option
+
+By default the plug-in automatically updates and highlights your tags when you stop typing for a moment. If you want to disable automatic highlighting while keeping automatic updating enabled you can set this option to false:
+
+ :let g:easytags_auto_highlight = 0
+
+If you want to disable automatic highlighting for a single file you can execute the following command while editing the file:
+
+ :let b:easytags_auto_highlight = 0
+
### The `g:easytags_autorecurse` option
When the `:UpdateTags` command is executed automatically or without arguments, it defaults to updating just the tags for the current file. If you'd rather have it recursively scan everything below the directory of the current file then set this option to true (1):