aboutsummaryrefslogtreecommitdiffstats
path: root/lua
Commit message (Collapse)AuthorAgeFilesLines
* parser(vlang): fix location of remote repoStephan Seitz2022-05-211-1/+2
|
* feat(vlang): initial supporttami52022-05-211-0/+11
| | | | | | | | | | | | | | | | 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
* fix(commands): add -bar to allow other commandskiyan2022-05-141-0/+1
| | | | addresses #2920
* Add embedded template to support ERB filesNick Pezza2022-05-051-0/+8
|
* fixup: separate augroups for modulesChristian Clason2022-04-301-4/+2
|
* refactor!: update to Neovim 0.7 APIsChristian Clason2022-04-304-38/+46
| | | | | | | * set highlight groups via nvim_set_hl * define autocommands via nvim_create_autocmd * port plugin/nvim-treesitter.vim to Lua * port healthcheck to Lua
* chore!: remove ensure_installed='maintained'Christian Clason2022-04-302-23/+1
| | | | | | | | 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).
* feat(proto): add parserfrancisco souza2022-04-281-0/+10
| | | | Related to #2307.
* feat: add m68k parser and queriesGraham Bates2022-04-271-0/+9
|
* Add org parserTerseTears2022-04-231-0/+8
|
* fix(ts_utils): fix swap_nodes after get_node_text changefrancisco souza2022-04-212-32/+35
| | | | | | | | | | | 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.
* adapt to vim.treesitter.query.get_node_textNir Tzachar2022-04-191-4/+4
|
* fixup: restore old implementationChristian Clason2022-04-181-1/+21
|
* fix(statusline): adjust to the new API (query)ranjithshegde2022-04-181-7/+9
|
* fix(statusline): don't use deprecated functionChristian Clason2022-04-181-3/+3
|
* chore: deprecate ts_utils.get_node_textStephan Seitz2022-04-183-31/+14
|
* chore!: remove compat module for vim.uiStephan Seitz2022-04-181-23/+0
|
* feat(swift): switch to branch with generated filesChristian Clason2022-04-181-2/+1
|
* chore: bump minimal Nvim version to 0.7 and checkChristian Clason2022-04-161-0/+4
| | | | | | Checks minimal version in `:checkhealth nvim-treesitter` Also recommend nightlies
* remove ignore_child_trees from get_node_at_positionMarcus Caisey2022-04-161-8/+15
|
* add ignore_injected_langs to get_node_at_cursorMarcus Caisey2022-04-161-4/+9
|
* Format with styluaEmilia Simmons2022-04-151-1/+1
|
* fix: properly select name in revision archiveEmilia Simmons2022-04-151-1/+6
|
* fix: remove ftdetect, Fix `struct` highlight for wgslKonrad Bochnia2022-04-111-1/+1
|
* Add WGSL parserKonrad Bochnia2022-04-111-0/+9
|
* Fix nvim-treesitter CI6cdh2022-04-101-0/+1
|
* Added scheme support6cdh2022-04-101-0/+8
|
* chore!: deprecate ensure_installed=maintainedChristian Clason2022-04-101-0/+4
| | | | | BREAKING CHANGE: specify explicit list or use `ensure_installed='all'` (not recommended)
* fix(modules): enabling disabling per buffer and globallykiyan2022-04-101-11/+37
| | | | | | | | | | | | | | 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 more filetypes for treesitter-markdownMicah Halter2022-04-081-0/+2
| | | | Signed-off-by: Micah Halter <micah@balena.io>
* feat: add astrovirchau132022-04-071-0/+9
|
* Fixed the styluaLex2022-04-031-2/+2
|
* Added the initial version for the support of rego languageOleksii Demennikov2022-04-031-0/+9
|
* Add elvishTobias Frilling2022-04-011-0/+9
|
* Add capture groups for remaining builtin highlight groupsGregory Anders2022-03-301-0/+12
| | | | | Some builtin highlight groups (see `:h group-name`) do not yet have associated capture groups, so add them.
* feat: add vimdoc parser and highlight queriesChristian Clason2022-03-291-0/+10
|
* chore: placate luacheckChristian Clason2022-03-261-1/+1
|
* Add CooklangAddison Chan2022-03-171-0/+9
|
* fix(solidity): follow install_info.branch on parser updateStephan Seitz2022-03-121-1/+11
|
* Add highlights query for SolidityYongJieYongJie2022-03-111-0/+9
|
* fix: prefer gmake over makeStephan Seitz2022-03-081-2/+9
|
* Revert "2612: Use gmake when available"Stephan Seitz2022-03-081-5/+1
| | | | This reverts commit d3d1637c3c7b384776dfc8f4e8c34cf83eca37e3.
* 2612: Use gmake when availableSebastián Zaffarano2022-03-081-1/+5
|
* Add slint parser configuration and queries (#2598)Jared Moulton2022-03-071-0/+10
| | | | | | | | | | | | | | | | | * Add slint parser * Mark slint as experimental * Remove filetype and add slint to the lockfile * Update queries * Update varibable.builtin's and repeats * Update slint true false * Change export back to keyword * Change export back to include :)
* parsers: Add todotxt parserArnar Gauti Ingason2022-02-281-0/+11
|
* refacto: expose a function to set custom capture for the higlighterkiyan2022-02-192-12/+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.
* Add myself as maintainer of Elixir, Gleam queriesConnor Lay (Clay)2022-02-151-2/+2
|
* Add Gleam parserConnor Lay (Clay)2022-02-151-0/+9
|
* feat: add lalrpop parser (#2524)traxys2022-02-131-0/+9
| | | | LALRPOP is a parser generator for Rust. This only parses the LALRPOP side of the generator, not the nearly-rust code of the actions.
* typo fixbadhi2022-02-131-1/+1
|