Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | tree-sitter: Put base languages first in queries | Stephan Seitz | 2020-11-08 |
| | | | | | | | | This reverts the handling of base languages to the old way how nvim-treesitter handled them. When a language extends a base language it usually wants to be able to overwrite queries. Related: https://github.com/nvim-treesitter/nvim-treesitter/issues/633 | ||
* | Merge pull request #13178 from steelsojka/fix-empty-main-query-file | Thomas Vigouroux | 2020-11-02 |
|\ | | | | | fix(treesitter): account for no main query file | ||
| * | fix(treesitter): account for no main query file | Steven Sojka | 2020-10-28 |
| | | |||
* | | treesitter: add node:id() | Björn Linse | 2020-11-01 |
|/ | |||
* | treesitter: allow multiple highlighters per buffer | Thomas Vigouroux | 2020-10-12 |
| | |||
* | treesitter: allow custom parser for highlighter | Thomas Vigouroux | 2020-10-12 |
| | | | | | | | | | | | Also allow to get parser ranges. This will be useful for language injection, allowing us to tweak the parser's ranges on the fly. Update runtime/lua/vim/treesitter.lua Co-authored-by: Paul Burlumi <paul@burlumi.com> | ||
* | treesitter: runtime queries | Thomas Vigouroux | 2020-10-11 |
| | | | | | | | | | | | | | Runtime queries just work like ftplugins, that is: - Queries in the `after` directory are sourced _after_ the "base" query - Otherwise, the last define query takes precedence. Queries can be found in the `queries` directory. Update runtime/lua/vim/treesitter/query.lua Co-authored-by: Paul Burlumi <paul@burlumi.com> | ||
* | api: multiple decoration providers at once | Björn Linse | 2020-10-10 |
| | |||
* | treesitter: add string parser (#13008) | Thomas Vigouroux | 2020-09-30 |
| | |||
* | luahl: global the luahl | Björn Linse | 2020-09-13 |
| | |||
* | fix: use luahl in treesitter | Thomas Vigouroux | 2020-09-13 |
| | |||
* | wip trying to fix the highlighter | Thomas Vigouroux | 2020-09-09 |
| | |||
* | treesitter: use new on_bytes interface | Björn Linse | 2020-09-09 |
| | | | | | | | | | | This will significantly reduce the parsing work needed e.g. when rehighlighting after every keypress in insert mode. Also add safety check for tree-sitter trying to read past the end of a line. This can happen after we sent an incorrect buffer update. | ||
* | treesitter: revert wrong optimization in highlights | Thomas Vigouroux | 2020-09-09 |
| | |||
* | Merge pull request #12858 from kyazdani42/fix/no-ts-hl-without-query-value | Thomas Vigouroux | 2020-09-06 |
|\ | | | | | treesitter: check hl group exists before passing it in nvim_get_hl_id_by_name | ||
| * | apply bfredl suggestion | kiyan42 | 2020-09-06 |
| | | |||
| * | treesitter: check hl group exists before passing it in nvim_get_hl_id_by_name | kiyan42 | 2020-09-05 |
| | | |||
* | | lint: just bit twiddlin' | Björn Linse | 2020-09-06 |
| | | |||
* | | treesitter: simplify match_preds | Thomas Vigouroux | 2020-09-06 |
| | | |||
* | | treesitter: use lua-match? instead of match? | Thomas Vigouroux | 2020-09-06 |
|/ | |||
* | Merge pull request #12847 from nvim-treesitter/ts-list-predicates | Björn Linse | 2020-09-04 |
|\ | | | | | treesitter: allow to list supported predicates | ||
| * | treesitter: allow to list supported predicates | Thomas Vigouroux | 2020-09-04 |
| | | |||
* | | treesitter: update to use buf_set_extmark | Thomas Vigouroux | 2020-09-03 |
|/ | |||
* | treesitter: avoid escaping complete query strings | Stephan Seitz | 2020-08-31 |
| | | | | | Escape "\\" only for `vim-match?` not for `match?` Fixes #12595 | ||
* | treesitter: allow to force predicate addition | Thomas Vigouroux | 2020-08-13 |
| | |||
* | treesitter: add predicate negation | Thomas Vigouroux | 2020-08-13 |
| | |||
* | treesitter: add and test vim-match? predicate | Thomas Vigouroux | 2020-08-13 |
| | |||
* | treesitter: add contains? predicate | Thomas Vigouroux | 2020-08-13 |
| | |||
* | treesitter(docs): update and refresh docs | Thomas Vigouroux | 2020-08-13 |
| | |||
* | treesitter: refactor and use lua regexes | Thomas Vigouroux | 2020-08-13 |