mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 10:50:06 -04:00
scala: add interpolator query (#4175)
This commit is contained in:
parent
4583690137
commit
28aa6ba554
2 changed files with 4 additions and 4 deletions
|
|
@ -333,7 +333,7 @@
|
||||||
"revision": "f7fb205c424b0962de59b26b931fe484e1262b35"
|
"revision": "f7fb205c424b0962de59b26b931fe484e1262b35"
|
||||||
},
|
},
|
||||||
"scala": {
|
"scala": {
|
||||||
"revision": "64aaf098aad651ddf8dc3d5403d72bb825184331"
|
"revision": "4d65adb3e5015c32e1739c153d43a95cb7f0b974"
|
||||||
},
|
},
|
||||||
"scheme": {
|
"scheme": {
|
||||||
"revision": "67b90a365bebf4406af4e5a546d6336de787e135"
|
"revision": "67b90a365bebf4406af4e5a546d6336de787e135"
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,6 @@
|
||||||
(class_parameter
|
(class_parameter
|
||||||
name: (identifier) @parameter)
|
name: (identifier) @parameter)
|
||||||
|
|
||||||
|
|
||||||
(interpolation) @none
|
(interpolation) @none
|
||||||
|
|
||||||
;; types
|
;; types
|
||||||
|
|
@ -33,7 +32,6 @@
|
||||||
|
|
||||||
(type_identifier) @type
|
(type_identifier) @type
|
||||||
|
|
||||||
|
|
||||||
;; val/var definitions/declarations
|
;; val/var definitions/declarations
|
||||||
|
|
||||||
(val_definition
|
(val_definition
|
||||||
|
|
@ -78,7 +76,6 @@
|
||||||
|
|
||||||
; method invocation
|
; method invocation
|
||||||
|
|
||||||
|
|
||||||
(call_expression
|
(call_expression
|
||||||
function: (identifier) @function.call)
|
function: (identifier) @function.call)
|
||||||
|
|
||||||
|
|
@ -96,6 +93,9 @@
|
||||||
(generic_function
|
(generic_function
|
||||||
function: (identifier) @function.call)
|
function: (identifier) @function.call)
|
||||||
|
|
||||||
|
(interpolated_string_expression
|
||||||
|
interpolator: (identifier) @function.call)
|
||||||
|
|
||||||
; function definitions
|
; function definitions
|
||||||
|
|
||||||
(function_definition
|
(function_definition
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue