summaryrefslogtreecommitdiff
path: root/lua
AgeCommit message (Collapse)Author
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.
2021-11-11Ensure `ft_to_lang` supports multipart filetypes.Robert Jackson
This allows a given parser to directly implement a multipart filetype (like `glimmer` parser does for `html.handlebars`). If an exact match for the current filetype is found in the lookup table, it will be used; otherwise we look for just the first segment.
2021-11-11Add `html.handlebars` as a valid type for the glimmer parser.Robert Jackson
This filetype is in common use due to https://github.com/mustache/vim-mustache-handlebars/blob/master/ftdetect/handlebars.vim#L2
2021-11-08refactor: nitpickingSirisak Lueangsaksri
2021-11-08feat: sync install for `ensure_installed`Sirisak Lueangsaksri
2021-11-02chore: fix typosDundar Göc
2021-11-01Fix typo in locals.lua: vaild -> validStephan Seitz
2021-11-01Fix bugs in TSRangeStephan Seitz
- TSRange:new() was missing to extract the line from nvim_buf_get_lines - TSRange:parent() was only working when current buf == self.buf
2021-10-22Use wrapper around vim.notify with common optionsSantos Gallegos
Ref https://github.com/nvim-treesitter/nvim-treesitter/pull/1927#issuecomment-947064843
2021-10-21Add zig as compiler for parsermaxxnino
2021-10-19Use vim.notify instead of print in some places (#1927)Santos Gallegos