ZIm/crates/languages/src/python
Finn Evers 9cc1851be7
python: Improve docstring highlighting (#31628)
This PR broadens the highlighting for docstrings in Python. 

Previously, only the first docstring for e.g. type aliases was
highlighted in Python files. This happened as only the first occurrence
in the module was considered a docstring. With this change, now all
existing docstrings are actually highlighted as such.

| `main` | This PR | 
| --- | --- |
|
![main](https://github.com/user-attachments/assets/facc96a9-4e98-4063-8b93-d6e9884221ff)
|
![PR](https://github.com/user-attachments/assets/9da557a1-b327-466a-be87-65d6a811e24c)
|

Release Notes:

- Added more docstring highlights for Python.
2025-05-29 00:02:40 +02:00
..
brackets.scm vim: Update anyquotes and anybrackets to behave like mini.ai plugin (#24167) 2025-02-17 14:55:48 -07:00
config.toml language: Fix indent suggestions for significant indented languages like Python (#29625) 2025-05-07 23:05:42 +05:30
embedding.scm chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
highlights.scm python: Improve docstring highlighting (#31628) 2025-05-29 00:02:40 +02:00
indents.scm language: Improve auto-indentation when using round brackets in Python (#31260) 2025-05-25 02:25:15 +05:30
outline.scm assistant: Add annotations to more languages (#15866) 2024-08-07 13:47:21 +02:00
overrides.scm Add inclusive range scope overrides. Don't auto-close quotes at the ends of line comments (#20206) 2024-11-04 15:36:39 -08:00
runnables.scm python: Fix identification of runnable tests within decorated test classes (#29688) 2025-04-30 17:26:30 +00:00
textobjects.scm Add textobjects queries (#20924) 2024-12-03 10:37:01 -07:00