Mercurial > vim-gutentags
comparison doc/gutentags.txt @ 141:7bc4df0225d1
Add support for specifying buffer-specific tagfiles.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Thu, 22 Sep 2016 22:14:17 -0700 |
parents | 95092f4fbc4b |
children | 513bcd0a1f90 |
comparison
equal
deleted
inserted
replaced
140:95092f4fbc4b | 141:7bc4df0225d1 |
---|---|
385 points to a file inside the project. However, this is | 385 points to a file inside the project. However, this is |
386 maybe not what you want if the symlink itself is | 386 maybe not what you want if the symlink itself is |
387 part of the project. | 387 part of the project. |
388 Defaults to 0. | 388 Defaults to 0. |
389 | 389 |
390 *gutentags_enabled_user_func* | 390 *gutentags_init_user_func* |
391 g:gutentags_enabled_user_func | 391 g:gutentags_init_user_func |
392 When set to a non-empty string, it is expected to be | 392 When set to a non-empty string, it is expected to be |
393 the name of a function that will be called when a file | 393 the name of a function that will be called when a file |
394 is opened in a project. The function gets passed the | 394 is opened in a project. The function gets passed the |
395 path of the file and if it returns 0, Gutentags won't | 395 path of the file and if it returns 0, Gutentags won't |
396 be enabled for that file. | 396 be enabled for that file. |
397 You can use this also to manually set `b:gutentags_root` | 397 |
398 (see |gutentags_project_root|). | 398 You can use this to manually set buffer-local |
399 settings: | |
400 | |
401 * `b:gutentags_tagfile` (see |gutentags_tagfile|). | |
402 | |
403 This setting was previously called | |
404 `gutentags_enabled_user_func`. The old setting is | |
405 still used as a fallback. | |
406 | |
399 Defaults to "". | 407 Defaults to "". |
400 | 408 |
401 *gutentags_define_advanced_commands* | 409 *gutentags_define_advanced_commands* |
402 g:gutentags_define_advanced_commands | 410 g:gutentags_define_advanced_commands |
403 Defines some advanced commands like | 411 Defines some advanced commands like |