diff options
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 |