Commit graph

3875 commits

Author SHA1 Message Date
ghostbuster91
06075ecd04 fix(scala): Add missing locals definitions for scala 2023-04-01 14:29:43 -04:00
GitHub
ee1d618280 Update parsers: vhs 2023-04-01 16:26:57 +02:00
Christian Clason
93fa5df0a3 chore(help)!: renamed to vimdoc 2023-04-01 16:10:11 +02:00
Trey Wood
2f3113ff6d
fix(ruby): then blocks should not be @conditional, just "then" 2023-03-31 11:43:55 -04:00
Matthias Queitsch
d546bcd1f1 highlights(sql): add full, any and some keywords 2023-03-31 06:13:45 -04:00
GitHub
09275650b8 Update parsers: cue, sql 2023-03-30 09:16:10 +02:00
Trey Wood
5d85bdd883 update sql parser and highlights 2023-03-29 18:29:40 -04:00
dundargoc
1727f63976 docs: fix typos 2023-03-29 18:28:56 -04:00
kawas44
c07c1c5b98 feat(spell): support lisp like languages
Add spell to commonlisp, scheme, racket, clojure and fennel.
2023-03-29 17:48:30 -04:00
GitHub
9850baa958 Update parsers: help, tlaplus, v, vhs 2023-03-29 09:42:02 +02:00
GitHub
5a7a2ad172 Update parsers: erlang, pony, v 2023-03-28 09:37:39 +02:00
GitHub
63e4a3a40a Update parsers: awk, cpp, cuda, glimmer, haskell, hlsl, perl, swift, v 2023-03-27 22:41:54 +02:00
Amaan Qureshi
47615a947a feat(perl): update queries from upstream changes 2023-03-27 13:49:44 -04:00
Github Actions
0a907316fa Update README 2023-03-27 11:04:29 -04:00
Amaan Qureshi
eb1e599251 feat: add FIRRTL 2023-03-27 10:46:59 -04:00
Amaan Qureshi
eadf4f43c6 feat: add Pony 2023-03-27 10:46:35 -04:00
ObserverOfTime
ac13230ddd chore(lockfile): bump arduino 2023-03-27 10:20:38 -04:00
Amaan Qureshi
a9df886c2e chore(lockfile): bump cuda & hlsl 2023-03-27 10:20:38 -04:00
John Drouhard
300ba8d5a5 feat(cpp): simplify namespace query rules now that parser is a bit more consistent 2023-03-27 10:20:38 -04:00
Chris Kipp
25dd24ed0e feat(scala): add in local variables queries
This syncs the queries that were updated in https://github.com/tree-sitter/tree-sitter-scala/pull/196.

Co-authored-by: ghostbuster91 <ghostbuster91@users.noreply.github.com>
2023-03-27 06:48:21 -04:00
Amaan Qureshi
e559b6fb3f feat(kotlin): update queries from upstream changes 2023-03-26 23:17:24 +02:00
Leix b
981f88a0c2
fix(rockspec): add doc folder to rockspec (#4562) 2023-03-26 19:12:51 +02:00
Pham Huy Hoang
c9ef5e58f7 feat(python): add break/continue dedent 2023-03-25 00:31:57 -04:00
Pham Huy Hoang
1ffa019856 feat(python): add match-case indents 2023-03-25 00:31:57 -04:00
Sergey Kacheev
a072d923c7 fix: uninstall function in the install.lua
The get_ensure_installed_parsers function return a table
for the option "all" because uninstall accepts a table
2023-03-24 23:23:02 +01:00
Tom van Dijk
5c3e8dee64 fix: get_range shim for playground 2023-03-24 22:17:04 +00:00
George Harker
cb568af539 use indent.X syntax for captures and properties of set directives
update CONTRIBUTING.md

adjust indents for bass

fix doc capture comment
2023-03-24 13:07:53 -04:00
George Harker
b4fcc61175 split delimiter into open_delimiter and close_delimiter 2023-03-24 13:07:53 -04:00
George Harker
d1333dd7e5 refactor(indent)!: Rework indent, aligned indent
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
2023-03-24 13:07:53 -04:00
Lewis Russell
90ead4ed58 fix: shim 0.9 deprecations 2023-03-24 16:05:38 +01:00
Lucario387
c7b9f68d03
feat(vue): add tsx/jsx injection queries (#4550)
* feat(vue): add tsx/jsx injection queries

- add a test

- style: format vue/injections.scm
2023-03-24 14:38:19 +00:00
Amaan Qureshi
17a81d7b35 feat(luadoc): add more annotations 2023-03-24 08:19:13 -04:00
kylo252
1f087c91f5
fix(health): check required neovim version (#4330)
* fix(health): check required neovim version

* fixup(health)!: require v0.8.3 for is_in_node_range

* fixup(readme)!: always prefer latest neovim
2023-03-24 03:36:30 +01:00
Amaan Qureshi
87cf2abeb6 feat(typescript): add various missing function/method captures 2023-03-22 18:03:20 -04:00
Matthias Queitsch
9db3769c4b highlights(sql): bump lockfile 2023-03-22 22:01:21 +01:00
Matthias Queitsch
97a354ff44 highlights(sql): add new keywords for views and defaults 2023-03-22 22:01:21 +01:00
Turiiya
dbdbd71b41 fix(v): add vlang as filetype 2023-03-22 11:48:36 +01:00
Amaan Qureshi
40670af980 feat: add Bass 2023-03-22 06:34:30 -04:00
Anthony Shi
9253ce66f9 fix(python): add object as @type.builtin 2023-03-22 05:27:28 -04:00
GitHub
9b4e8c1b97 Update parsers: glimmer 2023-03-22 02:56:38 -04:00
Benny Powers
19d9af8fb0 feat(html): injections in <script type>
refactor(html): remove superfluous injection query

fix(html): associate "module" type with "javascript"
2023-03-22 02:28:21 -04:00
Benny Powers
972da989bc test: ecma injections 2023-03-22 02:28:21 -04:00
Benny Powers
d228b51cd7 test: html injections 2023-03-22 02:28:21 -04:00
Stephan Seitz
8ae2c8ff49 highlights(proto): make "include"/"package" @include 2023-03-21 07:10:24 -04:00
Zhizhen He
181a580190 fix: revert for solidity 2023-03-21 02:23:52 -04:00
Zhizhen He
a1df50a79f docs: fix typo 2023-03-21 02:23:52 -04:00
GitHub
2e85a7f4f3 Update parsers: glimmer, sql 2023-03-21 07:05:15 +01:00
ObserverOfTime
379305aa7f fix(parsers): alias sh to bash 2023-03-21 00:00:05 +02:00
ObserverOfTime
25b656a4b7 comment(highlights): reduce user mention priority 2023-03-20 04:47:56 -04:00
Amaan Qureshi
bc23db2515 feat: add Luadoc 2023-03-20 04:20:49 -04:00