aboutsummaryrefslogtreecommitdiffstats
path: root/lua
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* feat: allow to set keymappings to `false`Stephan Seitz2022-12-152-21/+25
| | | | Fixes #3954
* utils: respect shellslash settingAttila Tajti2022-12-141-1/+1
| | | | Use '/' as path separator on Windows when shellslash is set.
* install: fix is_installed checks with shellslashAttila Tajti2022-12-141-2/+13
| | | | Convert paths to use backslashes on Windows.
* shell: respect shellslash option on WindowsAttila Tajti2022-12-141-5/+16
| | | | | | | Always use backlashes as path separators in commands when they are used in cmd.exe. Fixes #2844 #1965
* feat(erlang)!: switch parser to maintained fork (#3791)Benedikt Reinartz2022-12-081-2/+2
| | | update queries to breaking changes
* feat: support when buf is not currentJulien Burkhard2022-12-041-2/+2
|
* fix(sql)!: generate from grammarChristian Clason2022-12-021-0/+1
|
* fix: is_installed correctly detects installed parsersSteven Arcangeli2022-11-281-2/+7
|
* fix(install): don't auto-install ignored parsersStephan Seitz2022-11-281-1/+5
| | | | Fixes #3631
* chore: print OS version on health reportStephan Seitz2022-11-261-0/+2
| | | | | Often we get issue report without knowing which version of Windows or Linux or MacOS they are running.
* docs: fix wrong maintainersObserverOfTime2022-11-261-17/+18
|
* handle `opts` as number, #3323Mamrezo Zare2022-11-251-3/+3
|
* Add ebnf parserRubixDev2022-11-251-0/+11
|
* fix(installer): don't update that are not installed (exclude global parsers)Folke Lemaitre2022-11-241-1/+1
|
* feat: add gitcommit parsergbprod2022-11-241-0/+9
|
* fix(installer): ignore globally installed parserskylo2522022-11-242-2/+10
| | | | | | | Problem: `is_installed` is picking up parsers shipped by neovim v0.8 with unknown version and compatability Solution: only consider a parser installed if it's available in the parsers_install_dir
* feat: add mermaidObserverOfTime2022-11-201-0/+8
|
* feat: add jqObserverOfTime2022-11-181-0/+7
|
* feat(arduino): separate from cppObserverOfTime2022-11-181-1/+8
|
* feat: add awkObserverOfTime2022-11-161-0/+7
|
* feat: vhs (.tape) support (#3726)Carlos Alexandro Becker2022-11-131-0/+11
|
* fix(configs): ensure_installed can be a stringCarlo Sala2022-10-311-1/+1
|
* feat(emmy): add emmylua annotationsLewis Russell2022-10-318-121/+257
|
* feat(git_rebase): add git_rebase parsergbprod2022-10-281-0/+10
|
* parsers: add nickel parser (#3506)José Luis Lafuente2022-10-191-0/+8
| | | | | | | | | | | | | | | | | * parsers: add nickel parser * Update lua/nvim-treesitter/parsers.lua Co-authored-by: Christian Clason <christian.clason@uni-due.de> * Update queries/nickel/highlights.scm Co-authored-by: Christian Clason <christian.clason@uni-due.de> * fix queries * Cleanup (based on @theHamsta review) Co-authored-by: Christian Clason <christian.clason@uni-due.de>