summaryrefslogtreecommitdiff
path: root/lua
AgeCommit message (Collapse)Author
2022-01-21feat(indent): ecma - support try_catch and if_elseMunif Tanjim
2022-01-21feat(indent): support `@aligned_indent` for pythonMunif Tanjim
2022-01-21refactor(indent): extract functions and support metadataMunif Tanjim
2022-01-21feat(indent): use native Query:iter_capturesMunif Tanjim
2022-01-21feat: rewrite indent moduleMunif Tanjim
2022-01-21feat: improve indent moduleMunif Tanjim
get_node_at_line should return appropriate child if available
2022-01-20Add phpdoc maintainer (#2311)Michael Härtl
2022-01-20parsers: add phpdoc parser (experimental)Michael Härtl
2022-01-18feat(lua)!: switch from our fork to MunifTanjim's (#2272)Christian Clason
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
2022-01-17parsers: add hack parserStephan Seitz
2022-01-16add hoconantosha417
2022-01-16fix(swift): switch to maintained parserChristian Clason
upstream https://github.com/tree-sitter/tree-sitter-swift is abandoned.
2022-01-15fix(util): pass offset_encoding to apply_text_editsChristian Clason
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"`.
2022-01-08docs(kotlin): change Kotlin maintainerSal Bakraa
2022-01-08fix(kotlin): Change the kotlin parser to fwcd/tree-sitter-kotlnSal Bakraa
2022-01-08Fix get_node_textMDeiml
2022-01-08fix(foam): Foam switched to C scannerElwardi
2022-01-08Fix stylua lintingElwardi
2022-01-08Add OpenFOAM parserElwardi
2022-01-08Add ninja parser (#2217)Alexandre A. Muller
* Add ninja parser * Add branch main * No need for ftdetect
2022-01-05fix(haskell): Haskell switched to C scannerStephan Seitz
2022-01-05add(rasi): add rasi parserFymyte
Signed-off-by: Fymyte <pierguill@gmail.com>
2022-01-04Fix: Account for winnr being nil in calls to get_node_at_cursorWil Thomason
2022-01-04fix: remove experimental flagJirgn
We now have a working grammer and also * highlight * indent * fold no need for experimental hint anymore
2021-12-24Add support for Pascal (#2153)Isopod
* Add support for Pascal * Pascal: Replace some of the capture groups, use lua-match where possible
2021-12-23update fusion to version 1.1.1 (#2148)jirgn
* 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>
2021-12-20goto_node: normalize range for nvim_win_set_cursorSantos Gallegos
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
2021-12-18Add support for new golang `go.work` filesOmer Tuchfeld
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.
2021-12-15feat: enable parsers after installation immediately without reloadStephan Seitz
2021-12-14parsers: Add MDeiml/tree-sitter-markdown as markdown parserStephan Seitz
Fixes #872
2021-12-14feat(lang): add makeLewis Russell
2021-12-06Apply cpp to arduinoChad Condon
2021-11-30Feat: Added Pug parser with inital queriesStefan Wienert
2021-11-28fix: off-by-one errors in indent calculationoxalica
2021-11-28refactor(prisma): switch to alternative repoelianiva
Co-authored-by: richin13 <richin13@gmail.com>
2021-11-28feat: add prisma supportelianiva
2021-11-28Fix docspatrick96
2021-11-28Make disable accept a functionpatrick96
Replaces the condition setting (though it does the exact inverse)
2021-11-28Rename cond to conditionpatrick96
2021-11-26parsers(fusion): add .git suffix necessary for Gitlab projectsStephan Seitz
2021-11-26parsers(fusion): add info about main branchStephan Seitz
2021-11-26fix: mark support experimentalJirgn
2021-11-26feat: add fusion grammar and highlightsJirgn
2021-11-25parsers: godotResource -> godot_resourceStephan Seitz
Follows upstream renaming
2021-11-24Don't use the Bash grammar for Zsh filesGreg Werbin
Zsh and Bash are not interchangeable. See <https://github.com/nvim-treesitter/nvim-treesitter/issues/655#issuecomment-978036615>
2021-11-18Format with styluaSantos Gallegos
CI is failing for stylua due to this.
2021-11-12refactor: inherit jsongegoune
2021-11-12feat: add http parsergegoune
All credit goes to @NTBBloodbath. See: https://github.com/NTBBloodbath/rest.nvim/issues/75#issuecomment-960447966 Co-authored-by: NTBBloodbath <bloodbathalchemist@protonmail.com>
2021-11-12feat: get node at cursor of other winFabian David Schmidt
2021-11-12Add condition function to module configpatrick96
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.