aboutsummaryrefslogtreecommitdiffstats
path: root/lua
Commit message (Collapse)AuthorAgeFilesLines
* feat(thrift): improve queriesAmaan Qureshi2023-02-181-0/+1
|
* refactor(utils): clean up deprecated codekylo2522023-02-171-18/+1
| | | | use `vim.treesitter.is_in_node_range()` directly
* Update parsers: gdscript, thriftGitHub2023-02-141-1/+0
| | | | | update gdscript indent queries to parser change and remove @Shatur as maintainer
* properly replace deprecated tsutils functionsKiyoon Kim2023-02-121-1/+2
|
* deprecate get_node_range and is_in_node_rangeKiyoon Kim2023-02-121-10/+17
|
* fix: incremental_selection errorhaoxian2023-02-111-0/+1
| | | | | if some empty lines in the end of file, would throw error messages when incremental_selection to the whole file.
* feat: improve KDL queriesAmaan Qureshi2023-02-051-1/+0
|
* feat: add RONAmaan Qureshi2023-02-051-2/+8
|
* feat: add chatitoObserverOfTime2023-02-041-0/+8
|
* feat: add gosumAmaan Qureshi2023-02-031-0/+9
|
* chore: organize languages in parsers.luaAmaan Qureshi2023-02-031-663/+663
|
* feat: add funcAmaan Qureshi2023-02-021-0/+9
|
* feat: add smithy (#4245)Amaan Qureshi2023-01-311-0/+8
|
* fix: better support for custom parsersLewis Russell2023-01-301-2/+10
| | | | | | | If the user changes the parser_config by modifing the table returned by get_parser_configs(), then internally mark the config so when we install we 1) don't use the revision pointed to by the lockfile, and 2) always download the parser via git.
* feat: add elsaAmaan Qureshi2023-01-301-0/+8
|
* fix artefact in change modeKiyoon Kim2023-01-281-19/+12
|
* feat: add kdl (#4227)Amaan Qureshi2023-01-281-0/+10
| | | | | | | | | | | | | * feat: add kdl * feat: comment queries * fix(kdl): comments properly highlighted now * feat(kdl): folds * chore: bump revision to feature-complete parser * fix: folds
* feat: add poe_filterObserverOfTime2023-01-251-0/+11
|
* refactor(capnp, thrift): improve grammar & queries to stable for the ↵Amaan Qureshi2023-01-231-1/+0
| | | | foreseeable future
* fix: detach behaviour on buffer reloadLiad Oz2023-01-231-5/+13
|
* map quarto ft to markdown parserJannik Buhr2023-01-231-0/+1
|
* feat: add capnp (#4203)Amaan Qureshi2023-01-231-0/+9
|
* feat(thrift): use better queries, namely for idents (#4197)Amaan Qureshi2023-01-221-1/+0
|
* feat: add htmldjangoObserverOfTime2023-01-211-0/+10
|
* feat: add thrift (#4185)Amaan Qureshi2023-01-211-0/+9
|
* parsers: map ft=confini to iniStephan Seitz2023-01-211-0/+1
| | | | Co-authored-by: @ObserverOfTime <ObserverOfTime@users.no-reply.github.com>
* parsers: add ini (https://github.com/justinmk/tree-sitter-ini)Stephan Seitz2023-01-211-0/+10
| | | | Addresses the following request https://github.com/nvim-treesitter/nvim-treesitter/issues/2282#issuecomment-1398856301
* parsers: Add FHIR Shorthand (FSH) (#4052)Matthew Gramigna2023-01-181-0/+9
|
* highlights(elm): fix boolean literalsAnanda Umamil2023-01-141-0/+1
|
* feat: let qml use qmljsShootingStarDragons2023-01-101-1/+1
| | | | | Someone like qml to mark qmljs, so let 'qml' use qmljs
* parsers(wgsl_bevy): add scanner.cStephan Seitz2023-01-101-1/+1
|
* parsers(wgsl): add scanner.cStephan Seitz2023-01-101-1/+1
|
* feat: add smali to lockfile, parser, and link to repo in READMEAmaan Q2023-01-091-0/+9
|
* ci: fix file name for cache calculationStephan Seitz2023-01-081-1/+2
|
* install: allow pure C parsers to be compiled without `-lstdc++`Stephan Seitz2023-01-081-1/+7
| | | | | | | E.g. installing C [here](https://github.com/nvim-treesitter/nvim-treesitter/issues/4056) does not require libstdc++. Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
* Remove update_selection side-effects (#4114)coinator2023-01-071-1/+2
|
* fix(utils): swap_nodes calculates correct char_delta (#4110)Michael Lan2023-01-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | * fix(utils): swap_nodes calculates correct char_delta The char_delta is not calculated correctly right now when there are two treesitter nodes being swapped, one directly following the other. This is rare but can happen for example when attempting to swap "print" and "(1)" in "print(1)". In this case an incorrect char_delta is calculated because of a bug in range comparison. * test(swap_nodes): check cursor * add a regression test (for multiline node swap) * add a test with adjacent swaps that fails when char_delta is not calculated correctly * test(swap_nodes): check text content after swap * test: note language for parser * fix tests * use same not equal for table comparison
* fix: do not force syntax=ON on detachLewis Russell2023-01-041-9/+1
| | | | | syntax is now restored in vim.treesitter.stop() so we don't need to force it on here.
* parsers: add wgsl_bevyStephan Seitz2022-12-311-0/+9
| | | | | This adds an extension of tree-sitter-wgsl that understands [Bevy's](https://bevyengine.org/) preprocessor directives.
* fix: show errors when reload after installation failsStephan Seitz2022-12-312-7/+10
|
* feat: also reload parsers after uninstallationStephan Seitz2022-12-311-11/+24
|
* feat(hcl,terraform): split terraform from hcl, add specialized queries for tfMichael Hoffmann2022-12-291-1/+11
| | | | | | | | This enables us to have different queries for terraform and general hcl. It solve the situation where other dialects of hcl (nomad, packer, etc) might use a terraform keyword and get highlighted out of place.
* feat: allow hot-reloading parser after installationStephan Seitz2022-12-261-0/+1
|
* fix: require_language is needed after installation to update Vim's language ↵Stephan Seitz2022-12-261-0/+1
| | | | | | table Fixes #4026
* fix: do `vim.treesitter.start()` on highlight module attachStephan Seitz2022-12-261-18/+20
| | | | Fixes #4026
* Fix `update_selection`Philip Gaudreau2022-12-251-9/+27
|
* chore: update usage `vim.split` to new signatureStephan Seitz2022-12-251-1/+1
| | | | | | | | | | | | | Old usage was still working because of backward compatibility of nvim code: ```lua if type(kwargs) == 'boolean' then -- Support old signature for backward compatibility plain = kwargs else ``` `:h vim-split()` https://neovim.io/doc/user/lua.html#vim.split()
* feat: add AdaEmmanuel Briot2022-12-221-0/+10
|
* feat(t32): initial supportxasc2022-12-211-0/+13
|
* fix(health): align the list of parsers when doing checkhealthdundargoc2022-12-211-2/+2
| | | | | Some parser names are too long for the given space, which shifts the features so they aren't in line.