mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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"
|
||||
},
|
||||
"scala": {
|
||||
"revision": "64aaf098aad651ddf8dc3d5403d72bb825184331"
|
||||
"revision": "4d65adb3e5015c32e1739c153d43a95cb7f0b974"
|
||||
},
|
||||
"scheme": {
|
||||
"revision": "67b90a365bebf4406af4e5a546d6336de787e135"
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
(class_parameter
|
||||
name: (identifier) @parameter)
|
||||
|
||||
|
||||
(interpolation) @none
|
||||
|
||||
;; types
|
||||
|
|
@ -33,7 +32,6 @@
|
|||
|
||||
(type_identifier) @type
|
||||
|
||||
|
||||
;; val/var definitions/declarations
|
||||
|
||||
(val_definition
|
||||
|
|
@ -78,7 +76,6 @@
|
|||
|
||||
; method invocation
|
||||
|
||||
|
||||
(call_expression
|
||||
function: (identifier) @function.call)
|
||||
|
||||
|
|
@ -96,6 +93,9 @@
|
|||
(generic_function
|
||||
function: (identifier) @function.call)
|
||||
|
||||
(interpolated_string_expression
|
||||
interpolator: (identifier) @function.call)
|
||||
|
||||
; function definitions
|
||||
|
||||
(function_definition
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue