summaryrefslogtreecommitdiff
path: root/lua
AgeCommit message (Collapse)Author
2022-02-15Add Gleam parserConnor Lay (Clay)
2022-02-13feat: add lalrpop parser (#2524)traxys
LALRPOP is a parser generator for Rust. This only parses the LALRPOP side of the generator, not the nearly-rust code of the actions.
2022-02-13typo fixbadhi
2022-02-13added doc for setup_commandbadhi
2022-02-13Fixed formattingbadhi
2022-02-13Added extra argument to setup commands so that user can change the function ↵badhi
args types
2022-02-11Update lockfile.json (#2512)github-actions[bot]
Co-authored-by: GitHub <noreply@github.com>
2022-02-08chore(makefile): apply fixes to original makefileStephan Seitz
2022-02-08fix(makefile): fallback to c++14 when parser does not have cxx_standard setStephan Seitz
2022-02-06fix: Allow re-parsing in Python, XFAIL `\` indentation testStephan Seitz
2022-02-06chore: expose start and stop highlighterkiyan
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
2022-02-06refacto: deprecate used_by in parsers.luakiyan
- 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
2022-02-05fix(indents): ignore comment_parsers for indentationStephan Seitz
2022-02-05Update lua/nvim-treesitter/indent.luaStephan Seitz
Co-authored-by: Kiyan <yazdani.kiyan@protonmail.com>
2022-02-05workaround(indents): avoid reparsing for indent sensitive yaml/pythonStephan Seitz
2022-02-05fix(indents): re-parse before each indentStephan Seitz
2022-02-05indents(c): add zero_indent for #ifStephan Seitz
2022-02-05indents(c): fix indentation on block commentStephan Seitz
2022-02-05indents: refactor hanging indentStephan Seitz
2022-02-05indents: allow aligned_indent for unfinished calls in C and PythonStephan Seitz
2022-02-05indents(cpp): indent at field_initializer_listStephan Seitz
2022-02-05feat(indents): add support for language injectionStephan Seitz
2022-02-04chore(latex)!: update parser and queries (#2436)Christian Clason
BREAKING CHANGE: queries for latex need adaptation
2022-02-03Updated TLA+ version, queries, maintainers (#2442)Andrew Helwer
2022-02-03fix(utils): adjust truncation conditionMichael Lan
2022-02-01update(phpdoc) Add scanner.c (#2426)Michael Härtl
2022-01-29health: check which file caused an errorStephan Seitz
2022-01-29Vala language supportMateus Melchiades
2022-01-25Add tree-sitter-eex parser for (L)EEx files (#2351)Clay
2022-01-23Set CXX standard per parser and fix NorgStephan Seitz
2022-01-23Allow compilation via makefileStephan Seitz
2022-01-23Add tree-sitter-norgJozef Grajciar
2022-01-22feat: specify abi version for generate on newer ts cliChristian Clason
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.
2022-01-22fix: Don't require node for gdscript.Ryan Roden-Corrent
The upstream repo has pre-generated bindings at: https://github.com/PrestonKnopp/tree-sitter-gdscript/tree/master/src
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