aboutsummaryrefslogtreecommitdiffstats
path: root/lua
Commit message (Collapse)AuthorAgeFilesLines
* feat(indent): ecma - support try_catch and if_elseMunif Tanjim2022-01-211-0/+4
|
* feat(indent): support `@aligned_indent` for pythonMunif Tanjim2022-01-211-0/+38
|
* refactor(indent): extract functions and support metadataMunif Tanjim2022-01-211-6/+14
|
* feat(indent): use native Query:iter_capturesMunif Tanjim2022-01-212-60/+95
|
* feat: rewrite indent moduleMunif Tanjim2022-01-211-101/+47
|
* feat: improve indent moduleMunif Tanjim2022-01-211-2/+26
| | | | get_node_at_line should return appropriate child if available
* Add phpdoc maintainer (#2311)Michael Härtl2022-01-201-0/+1
|
* parsers: add phpdoc parser (experimental)Michael Härtl2022-01-201-0/+11
|
* feat(lua)!: switch from our fork to MunifTanjim's (#2272)Christian Clason2022-01-181-3/+4
| | | | | also take queries from https://github.com/MunifTanjim/nvim-treesitter-lua/tree/main/queries/lua BREAKING CHANGE: queries are not compatible; modules will have to update
* parsers: add hack parserStephan Seitz2022-01-171-0/+8
|
* add hoconantosha4172022-01-161-0/+9
|
* fix(swift): switch to maintained parserChristian Clason2022-01-161-2/+3
| | | | upstream https://github.com/tree-sitter/tree-sitter-swift is abandoned.
* fix(util): pass offset_encoding to apply_text_editsChristian Clason2022-01-151-1/+1
| | | | | | | Offset encoding is a mandatory argument to `vim.lsp.util.apply_text_edits` since https://github.com/neovim/neovim/commit/bc722c8a74766e14aff3a8e2fc46db72ed864053 Since we are always within a Neovim context, we can just pass `"utf-8"`.
* docs(kotlin): change Kotlin maintainerSal Bakraa2022-01-081-1/+1
|
* fix(kotlin): Change the kotlin parser to fwcd/tree-sitter-kotlnSal Bakraa2022-01-081-3/+4
|
* Fix get_node_textMDeiml2022-01-081-1/+4
|
* fix(foam): Foam switched to C scannerElwardi2022-01-081-2/+1
|
* Fix stylua lintingElwardi2022-01-081-2/+2
|
* Add OpenFOAM parserElwardi2022-01-081-0/+15
|
* Add ninja parser (#2217)Alexandre A. Muller2022-01-081-0/+9
| | | | | | | * Add ninja parser * Add branch main * No need for ftdetect
* fix(haskell): Haskell switched to C scannerStephan Seitz2022-01-051-1/+1
|
* add(rasi): add rasi parserFymyte2022-01-051-0/+9
| | | | Signed-off-by: Fymyte <pierguill@gmail.com>
* Fix: Account for winnr being nil in calls to get_node_at_cursorWil Thomason2022-01-041-1/+2
|
* fix: remove experimental flagJirgn2022-01-041-1/+0
| | | | | | | | | We now have a working grammer and also * highlight * indent * fold no need for experimental hint anymore
* Add support for Pascal (#2153)Isopod2021-12-241-0/+8
| | | | | * Add support for Pascal * Pascal: Replace some of the capture groups, use lua-match where possible
* update fusion to version 1.1.1 (#2148)jirgn2021-12-231-1/+1
| | | | | | | | | | | | | | | | | | * feat(fusion): update tests * fix(fusion): update lockfile * fix(fusion): update to (highlight breaking) version 1.1.0 * update grammer to introduce afx support * update tests and queries * fix: revert lockfile update of unrelated grammars * fix: update to 1.1.1 and fix hightlights * fix: use @tag.attribute capture to match specs Co-authored-by: Jirgn <jirgn76@googlemail.com>
* goto_node: normalize range for nvim_win_set_cursorSantos Gallegos2021-12-201-8/+4
| | | | | | | Looks like neovim doesn't accept -1 on nvim_win_set_cursor. It's listed as an exception on `:h api-indexing`. Fixes https://github.com/nvim-treesitter/nvim-treesitter-textobjects/issues/149
* Add support for new golang `go.work` filesOmer Tuchfeld2021-12-181-0/+10
| | | | | | | | | The new golang 1.18 version (currently in beta) [introduced](https://github.com/golang/go/issues/45713) a new file type called `go.work`. This commit adds support for the syntax of that file using the https://github.com/omertuc/tree-sitter-go-work repository That repository is heavily based on previous work in the https://github.com/camdencheek/tree-sitter-go-mod repository, with a few minor changes to make it work on the very similar `go.work` files.
* feat: enable parsers after installation immediately without reloadStephan Seitz2021-12-151-0/+11
|
* parsers: Add MDeiml/tree-sitter-markdown as markdown parserStephan Seitz2021-12-142-9/+9
| | | | Fixes #872
* feat(lang): add makeLewis Russell2021-12-141-0/+10
|
* Apply cpp to arduinoChad Condon2021-12-061-0/+1
|
* Feat: Added Pug parser with inital queriesStefan Wienert2021-11-301-0/+9
|
* fix: off-by-one errors in indent calculationoxalica2021-11-281-3/+6
|
* refactor(prisma): switch to alternative repoelianiva2021-11-281-1/+2
| | | | Co-authored-by: richin13 <richin13@gmail.com>
* feat: add prisma supportelianiva2021-11-281-0/+7
|
* Fix docspatrick962021-11-281-3/+2
|
* Make disable accept a functionpatrick962021-11-281-10/+15
| | | | Replaces the condition setting (though it does the exact inverse)
* Rename cond to conditionpatrick962021-11-281-1/+1
|
* parsers(fusion): add .git suffix necessary for Gitlab projectsStephan Seitz2021-11-261-1/+1
|
* parsers(fusion): add info about main branchStephan Seitz2021-11-261-0/+1
|
* fix: mark support experimentalJirgn2021-11-261-1/+2
|
* feat: add fusion grammar and highlightsJirgn2021-11-261-0/+8
|
* parsers: godotResource -> godot_resourceStephan Seitz2021-11-251-1/+1
| | | | Follows upstream renaming
* Don't use the Bash grammar for Zsh filesGreg Werbin2021-11-241-1/+1
| | | | | Zsh and Bash are not interchangeable. See <https://github.com/nvim-treesitter/nvim-treesitter/issues/655#issuecomment-978036615>
* Format with styluaSantos Gallegos2021-11-181-3/+1
| | | | CI is failing for stylua due to this.
* refactor: inherit jsongegoune2021-11-121-0/+1
|
* feat: add http parsergegoune2021-11-121-0/+9
| | | | | | | | All credit goes to @NTBBloodbath. See: https://github.com/NTBBloodbath/rest.nvim/issues/75#issuecomment-960447966 Co-authored-by: NTBBloodbath <bloodbathalchemist@protonmail.com>
* feat: get node at cursor of other winFabian David Schmidt2021-11-121-1/+7
|
* Add condition function to module configpatrick962021-11-122-6/+12
| | | | | | | | The function is called with the language and bufnr, if it returns false, the module is disabled for that buffer. This gives the user more fine-grained control over whether a module is started.