diff options
| author | Amaan Qureshi <amaanq12@gmail.com> | 2023-04-29 18:57:48 -0400 |
|---|---|---|
| committer | Amaan Qureshi <amaanq12@gmail.com> | 2023-04-29 19:38:30 -0400 |
| commit | 9bfc966769f593cc55faea36e2c500ecb4304203 (patch) | |
| tree | c03283dc516f96426eabc1ca6a0465a5609c5961 /queries/python | |
| parent | Add Python else elif dedent (#4618) (diff) | |
| download | nvim-treesitter-9bfc966769f593cc55faea36e2c500ecb4304203.tar nvim-treesitter-9bfc966769f593cc55faea36e2c500ecb4304203.tar.gz nvim-treesitter-9bfc966769f593cc55faea36e2c500ecb4304203.tar.bz2 nvim-treesitter-9bfc966769f593cc55faea36e2c500ecb4304203.tar.lz nvim-treesitter-9bfc966769f593cc55faea36e2c500ecb4304203.tar.xz nvim-treesitter-9bfc966769f593cc55faea36e2c500ecb4304203.tar.zst nvim-treesitter-9bfc966769f593cc55faea36e2c500ecb4304203.zip | |
fix(python): fields should not match uppercase-beginning names
Diffstat (limited to 'queries/python')
| -rw-r--r-- | queries/python/highlights.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm index 956b1d19c..c18b74867 100644 --- a/queries/python/highlights.scm +++ b/queries/python/highlights.scm @@ -29,7 +29,7 @@ ((attribute attribute: (identifier) @field) - (#lua-match? @field "^.*%l.*$")) + (#lua-match? @field "^[%l_].*$")) ((assignment left: (identifier) @type.definition |
