Commit graph

3658 commits

Author SHA1 Message Date
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
GitHub
24f6653ffe Update parsers: gdscript, thrift
update gdscript indent queries to parser change and remove @Shatur as
maintainer
2023-02-14 11:55:08 +01:00
Emmanuel Briot
4db6696672 ada(highlights,folds,locals): update to parser changes 2023-02-14 11:40:52 +01:00
GitHub
ad9ae9e7de Update parsers: diff, norg, racket, teal 2023-02-13 09:47:39 +01:00
Santos Gallegos
1ec36fdcd5
comment(highlights): reduce false positives (#4298)
There are a couple cases where the comment highlights
will match things that aren't necessary a tag.
For example in Rust, when commenting a block that deals with
generics (generics are declared as `T: Type`),
this may be distracting.

So, instead of highlighting all tags, we can restrict
to highlighting the explicit keywords.

Ref https://github.com/stsewd/tree-sitter-comment/issues/14
2023-02-13 09:43:26 +01:00
Kiyoon Kim
7eb5f1a2e3 properly replace deprecated tsutils functions 2023-02-12 14:26:14 -08:00
Omar Zeghouani
ab5cc6414e
chore(fish): update test command highlight query (#4306) 2023-02-13 00:19:48 +02:00
Kiyoon Kim
2c2430d42f deprecate get_node_range and is_in_node_range 2023-02-12 02:38:17 -08:00
GitHub
148cf37572 Update parsers: c_sharp, capnp, fortran, func, glimmer, haskell, php, ron, sql, v 2023-02-12 11:35:04 +01:00
Ananda Umamil
4e26fec074 highlights(php): use lua-match?
Co-authored-by: Stephan Seitz <stephan.seitz@fau.de>
2023-02-12 01:23:19 -08:00
Ananda Umamil
0c6835ce5e highlights(php): remove typedef capture from as 2023-02-12 01:23:19 -08:00
Ananda Umamil
620b947218 highlights(php): fix @constant queries 2023-02-12 01:23:19 -08:00
Ananda Umamil
f83f05798a highlights(php): fix queries related to namespaces 2023-02-12 01:23:19 -08:00
ObserverOfTime
74151445d0 highlights(kotlin): fix function highlights 2023-02-12 01:21:58 -08:00
Vir Chaudhury
d7c12db4c8 astro: add injections for scss 2023-02-11 15:55:56 -08:00
ObserverOfTime
5b71f2674a injections(svelte): add pug injection 2023-02-11 15:40:34 -08:00
haoxian
dd600cf1c2 fix: incremental_selection error
if some empty lines in the end of file,
would throw error messages when incremental_selection to the whole file.
2023-02-11 15:37:53 -08:00
GitHub
f6df07be12 Update parsers: haskell, jsonnet, tlaplus 2023-02-08 09:59:46 +01:00
GitHub
df6f322089 Update parsers: ebnf, embedded_template, gdscript, kdl, thrift, zig 2023-02-07 09:32:25 +01:00
GitHub
d3a68725e8 Update parsers: c_sharp, cmake, kdl, pug, v, vim 2023-02-05 23:10:30 -08:00
Amaan Qureshi
c3a7dd4768 feat: improve KDL queries 2023-02-05 23:08:41 -08:00
Christian Clason
24d5be6e71 feat(markdown): add latex injections
added in https://github.com/MDeiml/tree-sitter-markdown/pull/71
2023-02-05 08:29:45 -08:00
Amaan Qureshi
720f75f988 feat: add RON 2023-02-05 02:21:49 -08:00
GitHub
70af55b428 Update parsers: arduino, markdown, markdown_inline, tlaplus 2023-02-05 10:37:36 +01:00
ObserverOfTime
bd7b4b6eff feat: add chatito 2023-02-04 04:19:40 -08:00
GitHub
3fa887eaae Update parsers: gdscript, ruby, sql, zig 2023-02-04 10:40:04 +01:00