diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2021-05-31 22:26:35 +0200 |
|---|---|---|
| committer | Stephan Seitz <stephan.lauf@yahoo.de> | 2021-06-01 21:53:21 +0200 |
| commit | 44e44c31a415df0c183df58a1ee84488c529159e (patch) | |
| tree | f8c49d8d9a10d05c8199675c47e1e1cb0af0b6f2 | |
| parent | fb5a2882dff6d21d7dcf9a28b79d0424b7fb3a3f (diff) | |
highlights(c_sharp): improve highlighting of interpolations
| -rw-r--r-- | queries/c_sharp/highlights.scm | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/queries/c_sharp/highlights.scm b/queries/c_sharp/highlights.scm index edc86d8f..96d42fd1 100644 --- a/queries/c_sharp/highlights.scm +++ b/queries/c_sharp/highlights.scm @@ -6,11 +6,7 @@ (method_declaration type: (identifier) @type) -; This would be nice but fails in some cases -; https://github.com/nvim-treesitter/nvim-treesitter/pull/203 -; (invocation_expression -; (member_access_expression -; name: (identifier) @method)) +(interpolation) @none ; (invocation_expression ; (identifier) @method) @@ -37,7 +33,7 @@ [ (string_literal) - (interpolated_string_text) + (interpolated_string_expression) ] @string (boolean_literal) @boolean |
