Vadim Kazakov
a5ca7ef398
Enhance and fix inheritance for javascript and typescript support ( #296 )
...
* update javascript and typescript
* create an ecma directory and use existing javascript matchup.scm there
* inherit from ecma and jsx in the javascript query
* inherit from ecma in the typescript query
* inherit from typescript and jsx in the tsx query
* this structure makes it more inline with how existing queries in nvim-treesitter work
* allows jsx to be used in js files
* add additional matchup for typescript
* allow type argument and parameters to be matched up such that `function foo(): Promise<any>` matches up the `<` and `>` characters
2023-06-29 20:22:54 -04:00
Mikhail Katychev
3a17944bfa
Added nix support ( #295 )
...
* added nix syntax
* added nix matchup
2023-06-17 08:35:55 -04:00
Vadim Kazakov
3625e099b0
Add glimmer support in TS ( #294 )
2023-06-01 20:19:02 -04:00
Frank Bearoff
c69dcd49b2
Additional bash TS queries ( #293 )
2023-06-01 20:17:48 -04:00
Ezequiel Rodriguez
02b906cf77
Enable tagnameonly functionality for jsx files ( #291 )
...
* Enable tagnameonly functionality for jsx files
* tsxCloseString -> jsxCloseString
---------
Co-authored-by: Ezequiel Rodriguez <ezerodriguez@tesla.com >
2023-05-29 16:55:04 -04:00
Andy K. Massimino
b8eca3b588
Add TS quote support for go,lua,perl,python
...
Re #287
2023-05-18 11:26:58 -04:00
Andy K. Massimino
6c8909b682
Add TS quote query for svelte,vue re #287
2023-05-06 21:45:54 -04:00
Andy K. Massimino
96133f57ea
Add TS quote query for a few languages, re #287
2023-05-06 21:42:01 -04:00
Andy K. Massimino
2640f94db9
Disable lua TS quote for now
2023-05-06 20:55:23 -04:00
Andy K. Massimino
19c4787344
Add TS quote patterns re #234
2023-05-06 20:53:53 -04:00
Andy K. Massimino
a8d1b8e635
Add TS cpp template arg query
2023-04-29 12:46:58 -04:00
Andy K. Massimino
da8e430042
Add TS vim continue/break
2023-04-29 12:46:26 -04:00
Andy K. Massimino
7038ef7d13
Adjust C++ template pattern
2023-04-29 12:45:57 -04:00
Andy K. Massimino
1e276be930
Add TS go switch statement
2023-04-22 10:46:32 -04:00
Andy K. Massimino
96e6480231
Revert "Use nvim-treesitter's compat module for now"
...
This reverts commit 327eb6f56d .
2023-04-21 21:17:02 -04:00
Andy K. Massimino
1364b2ba55
Fix typo from a41e95ee5f
2023-04-19 22:50:21 -04:00
Andy K. Massimino
a41e95ee5f
Skip collecting TS group results from comment lang
...
Re #283
2023-04-19 22:44:31 -04:00
Andy K. Massimino
c815e58644
Support TS def rescue/ensure
2023-04-19 22:38:48 -04:00
Andy K. Massimino
5fa824acc8
Memoize TS get_matches function re #283
2023-04-17 19:21:55 -04:00
Andy K. Massimino
327eb6f56d
Use nvim-treesitter's compat module for now
2023-04-17 18:30:43 -04:00
Andy K. Massimino
57499f5ca9
Support highlight on nvim float with relativenumber
...
re #253
2023-04-12 21:25:42 -04:00
Andy K. Massimino
f5d1e1b2b3
Fix crash on invalid nvim float buffer
...
re #282
2023-04-12 21:00:11 -04:00
Andy K. Massimino
03ebc3b7db
Fix MatchupWhereAmI pattern for nvim hl groups
...
fixes #281
2023-04-10 19:53:13 -04:00
Tom van Dijk
156367e4cb
fix: Move to non-deprecated vim.treesitter function calls ( #278 )
...
ref: neovim/neovim@cbbf8bd
2023-03-25 10:52:02 -04:00
Andy K. Massimino
f69d1ac5bd
Support TS bash, dockerfile injection, resolve #276
2023-03-16 13:48:28 -04:00
Andy K. Massimino
fef9f334e6
Fix issue with TS range instead of node
2023-03-06 19:04:25 -05:00
Andy K. Massimino
3a48818a81
Fix a test case
2023-02-19 09:12:24 -05:00
Kassio Borges
60afb50b4a
Add ruby singleton class match ( #270 )
...
Now it'll match `singleton_class` like:
```ruby
class << self
# ...
end
```
2023-02-19 09:08:39 -05:00
Andy K. Massimino
54ac6e1f22
Fix html text_obj edges, fixes #218
2023-02-19 08:58:39 -05:00
Andy K. Massimino
1c7fa2880d
Remove reference to old nvim
2023-02-19 08:43:00 -05:00
Andy K. Massimino
a1a9c1d52e
Add vim TS queries for else and for
2023-02-18 16:12:29 -05:00
Andy K. Massimino
cdb67af15a
Add basic vim TS query
2023-02-18 15:59:38 -05:00
Andy K. Massimino
2dffaedded
Handle nested TS syntax, closes #271
2023-02-18 15:58:59 -05:00
Andy K. Massimino
d7a5d19354
Update TS support files
2023-02-18 09:21:32 -05:00
oncomouse
945e01e39f
update nvim 0.7 treesitter api ( #272 )
2023-02-12 11:18:03 -05:00
Andy K. Massimino
9c95910e85
Fix julia TS query compound_statement
2023-02-11 16:35:18 -05:00
Andy K. Massimino
959e0e79ea
Apply minor modernizations (abort, reltimefloat)
2023-01-18 13:02:05 -05:00
Andy K. Massimino
e75ffcdbdd
Fix safety check for TS hl-info
2023-01-18 12:53:30 -05:00
Andy K. Massimino
1f1ac485e7
Add another safety check for TS hl-info
2023-01-18 12:50:53 -05:00
bagohart
db5120dd98
fix typos in readme and doc about exclusive motion in visual mode ( #266 )
2022-12-04 09:40:49 -05:00
Andy K. Massimino
55e3330436
Fix a linewise op for html
2022-11-13 09:22:29 -05:00
Andy K. Massimino
9e6b5471b0
Add xml pattern helper
2022-11-13 09:21:10 -05:00
LostNeophyte
6de3f49bd6
TS js: add try statement ( #265 )
2022-11-13 09:12:52 -05:00
Wuelner Martínez
bc091fd9c3
fix(readme): setup is used to load options with packer.nvim ( #263 )
...
see https://github.com/wbthomason/packer.nvim#specifying-plugins
2022-11-07 18:37:31 -05:00
Andy K. Massimino
3aee393685
Update readme
2022-11-06 20:29:13 -05:00
Andy K. Massimino
f8f65dbaf9
Add support for relativenumber on nvim float win
...
Related to #253
2022-11-06 11:19:49 -05:00
Andy K. Massimino
7b7bba93f2
TS queries: add astro, resolve #260
2022-11-06 09:45:53 -05:00
Andy K. Massimino
addbbc1ecc
Adjust html words further
2022-11-06 09:44:23 -05:00
Andy K. Massimino
572edcb24f
Be more careful about insert mode cursor position
...
Closes #186
2022-11-06 09:44:16 -05:00
Silas Groh
d37643c3d2
Fix if let expressions in Rust ( #261 )
2022-11-05 14:46:09 -04:00