Santos Gallegos
171c7e4bcf
Fix bash parser url
...
Not sure if this was on purpose or if it was a mistake
2020-06-21 13:47:56 -05:00
Thomas Vigouroux
ec903ac99d
fix(statusline): don't call if no parser
2020-06-21 19:50:24 +02:00
Thomas Vigouroux
b84fde9718
Merge pull request #96 from theHamsta/python-__dunder__
...
Add highlighting of dunder identifiers (e.g. __all__, __add__) to Python highlights
2020-06-21 19:46:23 +02:00
Kiyan Yazdani
2c81ec3918
Merge pull request #90 from kyazdani42/fix/parser-names-as-filetypes
...
refacto/fix: filetype / parser name distinction
2020-06-21 17:32:37 +02:00
Stephan Seitz
a85cf1a47c
Add highlighting of dunder identifiers (e.g. __all__, __add__) to Python highlights
2020-06-21 17:00:17 +02:00
Stephan Seitz
969d496f3f
Merge pull request #72 from doubleloop/python
...
Updated python highlights
2020-06-21 16:22:53 +02:00
Thomas Vigouroux
7a347c3394
Merge pull request #91 from TravonteD/sibling-refactor
...
Refactor: utilize new consolidated syntax
2020-06-21 10:31:40 +02:00
Jakub Łuczyński
0b4d4b4140
Updated python highlights
...
* allow for digits in constant names
* removed redundant/conflicting rules
* added missing hlmap
* fixed escape_sequence
* more explicit @constructor assignment
* added rules for function decoration identifiers
2020-06-21 00:11:58 +02:00
TravonteD
0f836e0602
refactor: use newly introduced consolidated syntax
2020-06-20 09:03:39 -04:00
kiyan42
df17a48c85
refactor: parser list and lang->ft/ft->lang
...
- move parser list in `parsers.lua`
- most `ft` variable where changed to `lang`, `ft` is only used on
autocmd binding, and lang is used for everything else. Functions have
been defined to make the switch between `ft` and `lang`
2020-06-20 12:31:52 +02:00
kiyan42
ad636f4f53
fix: declare parse names as their appropriate filetype and change clone url
2020-06-19 16:12:57 +02:00
Thomas Vigouroux
516671fe9f
Merge pull request #89 from kyazdani42/refacto/remove-buf-state-and-api
...
refacto: remove buf state and api
2020-06-19 15:45:28 +02:00
kiyan42
cf72524b2f
add winnr to get_node_at_cursor
2020-06-19 14:13:23 +02:00
kiyan42
cabe61ac19
update docs
2020-06-19 14:03:01 +02:00
kiyan42
38af29a912
refacto: remove buf_state
...
- remove buf_state and related code
- add get_node_at_cursor()
- better incremental selection (code is localized)
2020-06-19 13:45:33 +02:00
Thomas Vigouroux
772aa4c169
Merge pull request #88 from PitcherTear22/master
...
Give credits for java queries
2020-06-17 18:19:19 +02:00
Chinmay Dalal
031e3e45c4
Give credits
2020-06-17 18:01:53 +05:30
Chinmay Dalal
3302dd3a5b
Give credits
2020-06-17 18:01:29 +05:30
Kiyan Yazdani
81e8f3dbc2
Merge pull request #87 from steelsojka/fix/js-boolean-fix
...
fix(javascript): set booleans to boolean highlights
2020-06-15 23:15:15 +02:00
Kiyan Yazdani
470b88279c
Merge pull request #86 from steelsojka/feat/json
...
feat(lang): add json highlights
2020-06-15 23:14:45 +02:00
Steven Sojka
7bc746f3f0
feat(lang): add json highlights
2020-06-15 15:24:05 -05:00
Steven Sojka
a896f5579d
fix(javascript): set booleans to boolean highlights
2020-06-15 15:11:07 -05:00
Thomas Vigouroux
79556b4155
Merge pull request #85 from PitcherTear22/master
...
Add java support
2020-06-15 20:26:09 +02:00
Chinmay Dalal
a6c426b2bd
Fix types
2020-06-15 23:23:17 +05:30
Chinmay Dalal
6a7ad3f011
Add java to supported languages
2020-06-15 23:12:20 +05:30
Chinmay
d262d4101e
Add operators
2020-06-15 22:45:56 +05:30
Kiyan Yazdani
dd7e67ddb4
Merge pull request #79 from steelsojka/feat/typescript-queries
...
feat(queries): add typescript and javascript queries
2020-06-15 18:28:10 +02:00
Chinmay
042464c1c5
Fix method highlighting
2020-06-15 21:48:50 +05:30
Thomas Vigouroux
91d0c60a98
Merge pull request #83 from theHamsta/fixup-cpp-locals
...
Fixup: Introduce base languages for queries
2020-06-15 16:48:33 +02:00
Steven Sojka
a600be80b6
chore(queries): use inherited queries for ts/js
2020-06-15 08:53:49 -05:00
Steven Sojka
4551b0e1c9
Merge branch 'master' into feat/typescript-queries
...
* master:
Change regexes in C/C++ highlights
Update C/C++ highlights to new query syntax
Add better highlighting for preprocessor functions in C highlights
Add operators /=,*=,|=,&= to C highlights
Add compound_statement to c queries
Add punctuation.bracket/punctuation.delimiter to C highlights
Make =,~,! operators in C highlights
Add cpp/locals.scm
Add @error highlight to c/highlights.scm
Add C++ highlights.scm
Introduce base languages for queries
Add tree-sitter-regex
feat(queries): allow for user overrides
Update issue templates
2020-06-15 07:05:20 -05:00
Stephan Seitz
0671c0c6a2
Fixup: Introduce base languages for queries
...
Use same argument for nvim_get_runtime_file for base language
2020-06-15 12:09:51 +02:00
Kiyan Yazdani
c452d4a91c
Merge pull request #63 from theHamsta/cpp-locals
...
Introduce base languages for queries (for C++ locals)
2020-06-15 12:07:16 +02:00
Stephan Seitz
8bc00cf02a
Change regexes in C/C++ highlights
2020-06-15 11:51:28 +02:00
Stephan Seitz
a5fc7b13cc
Update C/C++ highlights to new query syntax
2020-06-15 11:51:28 +02:00
Stephan Seitz
e46baab8ca
Add better highlighting for preprocessor functions in C highlights
2020-06-15 11:51:28 +02:00
Stephan Seitz
d88db9d718
Add operators /=,*=,|=,&= to C highlights
2020-06-15 11:51:28 +02:00
Stephan Seitz
95f4e10a62
Add compound_statement to c queries
2020-06-15 11:51:28 +02:00
Stephan Seitz
a0b912ff8a
Add punctuation.bracket/punctuation.delimiter to C highlights
2020-06-15 11:51:28 +02:00
Stephan Seitz
148ad160e8
Make =,~,! operators in C highlights
2020-06-15 11:51:28 +02:00
Stephan Seitz
1badceea81
Add cpp/locals.scm
2020-06-15 11:51:28 +02:00
Stephan Seitz
b95e0af73b
Add @error highlight to c/highlights.scm
2020-06-15 11:51:28 +02:00
Stephan Seitz
167ce6339f
Add C++ highlights.scm
2020-06-15 11:51:28 +02:00
Stephan Seitz
df06026110
Introduce base languages for queries
...
Some treesitter grammars just extend another treesitter grammar.
This enables us to use the C queries also for C++.
We only need to put additional queries in the C++ files.
2020-06-15 11:51:28 +02:00
Kiyan Yazdani
6b26674ba0
Merge pull request #80 from steelsojka/feat/user-query-overrides
...
feat(queries): allow user query overrides
2020-06-15 11:43:42 +02:00
Steven Sojka
ac8ae3b1c7
feat(queries): add typescript and javascript queries
2020-06-14 13:41:23 -05:00
Thomas Vigouroux
90ec2d5250
Merge pull request #70 from theHamsta/regex
...
Add tree-sitter-regex
2020-06-14 14:34:55 +02:00
Stephan Seitz
45ea0df21a
Add tree-sitter-regex
...
This might be interesting for injected highlighting
2020-06-14 13:09:38 +02:00
Steven Sojka
44108fe03e
feat(queries): allow for user overrides
2020-06-14 05:58:09 -05:00
Thomas Vigouroux
a067924507
Update issue templates
...
Add some issue templates
2020-06-14 11:57:09 +02:00