aboutsummaryrefslogtreecommitdiffstats
path: root/lua
Commit message (Collapse)AuthorAgeFilesLines
...
* feat(t32): add indent rules (#4782)Christoph Sax2023-05-181-1/+1
|
* fixup: use correct require syntaxPham Huy Hoang2023-05-171-1/+1
|
* refactor(indent): backport improvements from mainChristian Clason2023-05-171-52/+71
| | | | | | * replace ts_utils.memoize_by_buftick by simpler implementation * simplify construction of hash map * prefer Neovim APIs
* fix indent/fold memleakPham Huy Hoang2023-05-161-1/+1
|
* fix: force upstreamed predicatesChristian Clason2023-05-151-2/+2
|
* Added USD as a language + some queriesColin Kennedy2023-05-151-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added USD highlight unittests Added USD indentation Added USD indents.scm file Added USD indent rules Simplified USD highlight groups Added explicit highlight groups Added newline Removed after/ftdetect/usda.lua usd/indents.scm - Added inline comments explaining the nodes Fixed USD highlight group unittests Added indentation unittests Simplified USD `@identifier` highlighting Added USD documentation highlight group tests Simplified USD highlight groups Moved USD `@identifier` and `@namespace` highlights into one place Removed and simplified tests/query/highlights/usd Simplified tests/query/highlights/usd more Removed trailing newline Combined USD test files Added `set filetype=usd` to minimal_init.lua
* feat: add OdinAmaan Qureshi2023-05-131-0/+8
|
* feat: add janet_simplesogaiu2023-04-301-0/+9
|
* feat: add luauAmaan Qureshi2023-04-281-0/+8
|
* feat: add puppetAmaan Qureshi2023-04-261-0/+8
|
* fix: add `-f` to `mv` to avoid errors when updatingWindSoilder2023-04-261-1/+1
|
* feat(smali): update queries from upstream parserAmaan Qureshi2023-04-251-1/+1
|
* docs: update readme maintainersAmaan Qureshi2023-04-211-2/+2
|
* chore(parsers): update http maintainersAmaan Qureshi2023-04-201-1/+1
|
* docs: update gitconfig in readme to reflect parser name (#4656)stefan2023-04-201-1/+1
|
* feat(markdown): configured aliases for fenced code block languages (#4659)Benny Powers2023-04-181-11/+44
| | | | | | | | | * feat(markdown): configured aliases for languages * refactor: use vim.treesitter.match * refactor: rename local vars * fix: query syntax
* fix(compat): add missing get_node_text, required by playground (#4666)tzachar2023-04-171-0/+4
|
* fix(checkhealth): use non-deprecated versions if possibledundargoc2023-04-161-18/+22
|
* 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
|