ZIm/crates/languages/src
Elvis Pranskevichus ac5a2b2122
python: Add recognition of worktree -> venv links (#26759)
Python envs created with virtualenvwrapper have the ability to link to
the project directory (via the `.project` file in the virtualenv).
`python-environment-tools` supports this and reports the project path.

Additionally, some tools (e.g virtualfish) recognize special
"environment activation" files in project directories (`.venv` by
default)
[1].

Use the above information to sort reported Python toolchains so that the
correct env for a given worktree is at the top.

[1]
https://virtualfish.readthedocs.io/en/latest/plugins.html#auto-activation-auto-activation

Release Notes:

- python: Improved detection of virtualenvwrapper environments in work
trees
2025-04-01 19:12:16 +02:00
..
bash Use shell script language for APKBUILD files (#27099) 2025-03-19 22:00:44 +00:00
c Improve C and C++ syntax highlighting (#25325) 2025-02-21 12:01:39 -05:00
cpp Recognize ixx as part of the cpp suffix (#26333) 2025-03-10 09:10:29 -05:00
css Add completion_query_characters in language (#27175) 2025-03-20 16:45:35 +05:30
diff Improve diff syntax highlighting queries (#21740) 2024-12-12 15:18:36 -08:00
gitcommit Fix syntax highlighting of git commit messages (#26988) 2025-03-18 18:18:56 +00:00
go Improve Go syntax highlighting (#25327) 2025-02-21 11:32:14 -05:00
gomod Add "tool" support to go.mod (#22995) 2025-01-15 17:44:28 +02:00
gowork File context for assistant panel (#9712) 2024-03-29 13:55:01 -07:00
javascript languages: Fix JS/TS imports not showing correct suggestions after using period (#27235) 2025-03-21 15:13:31 +05:30
jsdoc Add language icons to the language selector (#21298) 2024-12-02 15:01:09 -03:00
json Add completion_query_characters in language (#27175) 2025-03-20 16:45:35 +05:30
jsonc Treat bun.lock as JSONC (#27359) 2025-03-24 09:46:23 -04:00
markdown Add completion_query_characters in language (#27175) 2025-03-20 16:45:35 +05:30
markdown-inline Hide Markdown-Inline language from users with a new 'hidden' flag on language configs (#17104) 2024-08-29 11:23:33 -07:00
python python: Fix incorrect highlighting of function parameters (#26815) 2025-03-31 01:23:03 +02:00
regex Improve Regex syntax highlighting (#25332) 2025-03-22 16:11:19 -03:00
rust rust: Follow-up fixes for attribute highlighting (#26172) 2025-03-14 23:02:45 +00:00
tsx tsx: Insert newline between open and close tags on enter (#27618) 2025-03-27 19:15:12 +00:00
typescript languages: Fix JS/TS imports not showing correct suggestions after using period (#27235) 2025-03-21 15:13:31 +05:30
yaml vim: Update anyquotes and anybrackets to behave like mini.ai plugin (#24167) 2025-02-17 14:55:48 -07:00
bash.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
c.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
css.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
go.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
json.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
lib.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
python.rs python: Add recognition of worktree -> venv links (#26759) 2025-04-01 19:12:16 +02:00
rust.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
tailwind.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
typescript.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
vtsls.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
yaml.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00