summaryrefslogtreecommitdiff
path: root/lua
AgeCommit message (Collapse)Author
2021-04-23tests/indent: improve assertion to print side-by-side diffJędrzej Boczar
2021-04-23tests/indent: use custom assertion with better suited outputJędrzej Boczar
2021-04-23tests/indent: add Lua testsJędrzej Boczar
2021-04-23tests/indent: improve Rust testsJędrzej Boczar
2021-04-23tests/indent: add `normal o` tests for PythonJędrzej Boczar
2021-04-23tests/indent: test cases with `normal o` for C/C++Jędrzej Boczar
2021-04-23tests/indent: add multiple C/C++ testsJędrzej Boczar
2021-04-23tests/indent: refactor indent test runner and auto-discover language test filesJędrzej Boczar
2021-04-23fix lua style checksJędrzej Boczar
2021-04-23tests/indent: add basic examples for C and RustJędrzej Boczar
2021-04-23Initial sketch of automated indent testsJędrzej Boczar
2021-04-23fix(folds): use the correct rational operatorGrzegorz Rozdzialik
Fixes a bug introduced in 41ed83ffc762b611644a311e344b33d5efc01944 Closes #1226
2021-04-23parsers: Add Fortran parserStephan Seitz
Fixes: https://github.com/nvim-treesitter/nvim-treesitter/issues/1194 Refs: - https://nvim-treesitter.zulipchat.com/#narrow/stream/252271-general/topic/Meeting.20everyone/near/219174700
2021-04-22feat(incremental_selection): don't require localsThomas Vigouroux
2021-04-22parsers: nix no longer requires_generate_from_grammarStephan Seitz
Not required after https://github.com/cstrahan/tree-sitter-nix/pull/11
2021-04-22fix(folds): always fold more than one lineThomas Vigouroux
2021-04-21fix: Sort parsers for :TSInstallInfoStephan Seitz
2021-04-19Avoid Lua 5.3 function table.unpackStephan Seitz
2021-04-18YAML: update queries (#1203)Santos Gallegos
Closes https://github.com/nvim-treesitter/nvim-treesitter-refactor/issues/18
2021-04-18Fix GDScript highlightingShatur95
2021-04-16Fix TSEditQuery with several files (#1191)Santos Gallegos
- Choice already starts with 1, there isn't need to increment 1 - The first item is the prompt as recommended in `:h inputlist()` (this way the choice matches when using the mouse)
2021-04-15remove developer mode error messageDaniel Bendel
2021-04-15split is_github_or_gitlab againDaniel Bendel
2021-04-15remove single-branch and branch arguments on git callDaniel Bendel
2021-04-15fix undefined variableDaniel Bendel
2021-04-15a little less variables :)Daniel Bendel
2021-04-15removed core.symlinks=true from git callDaniel Bendel
2021-04-15use utils.join_pathAdnoC
2021-04-15use locked revision when downloading via gitAdnoC
2021-04-15fix windows checkAdnoC
2021-04-15styleAdnoC
2021-04-15Do not use builtin tar on WindowsAdnoC
Several parsers (typescript and ocaml specifically) contain symlinks in their repo. The tar built into Windows cannot handle them. So, on Windows just use git to download parsers.
2021-04-14feat: Add TSEditQueryUserAfterStephan Seitz
2021-04-14feat: Add TSEditQueryStephan Seitz
2021-04-14Fix #1182: fix TSRange:parentStephan Seitz
2021-04-08fixup: remove generate_from_grammarelianiva
2021-04-08feat: add scss parserelianiva
2021-04-07Fix usage of string.sub (#1164)Santos Gallegos
From https://www.lua.org/pil/20.html > The call string.sub(s,i,j) extracts a piece of the string s, from the i-th to the j-th character inclusive. This was breaking textobjects movement.
2021-04-07fix(health): let CC check behave like in real installationStephan Seitz
Fixes #1146
2021-04-06Fix: allow empty path in utils.get_at_pathStephan Seitz
2021-04-06TSModuleInfo: make new buffer work with given argumentMarco Hinz
2021-04-06TSModuleInfo: use custom bufferMarco Hinz
2021-04-05Fix incremental selection (#1135)Santos Gallegos
So, there are two problems: - There was an infinite loop when inc selection was initiated from an injection. - The comparison was wrong when the whole file was selected, this is because ts matches the EOF. This is an extra line with one char (EOF). I put a workaround to try to select the node from the main tree, but we should try to select the node from the parent tree of the injection, but I wasn't able to get the parent tree from the node.
2021-04-05TSModuleInfo: cleaner indentationMarco Hinz
2021-04-05TSModuleInfo: sort mods and languagesMarco Hinz
2021-04-02fix: prev_node nil checkkiyan
2021-04-02healthcheck: raise error when ABI is too oldStephan Seitz
2021-04-01Remove requires_generate_from_grammar for ledgerStephan Seitz
2021-04-01all/maintained: only installation from grammar when tree-sitter CLI executableStephan Seitz
2021-04-01Check for node-js on :TSInstallFromGrammarStephan Seitz
Ref: https://github.com/nvim-treesitter/nvim-treesitter/issues/1121#issuecomment-811755767