diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2020-07-08 17:47:39 +0200 |
|---|---|---|
| committer | Thomas Vigouroux <39092278+vigoux@users.noreply.github.com> | 2020-07-08 17:47:44 +0200 |
| commit | 0e80b89935ca0a0249d04ca1cda56d7b50a239e3 (patch) | |
| tree | dc4b45aa5f037ac8f6e8fe6d4c9236f3972fb37b /queries/python/highlights.scm | |
| parent | Python locals/highlights: Parameters can be optionally typed (diff) | |
| download | nvim-treesitter-0e80b89935ca0a0249d04ca1cda56d7b50a239e3.tar nvim-treesitter-0e80b89935ca0a0249d04ca1cda56d7b50a239e3.tar.gz nvim-treesitter-0e80b89935ca0a0249d04ca1cda56d7b50a239e3.tar.bz2 nvim-treesitter-0e80b89935ca0a0249d04ca1cda56d7b50a239e3.tar.lz nvim-treesitter-0e80b89935ca0a0249d04ca1cda56d7b50a239e3.tar.xz nvim-treesitter-0e80b89935ca0a0249d04ca1cda56d7b50a239e3.tar.zst nvim-treesitter-0e80b89935ca0a0249d04ca1cda56d7b50a239e3.zip | |
Highlight complete type definition
Diffstat (limited to 'queries/python/highlights.scm')
| -rw-r--r-- | queries/python/highlights.scm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm index b41d36891..9369d7877 100644 --- a/queries/python/highlights.scm +++ b/queries/python/highlights.scm @@ -49,6 +49,8 @@ name: (identifier) @function) (type (identifier) @type) +(subscript + (identifier) @type) ; type subscript: Tuple[int] ((call function: (identifier) @isinstance |
