aboutsummaryrefslogtreecommitdiffstats
path: root/lua
Commit message (Collapse)AuthorAgeFilesLines
* add testPham Huy Hoang2023-04-081-2/+2
|
* fix(indent): Make indent ignore trailing spaces/commentPham Huy Hoang2023-04-081-5/+23
| | | | Signed-off-by: Pham Huy Hoang <hoangtun0810@gmail.com>
* vim: switch to parser maintained by Neovim (#4610)Christian Clason2023-04-071-2/+2
| | | | | Problem: The current vimscript parser has not been maintained for a while, which was a blocker for packaging the coming Neovim release. Solution: Fork parser to https://github.com/neovim/tree-sitter-vim/ and maintain it there from now on.
* feat: use `-bundle` to build parsers on macOSCarlo Cabrera2023-04-031-1/+5
| | | | | | | | | | This will make the parsers align more closely to the ones bundled with Neovim, because CMake uses the `-bundle` flag (instead of `-shared`) on macOS when a library is compiled as a `MODULE`. See, for example: https://github.com/neovim/neovim/blob/10baf89712724b4b95f7c641f2012f051737003c/cmake.deps/cmake/TreesitterParserCMakeLists.txt#L6-L9
* chore(help)!: renamed to vimdocChristian Clason2023-04-011-8/+9
|
* feat: add FIRRTLAmaan Qureshi2023-03-271-0/+8
|
* feat: add PonyAmaan Qureshi2023-03-271-0/+8
|
* fix: uninstall function in the install.luaSergey Kacheev2023-03-242-3/+4
| | | | | The get_ensure_installed_parsers function return a table for the option "all" because uninstall accepts a table
* fix: `get_range` shim for playgroundTom van Dijk2023-03-242-10/+11
|
* use indent.X syntax for captures and properties of set directivesGeorge Harker2023-03-242-53/+71
| | | | | | | | update CONTRIBUTING.md adjust indents for bass fix doc capture comment
* split delimiter into open_delimiter and close_delimiterGeorge Harker2023-03-241-7/+6
|
* refactor(indent)!: Rework indent, aligned indentGeorge Harker2023-03-241-28/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | indents now use @indent.X style captures, and indent.PROP for properties to set on those captures, as documented in the help. Captures are: indent.auto indent.begin indent.end indent.dedent indent.branch indent.ignore indent.align indent.zero Properties are: indent.immediate indent.start_at_same_line indent.open_delimiter indent.close_delimiter indent.increment indent.avoid_last_matching_next Multiple opening delims on one line and multiple closing on a line are collapsed so as not to over indent, The final line of @indent.align blocks which must in some cases be treated specially to avoid clashing with the next line is treated the same regardless of whether the @indent.align capture actually uses aligned indentation or just normal indentation. The indent.avoid_last_matching_next property controls this. Adjust python to use these. List, set, dict and tuple all use @indent.align which permits both hanging and aligned styles. Finally, try: on it’s own will indent when typing live but make no guaranteeds about whole-file formatting. Includes lucario387:fix-align-indent
* fix: shim 0.9 deprecationsLewis Russell2023-03-245-7/+26
|
* fix(health): check required neovim version (#4330)kylo2522023-03-241-2/+2
| | | | | | | * fix(health): check required neovim version * fixup(health)!: require v0.8.3 for is_in_node_range * fixup(readme)!: always prefer latest neovim
* fix(v): add `vlang` as filetypeTuriiya2023-03-221-0/+1
|
* feat: add BassAmaan Qureshi2023-03-221-0/+8
|
* feat(html): injections in <script type>Benny Powers2023-03-221-0/+23
| | | | | | refactor(html): remove superfluous injection query fix(html): associate "module" type with "javascript"
* fix(parsers): alias sh to bashObserverOfTime2023-03-211-0/+1
|
* feat: add LuadocAmaan Qureshi2023-03-201-0/+8
|
* Use pre-generated parser files for sql grammarderekstride2023-03-161-1/+1
|
* fix: check if repo location exists for local pathsAmaan Qureshi2023-03-161-0/+3
|
* feat: add LLVM TableGenAmaan Qureshi2023-03-161-0/+8
|
* fix(windows): treat any non-cmd shell as powershell like in selectorAdam Wolski2023-03-161-3/+3
|
* fix(windows): fix invalid powershell separator during installAdam Wolski2023-03-161-1/+5
|
* fix: change folding algorithm to fix Python indentsGeorge Harker2023-03-151-4/+35
|
* parsers: add tree-sitter-mlir parserRamkumar Ramachandra2023-03-141-0/+10
| | | | | | The parser is currently in development, and 60-80% of MLIR files in the test suite of MLIR, within the Arith, Math, SCF, Tensor, and Linalg dialects parse successfully.
* refactor!: remove setting the update strategyAmaan Qureshi2023-03-112-9/+2
|
* docs: add missing fields from InstallInfo, update code docs related to ↵Amaan Qureshi2023-03-112-0/+19
| | | | installation
* chore: clean up parsers.luaAmaan Qureshi2023-03-111-129/+16
|
* feat: add HareAmaan Qureshi2023-03-111-0/+8
|
* feat: add gitconfigAmaan Qureshi2023-03-101-0/+10
|
* chore(gleam): update parser infoAmaan Qureshi2023-03-101-2/+2
|
* fix(gleam): add scanner.c to parsers list & update lockfileAmaan Qureshi2023-03-101-2/+1
|
* feat: add SquirrelAmaan Qureshi2023-03-071-0/+8
|
* feat: add Uxn TalAmaan Qureshi2023-03-071-0/+10
|
* docs: fix readme namesObserverOfTime2023-03-041-3/+3
|
* feat: add luapAmaan Qureshi2023-03-041-0/+9
|
* feat: add cueAmaan Qureshi2023-03-041-0/+8
|
* markdown!: switch to scanner.cChristian Clason2023-03-021-2/+2
|
* Update gdscript queries (#4405)Preston Knopp2023-03-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * locals(gdscript): update locals * folds(gdscript): add folds * indents(gdscript): update indents with notes * highlights(gdscript): update highlights * docs(gdscript): add gdscript maintainer * indents(gdscript): add ERROR auto indent Co-authored-by: Amaan Qureshi <amaanq12@gmail.com> * highlights(gdscript): use text.uri for get_node and node_path * highlights(gdscript): add "@" of annotation as attribute * highlights(gdscript): use keyword.operator for "new", match all attribute_call * highlights(gdscript): update (underscore) and (pattern_open_ending) --------- Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
* fix: remove wrong/pointless tostringJaehwang Jung2023-03-021-7/+7
|
* feat: add prql (#4393)Matthias Q2023-03-011-0/+10
| | | | | | | | | | | | | * feat: add prql * highlights(prql): null as constant.builtin * highlights(prql): add missing kwd, update queries * highlights(prql): remove redundant queries * highlights(prql): make `->` a delimiter * highlights(prql): instructions to `@method.call`
* feat: add POAmaan Qureshi2023-03-011-0/+8
|
* fix(qmldir): add to parsers.luaAmaan Qureshi2023-03-011-0/+8
|
* feat: add passwdAmaan Qureshi2023-02-281-0/+8
|
* feat: add matlabAmaan Qureshi2023-02-281-0/+8
|
* fix(eex): map eelixir filetype to the eex parserMitchell Hanberg2023-02-271-1/+1
|
* feat(fortran): update highlight queriesAmaan Qureshi2023-02-271-0/+1
|
* feat: add yuckPhilipp Mildenberger2023-02-271-0/+9
|
* fix: do not recommend removing bundled parsersChristian Clason2023-02-261-2/+1
|