diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2024-05-14 18:53:03 +0200 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2024-05-14 18:53:03 +0200 |
commit | 612dbb6993c8a548744f29a4d15d6b31325357c8 (patch) | |
tree | 0d61cee0ea74ac811268d0ffc00d3d55f7174112 /.config/nvim/queries/python | |
parent | 23e2bfd987c430bb41bc7860c46c2f572e9e2db4 (diff) | |
download | dots-612dbb6993c8a548744f29a4d15d6b31325357c8.tar.gz |
Diffstat (limited to '.config/nvim/queries/python')
-rwxr-xr-x | .config/nvim/queries/python/highlights.scm | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/.config/nvim/queries/python/highlights.scm b/.config/nvim/queries/python/highlights.scm index 2ea4847..a2179ec 100755 --- a/.config/nvim/queries/python/highlights.scm +++ b/.config/nvim/queries/python/highlights.scm @@ -1,5 +1,15 @@ ; extends -(block (expression_statement (string)) @docstring) +; function and class docstring detection +(block + (expression_statement + (string)) @docstring) +; shpinx detection in docstring +; (block +; (expression_statement +; (string +; (string_content))) @type) + +; type hint detection (type) @type |