Commit graph

1364 commits

Author SHA1 Message Date
Nick Friday
ba752cee13 fix(ecma injections): jsdoc match /** */ only 2022-09-15 15:41:18 -07:00
Matthias Queitsch
3aef8d60ae highlights(sql): remove grouped keyword 2022-09-14 08:22:21 +02:00
Matthias Queitsch
1c384edc57 highlights(sql): removed duplicate keywords, added new keyword, hashing
as function.calls
2022-09-14 08:22:21 +02:00
Lewis Russell
2eaf188269 fix(fold): don't include whitespace end regions
Some languages that are difficult to parse via Treesitter may
incorrectly include whitespace lines at the end of regions. This can
makes the calculated folds sub-optimal.

To recitfy, use a custom directive (trim), to calculate the range with
the trailing whitespace lines removed. Note this only works if the
region end column is 0.

Also added folds for Make.
2022-09-12 11:49:51 +01:00
Lewis Russell
c836f946a9 highlights(lua): add spell 2022-09-12 11:02:35 +01:00
Gabriele Musco
3c2d63c118 parsers: add blueprint parser 2022-09-12 10:54:58 +01:00
Omar Zeghouani
05a07e6e34 Add spell query 2022-09-11 04:21:53 -07:00
Stephan Seitz
f9d1c68cf9 highlights(solidity): use @function.call/@method.call 2022-09-11 04:16:06 -07:00
Stephan Seitz
d11d35fb61 highlights(hack): use @function.call/@method.call 2022-09-11 04:16:06 -07:00
Stephan Seitz
600ac0f358 highlights(haskell): use @function.call 2022-09-11 04:16:06 -07:00
Stephan Seitz
69d0e942a0 highlights(elvish): use @function.call 2022-09-11 04:16:06 -07:00
Stephan Seitz
730efb4e58 highlights(elvish): use @operator for operators 2022-09-11 04:16:06 -07:00
Stephan Seitz
4b32b75d4d highlights(fish): use @function.call 2022-09-11 04:16:06 -07:00
Stephan Seitz
b2e0472a55 highlights(clojure): use @function.call 2022-09-11 04:16:06 -07:00
Stephan Seitz
e7fe083fbc highlights(clojure): out-comment TODO query 2022-09-11 04:16:06 -07:00
Stephan Seitz
b866165732 highlights(wgsl): use @function.call 2022-09-11 04:16:06 -07:00
Stephan Seitz
f66a911a95 highlights(ecma): use @method.call/function.call 2022-09-11 04:16:06 -07:00
Stephan Seitz
c557c68729 highlights(c_sharp): use @method.call 2022-09-11 04:16:06 -07:00
Stephan Seitz
f53a5a6471 highlights(hlsl): add more reserved modifiers 2022-09-10 13:03:14 -07:00
Stephan Seitz
3f6845d938 highlights(hlsl): add "globallycoherent" 2022-09-10 13:03:14 -07:00
Stephan Seitz
7a3ecabf56 highlights(css): fix property highlighting
Apply fix as suggested by https://github.com/binhtran432k

Fixes #3395

Co-authored-by: Trần Đức Bình <binhtran432k@users.noreply.github.com>
2022-09-10 13:02:07 -07:00
Stephan Seitz
00b4ef5759 indents(ecma): make "]" @indent_end
Fixes #3382
2022-09-10 12:59:21 -07:00
Guillaume Bouchard
82f48cfe75 Add @spell directives for haskell 2022-09-10 11:18:18 -07:00
Cezary Drożak
f2d3d509d9 feat: add jsonnet 2022-09-10 11:09:10 -07:00
przepompownia
72d61cd9fa highlights(phpdoc): check spell within text 2022-09-10 11:08:04 -07:00
Cameron
8961b598dc Add global variable highlighting 2022-09-10 11:07:45 -07:00
ObserverOfTime
721251dbfc feat: add tree-sitter-gitattributes 2022-09-09 09:46:54 +02:00
derekstride
612af3061d highlights(sql): missing keyword & marginalia 2022-09-08 21:13:17 +02:00
Matthias Queitsch
5b4fd6ba00 removed duplicated kw, start capturing subtree earlier 2022-09-08 17:44:21 +02:00
Matthias Queitsch
72eac1deeb change table_expression -> table_reference 2022-09-08 17:44:21 +02:00
Ananda Umamil
9b13872f19 highlights(meson): delimiter and operatorunit 2022-09-08 03:42:59 -07:00
Christian Clason
e58b7f9950 feat(viml): bump parser and queries 2022-09-08 01:24:39 +02:00
Lewis Russell
2a63ea5665 feat(spell): upstream spell queries from spellsitter 2022-09-06 12:44:19 +01:00
Martin Pépin
82036f8db8 Add support for menhir (OCaml parser generator) 2022-09-05 14:48:58 -07:00
Alex Pinkus
98d5fe400c highlights(swift): fix for_statement variable declaration
Incorporates a fix from upstream, caught due to the emacs tree-sitter
plugin using an older version of tree-sitter that does stricter
validation.
2022-09-05 21:16:04 +02:00
Chinmay Dalal
84a7219d16 make: add substitution_reference @operator 2022-09-03 05:55:14 -07:00
ShootingStarDragons
73cd1f189b feat(qmljs): boolean
boolean is not in the right color, so fix it

Log: fix the color of boolean for qmljs
2022-09-02 18:54:45 -07:00
Raafat Turki
7845f31839 style: stylua 2022-09-01 05:10:23 -07:00
Raafat Turki
611111ec7e feat(sxhkdrc): add folds and injections 2022-09-01 05:10:23 -07:00
Raafat Turki
ddcda04301 feat: add tree-sitter-sxhkdrc 2022-09-01 05:10:23 -07:00
Marc Jakobi
4b0dab183e Add postresql-simple sql to haskell injections 2022-08-29 14:07:39 -07:00
Guillaume Bouchard
32e1f654e7 Fix aesonQQ quasiquote_body for haskell injections
Fix name of the captured quoter
2022-08-29 13:51:46 -07:00
Guillaume Bouchard
3993d90a52 Haskell injection: support inline json
Support for inline json using the quasiquoter `aesonQQ`: https://github.com/sol/aeson-qq#readme
2022-08-29 13:51:46 -07:00
Matthias Queitsch
6e0e03285a account for added and renamed keywords 2022-08-29 01:30:28 -07:00
ShootingStarDragons
783fec3815 feat(agda): better highlight
Add highlight for bool

add highlight for function

Log: better highlight
2022-08-27 01:46:09 -07:00
ShootingStarDragons
bf8e987519 feat(cmake): add escape to highlight
add escape word like "\n", "\;" to highlight

Log: escape sequence highlight for cmake
2022-08-27 01:36:15 -07:00
ShootingStarDragons
d50ded1471 chore(meson): add injections for meson
add comment as injections as other languages like bash

Log: add injections for meson
2022-08-27 01:35:47 -07:00
numToStr
69a55e86ce injections(jsx): highlight <style jsx> as css 2022-08-26 12:05:02 -07:00
ShootingStarDragons
d4ca2c6791 feat(meson): add support for meson
Log: meson build
2022-08-26 11:55:16 -07:00
Christian Clason
08e9b7cdf7 feat(viml): update queries 2022-08-26 20:54:32 +02:00