You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,14 @@ Note that this command will be executed automatically every once in a while, ass
40
40
41
41
## Options
42
42
43
+
The easytags plug-in should work out of the box but if you don't like the default configuration you can change how it works by setting the variables documented below. Most of these variables can also be changed for specific files by setting a buffer local variable instead of the global variable. For example to disable automatic highlighting (enabled by default) only in Python files you can add the following line to your [vimrc script][vimrc]:
44
+
45
+
:autocmd FileType python let b:easytags_auto_highlight = 0
46
+
47
+
Note that buffer local variables always override global variables, so if you want to undo this for a specific file you have to use [:unlet][unlet]:
48
+
49
+
:unlet b:easytags_auto_highlight
50
+
43
51
### The `g:easytags_cmd` option
44
52
45
53
The plug-in will try to determine the location where Exuberant Ctags is installed on its own but this might not always work because any given executable named `ctags` in your `$PATH` might not in fact be Exuberant Ctags but some older, more primitive `ctags` implementation which doesn't support the same command line options and thus breaks the easytags plug-in. If this is the case you can set the global variable `g:easytags_cmd` to the location where you've installed Exuberant Ctags, e.g.:
@@ -102,20 +110,12 @@ By default the plug-in automatically updates and highlights your tags when you s
102
110
103
111
:let g:easytags_auto_update = 0
104
112
105
-
If you want to disable automatic updating for a single file you can execute the following command while editing the file:
106
-
107
-
:let b:easytags_auto_update = 0
108
-
109
113
### The `g:easytags_auto_highlight` option
110
114
111
115
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:
112
116
113
117
:let g:easytags_auto_highlight = 0
114
118
115
-
If you want to disable automatic highlighting for a single file you can execute the following command while editing the file:
116
-
117
-
:let b:easytags_auto_highlight = 0
118
-
119
119
### The `g:easytags_autorecurse` option
120
120
121
121
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):
0 commit comments