summaryrefslogtreecommitdiff
path: root/lua/nvim-treesitter
AgeCommit message (Collapse)Author
2022-08-02fix: node_incremental for incremental selection jumping around (#3257)itepechi / いてぺち
2022-07-31docs: add descriptions to incremental_selection keymapsStephan Seitz
2022-07-30feat(highlight): re-apply default highlights on colorscheme changesJohn Drouhard
If the plugin is loaded after a colorscheme is set that defines any of these highlight groups, the default won't be applied. Subsequent "highlight clear" commands (common when switching colorschemes) will then clear any of those highlights, but these defaults never have another opportunity to be initialized. Effectively, if you load neovim with a colorscheme that has definitions for some of these highlight groups, then load treesitter, then switch colorschemes, many of these default links will be absent resulting in colors that do not appear the same as if that colorscheme had been used at startup. Hooking the ColorScheme event with an autocmd that just reapplies these defaults gives every colorscheme switch the opportunity to get the defaults for non-explicitly-defined groups.
2022-07-29feat(ts_utils): allow starting selection after last character (#3233)Axel Dahlberg
2022-07-21fix(indents): indents for error block (css, lua) (#3207)Kiyan
2022-07-18chore: cleanup main file, move statusline in modulekiyan
2022-07-18fix(typo): utils.create_or_resue_writable_dir -> reuse (#3194)Kiyan
2022-07-17fix(indent): set only one autocmd for binding indentexpr (#3190)Kiyan
2022-07-09feat(vala)!: switch to @vala-lang parserPrinceton Ferro
2022-07-08fix: avoid installing parsers multiple times when using auto_installsmjonas
2022-07-08feat: add option to auto-install missing parsers (#3130)Jonas Strittmatter
2022-07-08Initial SQL supportderekstride
2022-07-07add qmljs (#3126)Access
2022-07-07chore: reformat with Stylua 0.14.0Christian Clason
2022-06-28docs: add description to `markdown`/`markdown_inline` in READMEStephan Seitz
2022-06-28feat(beancount): support folding org headers (#3078)PolarMutex
requires beancount parser update Co-authored-by: Brian Ryall <brian@brianryall.xyz> Co-authored-by: Christian Clason <c.clason@uni-graz.at>
2022-06-26feat(swift): compile the grammar from the main branch (#3068)Alex Pinkus
The `with-generated-files` branch uses ABI 13 and therefore doesn't benefit from the ABI 14 speed improvements.
2022-06-26feat(markdown)!: switch to split parser (#3048)Matthias Deiml
* switch to split markdown parser with separate block and inline parsers to improve performance * add exclude_children! directive (useful for something like Injected markdown incorrectly highlights indented docstrings #2212) * split markdown queries into block and inline ones and add the injection for inline into block grammar * add include_dir option to parser configs (needed because the two grammars don't live in the repos root directory) BREAKING CHANGE: downstream queries need to be adapted to new parser
2022-06-25Chore: remove prefix from parser "location" propertyStephan Seitz
This was very confusing when using the location property as it always had to start with "tree-sitter-<lang>" for no real reason.
2022-06-20Add support for custom parser install locations #2959 (#3031)Duncan McDougall
2022-06-19Add rnoweb to the parsers.lua fileBrian Albert Monroe
2022-06-19docs(swift): list alex-pinkus as maintainerChristian Clason
2022-06-14feat(tiger): initial supportBruno BELANYI
2022-06-05make ft_to_lang work for csharp (#2989)Alexej Kowalew
2022-06-02fix(health): update to upstream changesChristian Clason
The `health` module was moved to `vim.health` in https://github.com/neovim/neovim/pull/18720
2022-05-28fix(r): add external scannerChristian Clason
2022-05-21parser(vlang): fix location of remote repoStephan Seitz
2022-05-21feat(vlang): initial supporttami5
Add support for vlang filetypes. - [ ] Highlight `C` as builtin variable. This is FFI in vlang land, where C act like extern and access c functions. The vlang parser does some extension between C function calls and arguments but I believe highlighting C as builtin variable is sufficient indicator for now. I tried to use offset! but failed. Any suggestions? - [ ] Set up parser url. the vlang parser is located within [vls] repo. Is installing from nested repo supported? `tree_sitter_v/src/parser.c`? [vls]: https://github.com/vlang/vls/tree/master/tree_sitter_v cc @elianiva @theHamsta
2022-05-14fix(commands): add -bar to allow other commandskiyan
addresses #2920
2022-05-05Add embedded template to support ERB filesNick Pezza
2022-04-30fixup: separate augroups for modulesChristian Clason
2022-04-30refactor!: update to Neovim 0.7 APIsChristian Clason
* set highlight groups via nvim_set_hl * define autocommands via nvim_create_autocmd * port plugin/nvim-treesitter.vim to Lua * port healthcheck to Lua
2022-04-30chore!: remove ensure_installed='maintained'Christian Clason
Removes all support (and tests) for the parser category "maintained", as this is no longer a useful category. BREAKING CHANGE: replace `ensure_installed='maintained'` by an explicit list of parsers, or use `'all'` (not recommended).
2022-04-28feat(proto): add parserfrancisco souza
Related to #2307.
2022-04-27feat: add m68k parser and queriesGraham Bates
2022-04-23Add org parserTerseTears
2022-04-21fix(ts_utils): fix swap_nodes after get_node_text changefrancisco souza
After some discussion, it looks like the easiest thing to do for now is to keep a private copy of get_node_text (just to skip the deprecation message) and invoke that, until core provides an equivalent function that can return the node content in a table representing the node "lines". Also fixes the statusline by calling the private version for get_node_text until a change is made in core.
2022-04-19adapt to vim.treesitter.query.get_node_textNir Tzachar
2022-04-18fixup: restore old implementationChristian Clason
2022-04-18chore: deprecate ts_utils.get_node_textStephan Seitz
2022-04-18chore!: remove compat module for vim.uiStephan Seitz
2022-04-18feat(swift): switch to branch with generated filesChristian Clason
2022-04-16chore: bump minimal Nvim version to 0.7 and checkChristian Clason
Checks minimal version in `:checkhealth nvim-treesitter` Also recommend nightlies
2022-04-16remove ignore_child_trees from get_node_at_positionMarcus Caisey
2022-04-16add ignore_injected_langs to get_node_at_cursorMarcus Caisey
2022-04-15Format with styluaEmilia Simmons
2022-04-15fix: properly select name in revision archiveEmilia Simmons
2022-04-11fix: remove ftdetect, Fix `struct` highlight for wgslKonrad Bochnia
2022-04-11Add WGSL parserKonrad Bochnia
2022-04-10Fix nvim-treesitter CI6cdh