aboutsummaryrefslogtreecommitdiffstats
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* use indent.X syntax for captures and properties of set directivesGeorge Harker2023-03-241-29/+29
| | | | | | | | update CONTRIBUTING.md adjust indents for bass fix doc capture comment
* refactor(indent)!: Rework indent, aligned indentGeorge Harker2023-03-241-0/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | indents now use @indent.X style captures, and indent.PROP for properties to set on those captures, as documented in the help. Captures are: indent.auto indent.begin indent.end indent.dedent indent.branch indent.ignore indent.align indent.zero Properties are: indent.immediate indent.start_at_same_line indent.open_delimiter indent.close_delimiter indent.increment indent.avoid_last_matching_next Multiple opening delims on one line and multiple closing on a line are collapsed so as not to over indent, The final line of @indent.align blocks which must in some cases be treated specially to avoid clashing with the next line is treated the same regardless of whether the @indent.align capture actually uses aligned indentation or just normal indentation. The indent.avoid_last_matching_next property controls this. Adjust python to use these. List, set, dict and tuple all use @indent.align which permits both hanging and aligned styles. Finally, try: on it’s own will indent when typing live but make no guaranteeds about whole-file formatting. Includes lucario387:fix-align-indent
* docs: fix typoZhizhen He2023-03-211-4/+4
|
* use positive option "allow_duplicates" instead of negative "dedupe"Nat Williams2023-02-241-2/+2
|
* add statusline option to dedupe or notNat Williams2023-02-241-1/+3
|
* update docs for transform_fnNat Williams2023-02-241-2/+3
| | | | to reflect additional node argument
* properly replace deprecated tsutils functionsKiyoon Kim2023-02-121-5/+0
|
* feat!: remove obsolete `TS*` highlight groupsChristian Clason2022-10-161-301/+0
|
* Correct previously edited docs filelfenzo2022-08-031-1/+1
|
* Updated nvim-tresitter.txt doclfenzo2022-08-031-2/+10
|
* doc: fix typos (#3163)adrian52022-07-111-2/+2
|
* feat: add option to auto-install missing parsers (#3130)Jonas Strittmatter2022-07-081-0/+3
|
* Add support for custom parser install locations #2959 (#3031)Duncan McDougall2022-06-201-0/+7
|
* chore: deprecate ts_utils.get_node_textStephan Seitz2022-04-181-5/+0
|
* chore!: deprecate ensure_installed=maintainedChristian Clason2022-04-101-4/+4
| | | | | BREAKING CHANGE: specify explicit list or use `ensure_installed='all'` (not recommended)
* fix(modules): enabling disabling per buffer and globallykiyan2022-04-101-6/+6
| | | | | | | | | | | | | | When a module is disabled by default in the config, running TSBufEnable will not enable the module because the is_enabled function will always return false, thus the module not being enabled. Also, disabling/enabling the buffers is flaky. This commit adds per buffer check when the module is not disabled. It also makes the enable and disable more indempotent. i've also renamed TS*All to TS*. Fixes #2754
* Add capture groups for remaining builtin highlight groupsGregory Anders2022-03-301-0/+33
| | | | | Some builtin highlight groups (see `:h group-name`) do not yet have associated capture groups, so add them.
* refacto: expose a function to set custom capture for the higlighterkiyan2022-02-191-3/+10
| | | | | | | | | BREAKING: deprecate custom_captures from highlight config. This allows plugin authors to extend the map. It also avoids settings user configuration specific values during the highlighter initialization (SOC). Not sure how much value this brings, and might potentially break a lot of people configurations. This is questionable.
* chore: update init.vim refs to init.luakiyan2022-02-111-2/+2
|
* chore: remove lua heredocs in documentation and readmekiyan2022-02-111-14/+0
|
* docs: add missing vim table in the examplemonkoose2022-01-221-1/+1
|
* Make example config more easy to readSantos Gallegos2021-12-181-4/+20
| | | | Ref https://github.com/nvim-treesitter/nvim-treesitter/issues/2095#issuecomment-992759818
* Fix docspatrick962021-11-281-1/+1
|
* Completely remove condition from documentationpatrick962021-11-281-3/+0
|
* Make disable accept a functionpatrick962021-11-281-6/+19
| | | | Replaces the condition setting (though it does the exact inverse)
* Rename cond to conditionpatrick962021-11-281-4/+5
|
* Add documentation for cond settingpatrick962021-11-281-1/+8
| | | | Ref: #1994
* docs: move description to the first lineDundar Göc2021-11-051-3/+1
| | | | | | | | | | | This will make the description of nvim-treesitter show up in the LOCAL ADDITIONS section of the help text. So this |nvim-treesitter| instead becomes |nvim-treesitter| Treesitter configurations and abstraction layer for Neovim.
* chore: fix typosDundar Göc2021-11-021-2/+2
|
* docs: Update nvim-treesitter-highlightsSergio Alejandro Vargas2021-09-141-61/+67
| | | | | | | | | - Fix misspellings, missing punctuation and capitalization. - Clarify whether highlights apply to identifiers (e.g. `TSConstant`) or to literal values (e.g. `TSConstBuiltin`). - Extend examples. See #1767
* add @tag.attribute for html like attributeslmlorca2021-07-141-0/+4
|
* doc: be more explicit about additional_vim_regex_highlighting (#1561)Stephan Seitz2021-07-131-1/+3
|
* Highlights: define string.special (#1551)Santos Gallegos2021-07-111-0/+4
| | | | | | | | | | * Highlights: define string.special This was in our CONTRIBUTING.md file, but wasn't defined. Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/1405 * Use string.escape
* Folds: support 'foldminlines'Munif Tanjim2021-07-081-1/+1
|
* Docs: mention that indentation is still experimentalSantos Gallegos2021-07-051-1/+2
|
* Docs: document `additional_vim_regex_highlighting` optionSantos Gallegos2021-07-051-1/+6
|
* feat(keywords) merge return and yield into keyword.return groupantonk522021-07-041-5/+1
|
* feat(keywords) add keyword.return & keyword.yieldantonk522021-07-041-0/+8
|
* Re-introduce prompting for installationShane Hird2021-07-041-3/+3
|
* TSUpdate does not install if up to dateShane Hird2021-07-041-5/+16
|
* fix typo: Enviroment -> Environmentkmarius2021-06-221-4/+4
|
* docs: update nvim-treesitter-highlightsMunif Tanjim2021-04-241-5/+25
|
* docs: Update vimdoc fileThomas Vigouroux2021-04-221-105/+90
| | | | | Adds the new maintainers (that were actually added a long time ago), fix inconsistent formatting, and unneeded or old/wrong docs.
* feat: Add TSEditQueryUserAfterStephan Seitz2021-04-141-0/+7
|
* docs: Add documentation for :TSEditQueryStephan Seitz2021-04-141-0/+10
|
* TSModuleInfo: change docMarco Hinz2021-04-061-1/+10
|
* refactor(all): language tree adaption (#1105)Steven Sojka2021-03-301-3/+7
|
* feat(install): allow ignore list when installing parsers (#1098)Steven Sojka2021-03-241-0/+1
|
* Add comment parser to highlight comment tags (#893)Santos Gallegos2021-03-121-1/+18
| | | Closes #236
* [highlights] Add TSSymbol highlight groupDennis B2021-03-041-0/+4
| | | | | | | | | | | | | | Addresses issue #892 Ruby and Dart literal symbols will now be highlighted by the new TSSymbol highlight group, which itself will, by default, link to the Vim Identifier highlight group. Vim theme authors can then set their TSSymbol colors. Symbol highlighting can apply to a number of languages as noted in the following Wikipedia page: https://en.wikipedia.org/wiki/Symbol_(programming) Not just for Ruby and Dart.