Commit graph

190 commits

Author SHA1 Message Date
Stephan Seitz
5f37847dd8 C highlights: add bitwise-xor operator 2020-08-27 07:30:02 +02:00
Steven Sojka
a8ec43da64 fix(locals): add js namespace import as definition 2020-08-26 14:14:20 +02:00
Pau Ruiz Safont
3fe5a067b3 feat(highlights): add ocaml 2020-08-24 10:16:38 +02:00
Stephan Seitz
32fdbe519e feat(c/cpp highlights): highlight pointer/reference parameters 2020-08-24 09:54:26 +02:00
Stephan Seitz
627a1e558f C++ highlights: Add initial support for attributes 2020-08-22 19:32:59 +02:00
Stephan Seitz
5c0ca925af Python highlights: add additional operators
This is applies the upstream PR to our repo:
https://github.com/tree-sitter/tree-sitter-python/pull/73
2020-08-20 11:51:30 +02:00
Avi Dessauer
d2538ab7a7 Change self back to variable.builtin 2020-08-20 09:03:58 +02:00
Avi Dessauer
aacca0abf1 Deduplicate queries/rust/highlights.scm
Co-authored-by: TravonteD <tman1300@aol.com>
2020-08-20 09:03:58 +02:00
Avi Dessauer
df37483e3a Highlight operators + improve consistency with Vim syntax 2020-08-20 09:03:58 +02:00
Santos Gallegos
fe8d91b748 Python: fix some highlights
These aren't valid lua patterns
2020-08-18 10:31:42 -05:00
Nathan Smith
05798284ff
@function.method -> @method 2020-08-17 19:30:04 -07:00
Santos Gallegos
6effdfbdc4 Python: update highlights
- Fix "as" outside imports
- Add builtin classes and constants
2020-08-17 22:23:46 +02:00
Steven Sojka
54b485ba7b
Merge pull request #319 from kyazdani42/feat/add-jsx-fragment-and-self-closing
add jsx fragment and jsx self closing element highlights
2020-08-17 14:25:53 -05:00
Steven Sojka
cab8717959 chore(highlights): remove is predicate usage 2020-08-17 19:27:35 +02:00
Steven Sojka
b796f0725d
Merge pull request #305 from theHamsta/textobjects-submodules
Textobjects submodules
2020-08-17 11:39:22 -05:00
kiyan42
9c8c01dc0f add jsx fragment and jsx self closing element highlights 2020-08-17 18:35:15 +02:00
kiyan42
20e448882e some refacto, doc fixes and jsx queries
- compute query language extensions *after* default ones
(jsx after javascript)
- remove outdated ts_utils functions from docs
- add better regex detection to javascript
- javascriptreact to use javascript queries
- add javascript.jsx to javascript queries
- write jsx.scm hl file
2020-08-17 17:48:33 +02:00
Stephan Seitz
5cfa03f2bd Textobjects: add swap feature 2020-08-17 17:44:40 +02:00
TravonteD
72905524c2 Add fennel support 2020-08-16 20:40:33 -04:00
Santos Gallegos
cf37d143bf Python: update highlights
- Get rid of @self
- Highlight methods correctly
- Highlight self as the first parameter of a method
- Use new syntax (# for predicates, (_) instead of (*) for wildcards)
2020-08-16 22:00:11 +02:00
Santos Gallegos
ed3469b59f Python: update locals 2020-08-16 21:49:14 +02:00
Steven Sojka
ce43dbf54c fix(queries): use vim-match for non lua regexes 2020-08-16 18:31:56 +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
5462027beb
Merge pull request #295 from steelsojka/feature/set-scopes-for-definitions
feat(defintions): allow setting of scope
2020-08-16 11:26:44 -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
Chinmay Dalal
64df3e1791 [java] Add label highlight 2020-08-16 09:58:33 +02:00
Steven Sojka
e5434fc21e fix(locals): add shorthand identifiers as references and definitions 2020-08-14 14:22:05 +02:00
Stephan Seitz
187dc8e3f5 Python highlights: Highlight ->, ... 2020-08-14 13:53:00 +02:00
Stephan Seitz
c41b6e9197 Fix #286: Highlight C++ raw_string_literal 2020-08-13 09:48:07 +02:00
Steven Sojka
7806b16cc2 fix(java): add lambdas as a scope 2020-08-12 21:20:54 +02:00
Santos Gallegos
8f3b601bcc RST: update textobjects 2020-08-11 20:21:03 +02:00
Stephan Seitz
1c366a3a1c Lua highlights: add operator "=" and punctuation 2020-08-11 14:11:24 +02:00
Akin Sowemimo
941e40f659 Re add missing comments 2020-08-09 19:12:26 +02:00
Akin Sowemimo
1427c43cf0 Change capture groups and add variable highlights 2020-08-09 19:12:26 +02:00
Akin Sowemimo
aaa990053a Add break and increment operators and tweak formatting 2020-08-09 19:12:26 +02:00
Akin Sowemimo
942fe70452 Add todo comment and change this highlight group 2020-08-09 19:12:26 +02:00
Akin Sowemimo
d4fbbc05af Add new highlight queries 2020-08-09 19:12:26 +02:00
Santos Gallegos
429036317a Lua: highlight function name 2020-08-09 18:38:00 +02:00
Thomas Vigouroux
6133257ed6 highlights(rust): fix some type highlights. 2020-08-07 15:03:20 +02:00
Thomas Vigouroux
94a5056269 highlights(rust): add async/await keywords 2020-08-07 15:03:20 +02:00
Santos Gallegos
81d444c498 RST: update queries 2020-08-07 10:51:00 +02:00
Shirasaka
dccc250add PHP: Update locals query 2020-08-05 21:28:50 +02:00
Santos Gallegos
124ff3bf56 Python: update textobjects queries 2020-08-04 10:09:11 +02:00
Santos Gallegos
32c19ec1e8 Lua: fix @error capture 2020-08-04 08:07:49 +02:00
Shirasaka
f372e2ab87 Add PHP, TOML, and update HTML, javascript queries
- PHP         : Add highlights and locals query
- TOML        : Add highlights and locals query
- HTML        : Add scope
- javascript  : Add some scopes
2020-08-04 08:05:51 +02:00
Stephan Seitz
a0abaf936c Lua locals: Make property_identifier a reference 2020-08-03 08:06:40 +02:00
Santos Gallegos
5c5f4c5d54 RST: update locals 2020-08-01 19:18:54 +02:00
Santos Gallegos
8cacd5aaac RST: update highlights 2020-08-01 14:33:36 +02:00
Santos Gallegos
b1da6ad8b3 rst: update highlight queries 2020-07-29 10:04:46 +02:00