add *.py mapping to basedpyright compiler

This commit is contained in:
2026-09-23 21:31:00 +02:00
parent 6776883aa5
commit f38082fbf0
@@ -1,11 +1,11 @@
local compiler_mapping = { local compiler_mapping = {
dotnet={'*.csproj', '*.sln'}, dotnet={'*.csproj', '*.sln'},
basedpyright={'requirements.txt', 'pyproject.toml', '.venv'},
go={'go.mod'}, go={'go.mod'},
gcc={'*.c'}, gcc={'*.c'},
['g++']={'*.cpp'}, ['g++']={'*.cpp'},
cargo={'Cargo.toml'}, cargo={'Cargo.toml'},
zig={'*.zig'} zig={'*.zig'},
basedpyright={'requirements.txt', 'pyproject.toml', '.venv', '*.py'},
} }
---@param dir string? ---@param dir string?