Commit graph

35 commits

Author SHA1 Message Date
Stephan Seitz
40588da97c Remove usages of @embedded in highlights 2021-01-06 09:12:32 -05:00
Stephan Seitz
d9105e00a6 Python highlights: Add regex injections: re.match(r"...") 2021-01-03 19:05:38 +01:00
Stephan Seitz
43381c1321 Regex highlights: Add constant highlight for class_character 2021-01-03 19:05:38 +01:00
Stephan Seitz
d1796695ac Remove textobjects from contributing 2020-10-23 12:41:50 +02:00
Thomas Vigouroux
c055899dc0 feat(queries): modeline mechanism for base langs
This implements https://github.com/neovim/neovim/pull/13059#issuecomment-704414189

This behaves like modelines and remove the use of the base_language map.
Also, this allows to fine-tune what we actually want to include per
query, which is better IMO.
2020-10-11 19:09:22 +02:00
Stephan Seitz
45397ebbd9 fix(highlights): Add TSNamespace highlight
Start adding highlights for
     - C++
     - Rust (including other scoped_identifier/scoped_type_identifier fixes)
     - JS (only namespace_import)

Addresses #516
2020-10-10 15:31:51 +02:00
Stephan Seitz
7e3c4f8089 Add @keyword.operator for operators that are English words and add @exception for Java/JS 2020-09-19 07:30:49 +02:00
TravonteD
c366a041c8 Add TSTag and TSTagDelimiter groups
These groups will be added for use with xml-like tags such as html and
jsx.
2020-09-18 17:09:43 +02:00
Santos Gallegos
b2e1ea1edf Update CONTRIBUTING.md
Co-authored-by: Thomas Vigouroux <tomvig38@gmail.com>
2020-09-17 17:21:29 +02:00
Santos Gallegos
434b937dfc Update contributing 2020-09-17 17:21:29 +02:00
Santos Gallegos
68d8f4c02e Remove @definition.doc captures
These aren't really definitions and are being show in the definitions
list. We aren't using them at the moment, we could use another group or
query file.
2020-09-17 09:18:05 +02:00
kiyan42
73ba2994ab add @none to contributing.md 2020-09-15 00:19:04 +02:00
Santos Gallegos
50991e370b Folds: rename query files to folds.scm to be consistent
We use plural names for all query files except folds.
2020-09-14 18:26:30 +02:00
Thomas Vigouroux
5d2b866518 ci: check capture names in queries 2020-09-11 12:02:35 +02:00
Thomas Vigouroux
03621e758c docs(fold): document and comment 2020-09-01 21:51:17 +02:00
Santos Gallegos
d4d77d6053 Docs: document @punctuation.special 2020-08-16 20:36:32 +02:00
Steven Sojka
4a747aa30c
Merge pull request #296 from steelsojka/feat-is-predicate
feat(highlights): add is predicate
2020-08-16 11:27:15 -05:00
Steven Sojka
7f7219b379 feat(definitions): allow setting of scope 2020-08-16 09:10:09 -05:00
Steven Sojka
579c9936d6 feat(highlights): add is predicate 2020-08-16 09:04:07 -05:00
Akin Sowemimo
bbe8e5eab2 Update contributing.md 2020-08-09 19:12:26 +02:00
Santos Gallegos
429036317a Lua: highlight function name 2020-08-09 18:38:00 +02:00
Santos Gallegos
6f9e5bf23f Docs: format and fixes
Format the docs to be consisted and some typos.
2020-07-27 16:49:07 +02:00
Santos Gallegos
6f01384cb2 Parsers: add reStructuredText 2020-07-27 09:16:26 +02:00
Stephan Seitz
a027ffbe82 Add rust locals.scm 2020-07-13 22:25:33 +02:00
Stephan Seitz
b6df2329bd Introduce @definition.import for Python/Javascript 2020-07-08 18:00:35 +02:00
Thomas Vigouroux
6ce0235e74 docs: advertise module-template in CONTRIBUTING.md 2020-07-08 11:48:47 +02:00
Stephan Seitz
27d7a0ffff Add style-check script 2020-07-06 11:15:17 +02:00
Thomas Vigouroux
35dfd7e1f4
Update CONTRIBUTING.md
This makes it more readable
2020-06-23 14:30:01 +02:00
TravonteD
0f836e0602 refactor: use newly introduced consolidated syntax 2020-06-20 09:03:39 -04:00
Stephan Seitz
8436f2b90b Update CONTRIBUTING.md for @doc 2020-06-07 12:39:58 +02:00
Stephan Seitz
f6bf56974e Introduce @include 2020-05-17 21:56:44 +02:00
Thomas Vigouroux
92aafcf51c queries: add C queries
Also add a missing `field` capture in locals query.
2020-05-16 14:47:17 +02:00
Stephan Seitz
0a98fd5795 Fix typo in CONTRIBUTING.md 2020-05-08 18:03:06 +02:00
Thomas Vigouroux
c6b0a62bd6 fix(CONTRIBUTING): typos 2020-05-07 14:03:29 +02:00
Thomas Vigouroux
2b3d4d21a8 docs: add contributig draft 2020-05-07 14:03:29 +02:00