Akin Sowemimo
d8a516cb39
fix cterm fg and bg error
2020-10-11 19:26:37 +02:00
Akin Sowemimo
c89367f283
Add background and foreground colors to TSNone
...
This fixes the issue where colors highlighted as TSNone were not
reverting to the background and foreground color.
2020-10-11 19:26:37 +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
Kristijan Husak
9ad47c65bd
Use utils get_node_text to get line content and trim all whitespaces.
2020-10-11 13:35:18 +02:00
Kristijan Husak
3aa7e575e2
Remove old statusline implementation with new one.
2020-10-11 13:35:18 +02:00
Kristijan Husak
62df1143da
Add implementation for improved statusline. Closes #545 .
2020-10-11 13:35:18 +02:00
Github Actions
030a75129d
[docgen] Update README.md
2020-10-10 15:31:51 +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
Suhas Hebbar
f5ac2b4a1a
Shorten module reference shell_command_selectors to shell.
2020-10-06 19:08:42 +02:00
Suhas Hebbar
46ce4adca8
Code Refactor
...
- Move select_* function to shell_command_selectors.lua.
- Rename select_args to select_compiler_args.
2020-10-06 19:08:42 +02:00
Suhas Hebbar
40edefc476
Remove dependency on unzip.
...
Use tar instead which should be available on default Unixes and Windows
2020-10-06 19:08:42 +02:00
Corey Williamson
73ef705eb2
Fix typearg brackets not highlighting for multiple typeargs
2020-10-05 12:02:59 +02:00
Corey Williamson
85791a4316
Set function scope
2020-10-05 12:02:59 +02:00
euclidianAce
0aa4940f8b
Update queries/teal/highlights.scm
...
Co-authored-by: Santos Gallegos <stsewd@protonmail.com >
2020-10-05 12:02:59 +02:00
Corey Williamson
c2acddd651
Add teal parser
2020-10-05 12:02:59 +02:00
Stephan Seitz
93f9708a3c
Dart highlights: Reset highlight in interpolation
2020-10-05 06:37:31 +02:00
tonycheang
b9b08d776b
fix: readme link to nvim-treesitter-textobjects
2020-10-04 23:15:23 +02:00
Stephan Seitz
9f5237b6c5
Fix: fallback git-installation (list of commands is expected)
2020-10-04 21:48:25 +02:00
Github Actions
97d5329d9f
[docgen] Update README.md
2020-10-04 14:33:29 +02:00
Pau Ruiz Safont
f7126fe54b
fix(ocaml): highlight characters as such
2020-10-04 14:33:29 +02:00
Pau Ruiz Safont
f1c272676b
feat: add ocamllex parser and highlights
2020-10-04 14:33:29 +02:00
Stephan Seitz
37b011b679
Add "External modules" section to README
2020-10-04 14:20:20 +02:00
Stephan Seitz
3362f45196
Remove textobjects module
2020-10-04 14:20:20 +02:00
Steven Sojka
7f325538cc
Merge pull request #487 from steelsojka/remove-refactor
...
chore(modules): remove refactor module
2020-10-04 07:01:53 -05:00
Alvaro Muñoz
5debe93133
make query-checker happy
2020-10-01 06:26:59 +02:00
Alvaro Muñoz
9e09ce6c8e
change module to namespace
2020-10-01 06:26:59 +02:00
Alvaro Muñoz
a5dccb0ac7
CodeQL locals.scm queries
2020-10-01 06:26:59 +02:00
Github Actions
ec37addef9
[docgen] Update README.md
...
skip-checks: true
2020-09-30 20:38:04 +02:00
Alvaro Muñoz
61ea08f8d3
fine tune keyword highlights
2020-09-30 17:06:58 +02:00
Alvaro Muñoz
c29865a7b3
remove locals.scm
2020-09-30 17:06:58 +02:00
Alvaro Muñoz
90c53d3d1e
remove non-used captures
2020-09-30 17:06:58 +02:00
Alvaro Muñoz
3dc2e9331e
initial support for CodeQL
2020-09-30 17:06:58 +02:00
Stephan Seitz
b66b533ecd
chore: dedup join_paths <-> join_path
2020-09-28 17:40:34 +02:00
Akin Sowemimo
0e37148dd1
Add extension and on keywords
2020-09-27 17:42:27 +02:00
Stephan Seitz
18fca90457
Add progress info to iter_cmd
2020-09-27 13:09:12 +02:00
Stephan Seitz
0a51d492a5
Add lockfile and make lockfile default install revision
2020-09-27 13:09:12 +02:00
Steven Sojka
82a8b859c6
chore(modules): remove refactor module
2020-09-25 10:30:35 -05:00
Akin Sowemimo
98c12ec23a
Improve the highlighting for class instantiation
...
So it finds _HiddenClasses as well as OtherClasses
2020-09-24 00:00:59 +02:00
Dennis B
3818cc29d0
Highlight top-level 'require' as TSInclude ( fix #463 )
...
Same for 'require_relative' & 'load' code importation mechanisms.
Note, method calls of 'require' (as in Rails strong-params) will be
still be highlighted as Method/Function.
2020-09-23 17:14:11 +02:00
Stephan Seitz
0643fa3003
feat(parsers): add possibility to install from other branches
...
More and more Github repos are switching to "main" branch.
Example: `tree-sitter-wasm`
2020-09-22 21:27:24 +02:00
Stephan Seitz
58ec0bd7ef
Python locals: account for https://github.com/tree-sitter/tree-sitter-python/pull/83
2020-09-21 22:56:01 +02:00
Pieter Goetschalckx
718fc1be3e
Add OCaml folds
2020-09-21 08:54:30 +02:00
Pieter Goetschalckx
a8c8de13ae
Improve OCaml locals
2020-09-21 08:54:30 +02:00
Pieter Goetschalckx
60e097a14a
Improve OCaml highlights
2020-09-21 08:54:30 +02:00
Akin Sowemimo
00e1a5555a
Add locals.scm for dart
...
This is an initial stab at this since I don't know much about how this
should work but this seems to at leas allow incremental selection of
most block of code
2020-09-20 22:10:21 +02:00
Stephan Seitz
8c10b1a14d
fix(checkhealth): use pcall to check for syntax errors in query files
2020-09-20 10:37:06 +02:00
kiyan42
b3a1ae3210
also match variable names to be @type when uppercased
2020-09-20 01:11:55 +02:00
kiyan42
1340375c90
use @tag and @type directives for jsx highlights
2020-09-20 01:11:55 +02:00
Stephan Seitz
cd9cab7990
fix(python): use @Normal again for f-strings @none is not aggressive enough
2020-09-19 15:06:04 -05:00
Stephan Seitz
e31cbdc13d
feat(install): make compiler selectable
...
Compilers are selectable via 'nvim-treesitter.install'.compilers (list of compilers) or environment variable CC
Addresses #502
2020-09-19 20:05:22 +02:00