aboutsummaryrefslogtreecommitdiffstats
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* docs: document setting foldmethod alongside foldexpr (#8187)Gabriel Holodak2025-12-021-0/+1
|
* docs(readme): remove wiki linkChristian Clason2025-10-171-1/+1
|
* fix(install): don't print operation summary by defaultChristian Clason2025-05-291-2/+18
| | | | | | | Problem: People complain about noisy `install()`. Solution: Gate operation summary behind `summary` install option (default false, set to true for interactive `:TS*` commands).
* feat(api): expose list of available and installed languagesChristian Clason2025-05-291-3/+18
|
* fix(config): prepend install_dir to rtpChristian Clason2025-05-251-1/+1
|
* feat(install)!: migrate to latest async.nvim impl (#7856)Lewis Russell2025-05-161-20/+9
| | | | Provides significantly simpler blocking installation and update.
* feat(config)!: remove `ignore_install`Christian Clason2025-05-161-6/+0
| | | | This was only useful for no longer supported `auto_install` option.
* docs: update to rewriteChristian Clason2025-05-121-125/+108
| | | | | | | | | | | This updates * README * CONTRIBUTING * the `:h nvim-treesitter` documentation to the current state of `main`. It also adds a pull request template for adding a new language.
* feat(setup)!: remove ensure_install fieldChristian Clason2025-05-121-20/+10
| | | | | | | | Instead, call `require('nvim-treesitter').install( { ... } )` manually. This gives users full control over how they want to install parsers (sync, from grammar, limited concurrency) and obviates the need for calling `setup` for most users.
* feat(parsers): rework tiersChristian Clason2025-05-121-3/+3
| | | | | | | * stable: updates follow semver releases (todo) * unstable: updates follow HEAD (default) * unmaintained: no automatic updates * unsupported: no updates, cannot be installed
* feat(config)!: remove auto_installChristian Clason2025-05-121-3/+0
| | | | use https://github.com/lewis6991/ts-install.nvim instead
* feat!: track parser revision in LuaChristian Clason2025-05-121-1/+1
| | | | | | | | | | | Problem: Tracking parser revision in lockfile and allowing override through the parsers module complicates the code. In addition, only revision changes are handled robustly, not changes to other installation info. Solution: Track parser revision in the parsers module directly. Reload parser table on every install or update call. Support modifying parser table in a `User TSUpdate` autocommand.
* feat: drop `TSInstallInfo` in favor of better `checkhealth`Christian Clason2025-05-121-7/+3
| | | | also fixes the hole in install.compilers
* refactor: rewrite installation using jobs and asyncLewis Russell2025-05-121-13/+1
| | | | Replace sync variants with callback support
* feat!: drop modules, general refactor and cleanupChristian Clason2025-05-121-427/+57
|
* 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
|