aboutsummaryrefslogtreecommitdiffstats
path: root/lua
Commit message (Collapse)AuthorAgeFilesLines
* Update lockfile.json (#2512)github-actions[bot]2022-02-111-1/+1
| | | Co-authored-by: GitHub <noreply@github.com>
* chore(makefile): apply fixes to original makefileStephan Seitz2022-02-081-1/+1
|
* fix(makefile): fallback to c++14 when parser does not have cxx_standard setStephan Seitz2022-02-081-1/+1
|
* fix: Allow re-parsing in Python, XFAIL `\` indentation testStephan Seitz2022-02-061-1/+0
|
* chore: expose start and stop highlighterkiyan2022-02-062-21/+39
| | | | | | Decompose highlighter module in small functions to allow exporting a start and stop functions without the syntax change. Also fix linter issues in configs.lua
* refacto: deprecate used_by in parsers.luakiyan2022-02-062-35/+28
| | | | | | | | | | - remove print_warning function from utils.lua (unused) - cleanup some functions in parsers.lua (parameters overloading and wrong bufnr used). - log a deprecation notice when using used_by in a parser definition - default the filetype_to_parsername table to the list of filetypes previously in the used_by keys - update the README to indicate that change
* fix(indents): ignore comment_parsers for indentationStephan Seitz2022-02-051-2/+20
|
* Update lua/nvim-treesitter/indent.luaStephan Seitz2022-02-051-2/+1
| | | | Co-authored-by: Kiyan <yazdani.kiyan@protonmail.com>
* workaround(indents): avoid reparsing for indent sensitive yaml/pythonStephan Seitz2022-02-051-6/+15
|
* fix(indents): re-parse before each indentStephan Seitz2022-02-051-4/+14
|
* indents(c): add zero_indent for #ifStephan Seitz2022-02-051-0/+5
|
* indents(c): fix indentation on block commentStephan Seitz2022-02-051-9/+12
|
* indents: refactor hanging indentStephan Seitz2022-02-051-22/+14
|
* indents: allow aligned_indent for unfinished calls in C and PythonStephan Seitz2022-02-051-1/+2
|
* indents(cpp): indent at field_initializer_listStephan Seitz2022-02-051-1/+1
|
* feat(indents): add support for language injectionStephan Seitz2022-02-051-3/+6
|
* chore(latex)!: update parser and queries (#2436)Christian Clason2022-02-041-3/+3
| | | BREAKING CHANGE: queries for latex need adaptation
* Updated TLA+ version, queries, maintainers (#2442)Andrew Helwer2022-02-031-1/+1
|
* fix(utils): adjust truncation conditionMichael Lan2022-02-031-1/+1
|
* update(phpdoc) Add scanner.c (#2426)Michael Härtl2022-02-011-12/+12
|
* health: check which file caused an errorStephan Seitz2022-01-291-1/+19
|
* Vala language supportMateus Melchiades2022-01-291-0/+9
|
* Add tree-sitter-eex parser for (L)EEx files (#2351)Clay2022-01-251-0/+10
|
* Set CXX standard per parser and fix NorgStephan Seitz2022-01-232-4/+9
|
* Allow compilation via makefileStephan Seitz2022-01-233-9/+26
|
* Add tree-sitter-norgJozef Grajciar2022-01-231-0/+9
|
* feat: specify abi version for generate on newer ts cliChristian Clason2022-01-223-6/+22
| | | | | | | | | Check tree-sitter CLI version and if > 0.20.3 and generating a parser from grammar, use `--abi=vim.treesitter.language_version`. Besides being able to opt-in to newer ABI benefits, this is a necessary workaround for an upstream bug with 0.20.3, where `parser.h` is not generated if the (optional) `--abi` flag is omitted.
* fix: Don't require node for gdscript.Ryan Roden-Corrent2022-01-221-1/+0
| | | | | The upstream repo has pre-generated bindings at: https://github.com/PrestonKnopp/tree-sitter-gdscript/tree/master/src
* 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>