Commit graph

3683 commits

Author SHA1 Message Date
Matthieu Coudron
84b047e424 fix(ci): remove double 'uses'
which invalidates the action
2023-02-24 11:18:15 +01:00
Lewis Russell
801ef85f93 feat: use vim.treesitter.language.get_lang/add/register() 2023-02-24 10:09:43 +00:00
Lewis Russell
f15d3b0322 feat!: remove support for used_by in parser configs 2023-02-24 10:09:43 +00:00
GitHub
b33ddcea5f Update parsers: c_sharp, sql, starlark 2023-02-24 10:40:04 +01:00
Amaan Qureshi
a3213e3dd7 fix(go): apply indents in a communication case in a select statement 2023-02-24 01:37:58 -08:00
Github Actions
37e7af1619 Update README 2023-02-24 10:32:14 +01:00
Amaan Qureshi
c38646edf2 feat: add cpon 2023-02-24 01:14:47 -08:00
Amaan Qureshi
853b1ab39a style: fill in missing code docs wherever applicable 2023-02-24 01:08:23 -08:00
Amaan Qureshi
fceb4ed0ec feat: add dhall 2023-02-24 09:10:11 +02:00
Cameron
1e8ad621a5 Extend injections for Lua to use query parser 2023-02-24 09:03:50 +02:00
Amaan Qureshi
f8595b13bf feat(java): some instances of definition.var should be definition.parameter 2023-02-23 15:41:26 -08:00
Amaan Qureshi
7dfaa60a85 feat(java): distinguish escape sequences, move certain keywords to more appropriate places 2023-02-23 15:41:26 -08:00
Amaan Qureshi
1641c4f3b4 feat: add starlark 2023-02-23 15:28:30 -08:00
dundargoc
83e2e22d9e ci: remove ready_for_review type
It's only needed if a job is disabled for drafts. Otherwise it will just
run the same workflow twice.
2023-02-23 21:03:02 +01:00
dundargoc
4612212c72 docs: fix typos 2023-02-23 11:39:43 -08:00
GitHub
598b878a2b Update parsers: c, capnp, cpp, cuda, hlsl, javascript, rust, smali 2023-02-23 15:17:33 +01:00
Amaan Qureshi
454876fc6d feat(capnp): improve queries 2023-02-23 08:35:27 +02:00
Marc Jakobi
ba35d094c1
ci: add release workflow for luarocks upload (#4109) 2023-02-22 19:15:43 +01:00
Josef Litoš
a4b72d4f7f Update highlights.scm 2023-02-22 10:08:30 -08:00
Josef Litoš
3f5ff9b434 Update queries/kotlin/highlights.scm
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
2023-02-22 10:08:30 -08:00
JosefLitos
94f3e8b069 feat(kotlin): improved highlight queries 2023-02-22 10:08:30 -08:00
Amaan Qureshi
2277c0c2a7 feat(elsa): improve queries 2023-02-22 19:06:35 +02:00
Github Actions
8b444f9997 Update README 2023-02-22 14:32:45 +01:00
GitHub
3044180ce0 Update parsers: dockerfile, elsa, fortran, gosum, kdl, ron, scala, swift, thrift, vhs 2023-02-22 14:21:44 +01:00
Amaan Qureshi
8c4a22fd50 feat(smali): improve queries 2023-02-22 14:11:22 +01:00
Matthias Queitsch
c9d7f9c920 highlights(sql): update highlight queries
highlights(sql): add bool, attributes, conditionals

highlights(sql): add builtins

highlights(sql): add parameters

highlights(sql): add temp table attribute

update sql highlights; add floats

bump sql version

bump upstream sql version

highlights(sql): fix float regex

fix upstream changes; bump sql version
2023-02-20 22:47:45 -08:00
Laytan Laats
ce0dba96f4 feat(go): add folds for type switch and switch cases 2023-02-19 08:16:30 -08:00
GitHub
8b6f08165b Update parsers: python 2023-02-19 11:53:06 +01:00
Amaan Qureshi
93386fc725 feat(thrift): improve queries 2023-02-18 09:37:41 -08:00
Amaan Qureshi
17d7cf6f4b feat: add @text.uri where applicable to thrift and gosum 2023-02-18 02:07:28 -08:00
GitHub
79ceb393d6 Update parsers: fortran, git_rebase, sql 2023-02-18 00:23:48 -08:00
Bulgantamir Gankhuyag
c90fa75784 Update CONTRIBUTING.md
Fixed link of the supported languages.
2023-02-18 00:16:30 -08:00
ray-x
0493aa026b highlight for module path 2023-02-17 16:54:18 -08:00
kylo252
d1d00f46ce refactor(utils): clean up deprecated code
use `vim.treesitter.is_in_node_range()` directly
2023-02-17 16:54:02 -08:00
Eleanor Bartle
2e95d25412 Split out @keyword.return
Moves `break` and `continue` to `@repeat`. Leave coroutine keywords in `@keyword.return`. I'd really like a `@keyword.coroutine`.
2023-02-17 14:30:42 -08:00
Eleanor Bartle
9a0e095eba Add spelling checks to strings and comments
I didn't touch these bits so they aren't in status quo, but sure, I'll fix them.
2023-02-17 14:30:42 -08:00
Eleanor Bartle
bf3b792ce6 Update Zig highlights
Recently I rearranged the keywords. This PR brings the highlights query file up to date with that.
2023-02-17 14:30:42 -08:00
github-actions[bot]
be26661417
Update parsers: ledger, sql (#4331)
Co-authored-by: GitHub <noreply@github.com>
2023-02-17 08:21:37 +00:00
Github Actions
b23856a88e Update README 2023-02-16 03:01:59 -08:00
Kiyoon Kim
80e41f22ce prettier formatting yml and md 2023-02-16 01:48:37 -08:00
GitHub
37544570c9 Update parsers: c_sharp, fortran, sql 2023-02-16 01:48:06 -08:00
Kiyoon Kim
b44871afb5 Add treesitter CLI in CI with Windows and mac 2023-02-15 03:23:38 -08:00
Kiyoon Kim
73559e3793
docs(readme): remove ambiguous comment (#4321)
I've seen many people, including myself, being confused about `highlight { enable = false }` disabling the whole extension. It means it will disable highlighting, but people get it wrong thinking that they can't use textobjects or any other treesitter related stuff.
2023-02-15 10:20:06 +01:00
Stephan Seitz
160091db4c
fortran(highlights): update parser and queries (#4322)
See 3738e8cf97
2023-02-14 22:53:46 +01:00
Byron Kim
6cdaf3f15e needed for terraform conditionals 2023-02-14 10:09:09 -08:00
Byron Kim
cac4ea0a08 updated comment to reflect highlight change 2023-02-14 10:09:09 -08:00
Byron Kim
cc9823401f reverting back since it inherits from hcl 2023-02-14 10:09:09 -08:00
Byron Kim
3d5384ac46 update identifier 2023-02-14 10:09:09 -08:00
Byron Kim
da6ac77e76 update to variable.builtin 2023-02-14 10:09:09 -08:00
Github Actions
f475b24c81 Update README 2023-02-14 12:06:29 +01:00