aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
Commit message (Collapse)AuthorAge
* feat(lsp): use treesitter for stylize markdownMaria José Solano2023-09-19
|
* build(deps): bump tree-sitter-python to v0.20.4Sanchayan Maity2023-08-27
|
* feat(treesitter): update C queries from upstreamChristian Clason2023-08-13
|
* feat(treesitter): add injection language fallback (#24659)Christian Clason2023-08-11
| | | | | | | | | | | | * feat(treesitter): add injection language fallback Problem: injection languages are often specified via aliases (e.g., filetype or in upper case), requiring custom directives. Solution: include lookup logic (try as parser name, then filetype, then lowercase) in LanguageTree itself and remove `#inject-language` directive. Co-authored-by: Lewis Russell <me@lewisr.dev>
* build(deps): bump tree-sitter-c to v0.20.4 (#24495)Christian Clason2023-07-27
|
* fix(treesitter): update markdown parser and queries (#24429)Christian Clason2023-07-22
|
* feat(treesitter): add bash parser and queriesChristian Clason2023-07-01
|
* feat(treesitter): add python parser and queriesChristian Clason2023-07-01
|
* feat(treesitter): bundle markdown parser and queries (#22481)Christian Clason2023-07-01
| | | | | | | * bundle split Markdown parser from https://github.com/MDeiml/tree-sitter-markdown * add queries from https://github.com/nvim-treesitter/nvim-treesitter/tree/main * upstream `#trim!` and `#inject-language!` directives Co-authored-by: dundargoc <gocdundar@gmail.com>
* fix(treesitter): update lua parser and queries (#24148)Christian Clason2023-06-26
|
* fix(treesitter): update highlights for query (#23699)Christian Clason2023-05-21
| | | captures for `; extends` and `; inherits`
* fix(treesitter): update c queriesChristian Clason2023-05-15
|
* fix(treesitter): update vimdoc and vimscript queriesChristian Clason2023-05-15
|
* build(deps): update lua parser and queriesChristian Clason2023-05-15
|
* refactor(treesitter)!: rename help parser to vimdocChristian Clason2023-04-01
|
* fix(treesitter): update queries from nvim-treesitterChristian Clason2023-04-01
| | | | remove self-injection for C preprocessor macros (can be very slow)
* feat(treesitter): use upstream format for injection queriesLewis Russell2023-03-08
|
* feat(treesitter): bundle query parser and queries (#22483)Christian Clason2023-03-03
| | | skip injections for now
* feat(treesitter): upstream foldexpr from nvim-treesitterLewis Russell2023-02-23
|
* feat(help): highlighted codeblocksChristian Clason2022-11-29
|
* build(deps): update viml parser and queries (#21158)Christian Clason2022-11-22
|
* build(deps): bump lua parser to v0.0.14 (#20897)Christian Clason2022-11-01
|
* build(deps): bump vimdoc parser to v1.2.5 (#20829)Christian Clason2022-10-27
|
* build(deps): bump vimdoc parser and queries to v1.2.4 (#20788)Christian Clason2022-10-24
|
* build(deps): bump vimdoc (help) parser to v1.2.1 #20642Justin M. Keyes2022-10-13
|
* build(deps): bump help parser and queries (#20388)Christian Clason2022-09-28
|
* feat(treesitter): bundle :help parser and queriesJustin M. Keyes2022-09-22
| | | | | parser from https://github.com/vigoux/tree-sitter-vimdoc queries from nvim-treesitter
* build(deps): bump tree-sitter-viml to 0.2.0 (#20121)Christian Clason2022-09-08
|
* feat(extmarks,ts,spell): full support for spellingThomas Vigouroux2022-09-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added 'spell' option to extmarks: Extmarks with this set will have the region spellchecked. - Added 'noplainbuffer' option to 'spelloptions': This is used to tell Neovim not to spellcheck the buffer. The old behaviour was to spell check the whole buffer unless :syntax was set. - Added spelling support to the treesitter highlighter: @spell captures in highlights.scm are used to define regions which should be spell checked. - Added support for navigating spell errors for extmarks: Works for both ephemeral and static extmarks - Added '_on_spell_nav' callback for decoration providers: Since ephemeral callbacks are only drawn for the visible screen, providers must implement this callback to instruct Neovim which regions in the buffer need can be spell checked. The callback takes a start position and an end position. Note: this callback is subject to change hence the _ prefix. - Added spell captures for built-in support languages Co-authored-by: Lewis Russell <lewis6991@gmail.com> Co-authored-by: Björn Linse <bjorn.linse@gmail.com>
* feat(treesitter): add injectionsChristian Clason2022-09-06
|
* feat(treesitter): add viml parser and queriesChristian Clason2022-09-06
|
* feat(treesitter): bundle Lua parser and queriesThomas Vigouroux2022-09-06
| | | | | parser from https://github.com/MunifTanjim/tree-sitter-lua queries from nvim-treesitter
* treesitter: Update to 0.19.3Mathias Fussenegger2021-03-09
|
* treesitter: runtime queriesThomas Vigouroux2020-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>