diff options
| author | Omar Valdez <omarantoniovaldezf2@gmail.com> | 2025-10-03 00:17:57 -0700 |
|---|---|---|
| committer | Christian Clason <ch.clason+github@icloud.com> | 2025-10-03 09:53:33 +0200 |
| commit | 4709d4276c9cef5e353790071aec046d9b089719 (patch) | |
| tree | d0efa58c4771b250818d9a5a6a1f2b71c4ce9d81 | |
| parent | feat(java): highlight wildcards (#8165) (diff) | |
| download | nvim-treesitter-4709d4276c9cef5e353790071aec046d9b089719.tar nvim-treesitter-4709d4276c9cef5e353790071aec046d9b089719.tar.gz nvim-treesitter-4709d4276c9cef5e353790071aec046d9b089719.tar.bz2 nvim-treesitter-4709d4276c9cef5e353790071aec046d9b089719.tar.lz nvim-treesitter-4709d4276c9cef5e353790071aec046d9b089719.tar.xz nvim-treesitter-4709d4276c9cef5e353790071aec046d9b089719.tar.zst nvim-treesitter-4709d4276c9cef5e353790071aec046d9b089719.zip | |
feat(python): highlight special brackets in `format_expression`
| -rw-r--r-- | runtime/queries/python/highlights.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/queries/python/highlights.scm b/runtime/queries/python/highlights.scm index 3e777d08b..70f6d9acc 100644 --- a/runtime/queries/python/highlights.scm +++ b/runtime/queries/python/highlights.scm @@ -247,6 +247,10 @@ "{" @punctuation.special "}" @punctuation.special) +(format_expression + "{" @punctuation.special + "}" @punctuation.special) + (line_continuation) @punctuation.special (type_conversion) @function.macro |
