Stephan Seitz
faa413287c
Cpp locals: Fix syntax
2020-07-13 23:29:15 +02:00
Stephan Seitz
ee80e1ebc5
Add module refactor.highlight_current_scope
2020-07-13 22:26:17 +02:00
Stephan Seitz
8dfe085c41
Add ts_utils.highlight_node
2020-07-13 22:26:17 +02:00
Stephan Seitz
a027ffbe82
Add rust locals.scm
2020-07-13 22:25:33 +02:00
Stephan Seitz
97ad374816
Fix #167 : Add custom_captures config key to set highlights for custom queries
2020-07-13 22:04:24 +02:00
Stephan Seitz
f803c74ebc
C/C++ highlights: Small improvements for type definitions
2020-07-13 21:29:49 +02:00
Stephan Seitz
26cb05f205
Lint: remove second argument for one-argument function
2020-07-13 20:42:00 +02:00
Santos Gallegos
366e8b43bf
Update example
2020-07-11 13:18:37 +02:00
Santos Gallegos
4f3954732b
Typo
2020-07-11 08:09:31 +02:00
Thomas Vigouroux
d891c6eb06
docs: add GH actions build badge
2020-07-09 22:41:34 +02:00
Thomas Vigouroux
81c5f88ee3
docs: remove unused build status badge
2020-07-09 22:39:43 +02:00
Thomas Vigouroux
0e041bd343
ci: use GH Actions istead of Travis CI
2020-07-09 22:34:34 +02:00
Thomas Vigouroux
d51b948617
docs: update README.md for Rust
2020-07-09 21:28:10 +02:00
Thomas Vigouroux
7a1b8b7656
docs: Add screenshot to the readme
2020-07-09 14:48:39 +02:00
Thomas Vigouroux
7bb0d7548d
highlight(c): fix booleans and types
2020-07-09 14:48:39 +02:00
Stephan Seitz
a5fb463309
Python locals: with_statement can define variables
2020-07-09 14:38:08 +02:00
Stephan Seitz
c361d65113
Python highlights: Surround type subscript query with (type ...)
2020-07-09 10:00:41 +02:00
Thomas Vigouroux
3faaeb479b
locals(lua): simplify args
2020-07-08 22:16:53 +02:00
Thomas Vigouroux
f9844d359e
highlight(lua): fix overlapping queries
2020-07-08 22:16:53 +02:00
Stephan Seitz
b6df2329bd
Introduce @definition.import for Python/Javascript
2020-07-08 18:00:35 +02:00
Stephan Seitz
0e80b89935
Highlight complete type definition
2020-07-08 17:47:44 +02:00
Stephan Seitz
dc324e44ad
Python locals/highlights: Parameters can be optionally typed
2020-07-08 17:47:44 +02:00
Thomas Vigouroux
0d2385407e
Add Rust queries ( #57 )
...
* queries(rust): add highlight query.
Also slightly changes the way constructors are highlighted.
* highglight(rust): use new query syntax
2020-07-08 12:35:53 +02:00
Thomas Vigouroux
6ce0235e74
docs: advertise module-template in CONTRIBUTING.md
2020-07-08 11:48:47 +02:00
Steven Sojka
26b3b3311e
fix(refactor): highlight def perf issue fix
2020-07-08 09:55:12 +02:00
Steven Sojka
884080f89a
feat(configs): dynamic module defintions
2020-07-07 13:53:23 +02:00
Stephan Seitz
3e8b5a30e2
Use <details> for checkhealth output in bug report template
...
The output of checkhealth can be quite lengthy.
Plus fix position of *** to make text render bold
2020-07-06 21:23:57 +02:00
Stephan Seitz
27d7a0ffff
Add style-check script
2020-07-06 11:15:17 +02:00
Stephan Seitz
ab1916f385
Allow arbitrary query files in locals.lua
...
This is a preparation for `textobject` queries.
2020-07-05 21:32:20 +02:00
Stephan Seitz
63c1853674
C/C++ highlights: update to new syntax
...
This changed the highlight of "switch" to conditional and of "break" to repeat.
2020-07-05 19:48:02 +02:00
Thomas Vigouroux
bf015c168f
Update README.md
2020-07-05 19:27:56 +02:00
Stephan Seitz
5642507f6a
Make luacheck happy
2020-07-05 19:21:06 +02:00
Stephan Seitz
1ce1c73249
Add Travis CI with luacheck
2020-07-05 19:21:06 +02:00
Stephan Seitz
07cd0b4d8c
C++ locals: Add reference_declarator (analogous to pointer_declarator for C locals)
2020-07-04 21:03:48 +02:00
Steven Sojka
e4cd88baa4
feat(javascript): add import specifier as definition
2020-07-01 22:12:15 +02:00
Thomas Vigouroux
e8af62c843
locals(lua): capture function definition params
2020-07-01 14:46:55 +02:00
Thomas Vigouroux
d15210b22f
highlights(lua): update query to new syntax
2020-07-01 14:46:55 +02:00
Sainnhepark
af8192f087
remove doc/tags
2020-07-01 14:13:41 +02:00
Thomas Vigouroux
337756d2f6
docs: add apache Licence
...
This is to match neovim's licence.
2020-07-01 14:04:18 +02:00
Stephan Seitz
61803eb523
Java highlights: Add binary integer literals
2020-07-01 13:22:46 +02:00
Stephan Seitz
817abb3688
Fix #136 : Highlight of TSFloat should be Float not TSFloat
2020-07-01 13:22:20 +02:00
Stephan Seitz
4757636995
Rgenerate doc/tags
2020-06-30 17:22:27 +02:00
Thomas Vigouroux
255d1756b0
highlights(c): highlight ternary as conditional
2020-06-30 08:54:54 +02:00
Stephan Seitz
d724073401
C highlights: Make ? an operator in c highlights
2020-06-30 08:54:54 +02:00
kiyan42
c70a8242eb
fix ask install
2020-06-30 08:54:32 +02:00
kiyan42
2bb6374c34
Define multiple query for a language
...
Allows using another query file for a language, or use a query file
from another language
2020-06-30 08:38:31 +02:00
kiyan42
0611f432aa
if/else in defining languages
2020-06-30 08:32:49 +02:00
kiyan42
2a20484a14
fix: remove goto statements
2020-06-30 08:32:49 +02:00
kiyan42
ce119de2e3
update installer with sync and some fixes
...
- add sync method for installing using `system`
- remove `descriptions` in command configs
- use install(lang) in ensure_installed and make it compatible
2020-06-30 08:32:49 +02:00
Stephan Seitz
2b6b1e3e61
Java highlights: Add operators ":" "?"
2020-06-30 08:32:19 +02:00