Stephan Seitz
ce7efd34c6
Add Windows support (mingw)
2020-08-27 22:20:30 +02:00
Thomas Vigouroux
34160bb6f2
fix(health): only check installed parsers
...
This is to avoid awfully long checkhealths. And not installed parsers
can be infered from the fact that they are not listed.
2020-08-27 21:39:11 +02:00
Thomas Vigouroux
dee3c242d9
docs: document foldmethod workarounds
2020-08-27 15:06:12 +02:00
Stephan Seitz
5f37847dd8
C highlights: add bitwise-xor operator
2020-08-27 07:30:02 +02:00
Steven Sojka
e8fa0d0b31
Merge pull request #348 from theHamsta/readme-comma
...
docs: fix syntax error in README example
2020-08-26 07:20:58 -05:00
Steven Sojka
a8ec43da64
fix(locals): add js namespace import as definition
2020-08-26 14:14:20 +02:00
Stephan Seitz
2bd13c9d41
docs: fix syntax error in README example
2020-08-26 13:22:31 +02:00
Stephan Seitz
47b45ff883
feat(CI): print text what went wrong when README CI fails
2020-08-25 15:22:15 +02:00
Stephan Seitz
7c9ffe9e19
Fix #292 : Add parser links to README.md
2020-08-25 14:58:28 +02:00
Steven Sojka
5d97cc5e09
fix(locals): add nil guard for definition id creation
2020-08-25 14:35:08 +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
Steven Sojka
3b2cb65d4c
Merge pull request #330 from steelsojka/fix-do-not-reattach
...
fix(modules): do not reattach if already attached
2020-08-22 09:10:28 -05:00
Steven Sojka
3fe8bbcf9c
fix(modules): do not reattach if already attached
2020-08-22 06:07:21 -05:00
Steven Sojka
53fda90be0
fix(smart_rename): fix usages call
2020-08-21 23:23:46 +02:00
Steven Sojka
f3a515b350
Merge pull request #331 from theHamsta/sudo-style-check
...
Run style check as sudo
2020-08-21 12:22:32 -05:00
Stephan Seitz
81182975ee
fix(CI): Run style check as sudo
2020-08-21 18:52:18 +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
evakuator
6f1908a2ec
Docs: remove enable=true from textobjects module
2020-08-20 09:00:46 +02:00
evakuator
7e704852dc
Docs: fix textobjects
2020-08-20 09:00:46 +02:00
Santos Gallegos
7f81df4409
Docs: documentation for modules/submodules
2020-08-18 19:15:47 +02:00
Steven Sojka
393900b387
Merge pull request #324 from stsewd/python-fix
...
Python: fix some highlights
2020-08-18 10:38:06 -05:00
Santos Gallegos
fe8d91b748
Python: fix some highlights
...
These aren't valid lua patterns
2020-08-18 10:31:42 -05:00
Steven Sojka
761faf23b7
Merge pull request #323 from nathunsmitty/master
...
Rename @function.method to @method
2020-08-18 06:53:27 -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
delphinus
0b3cd6c131
Avoid duplication of help tags
2020-08-17 17:56:05 +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
5216811459
chore(textobjects): split up into submodules
2020-08-17 17:46:40 +02:00
Stephan Seitz
32271b26ef
Textobjects: set jump before going to adjacent_textobject
2020-08-17 17:45:46 +02:00
Stephan Seitz
f3ed370643
Textobject goto: treat end differently that start
2020-08-17 17:45:46 +02:00
Stephan Seitz
be2cfc1bca
Textobjects: Allow nested textobjects on goto_adjacent
2020-08-17 17:45:46 +02:00
Stephan Seitz
f6681c230f
chore(textobject): use query.find_best_match to find next/previous textobject
2020-08-17 17:44:40 +02:00
Stephan Seitz
e629efafd8
Textobjects: provide mappings for all swap/goto functions
2020-08-17 17:44:40 +02:00
Stephan Seitz
1642e37499
Textobjects: Add goto_adjacent
2020-08-17 17:44:40 +02:00
Stephan Seitz
5cfa03f2bd
Textobjects: add swap feature
2020-08-17 17:44:40 +02:00
Steven Sojka
a5c89f3762
Merge pull request #316 from TravonteD/fennel
...
Add fennel support
2020-08-17 06:34:46 -05: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
Stephan Seitz
d2c5e496c0
docs(hlgroups): document TSAnnotation, TSCurrentScope, TSDefinition,
...
TSDefinitionUsage
2020-08-16 21:45:26 +02:00
Santos Gallegos
d4d77d6053
Docs: document @punctuation.special
2020-08-16 20:36:32 +02:00