Close #4971 - Add support for ty via LSP
CI / Build (push) Waiting to run
CI / Lint (push) Blocked by required conditions
CI / Lua (push) Blocked by required conditions
CI / Neovim 0.10 Linux (push) Blocked by required conditions
CI / Neovim 0.12 Linux (push) Blocked by required conditions
CI / Vim 8.2 Linux (push) Blocked by required conditions
CI / Vim 9.2 Linux (push) Blocked by required conditions
CI / Neovim 0.10 Windows (push) Waiting to run
CI / Neovim 0.12 Windows (push) Waiting to run
CI / Vim 8.2 Windows (push) Waiting to run
CI / Vim 9.2 Windows (push) Waiting to run

This commit is contained in:
w0rp
2026-05-16 12:32:08 +01:00
parent f3d85691a5
commit 2d5a15d501
13 changed files with 235 additions and 3 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ let s:default_ale_linters = {
\ 'jsonc': ['biome'],
\ 'perl': ['perlcritic'],
\ 'perl6': [],
\ 'python': ['flake8', 'mypy', 'pylint', 'pyright', 'ruff'],
\ 'python': ['flake8', 'mypy', 'pylint', 'pyright', 'ruff', 'ty'],
\ 'rust': ['analyzer', 'cargo'],
\ 'spec': [],
\ 'text': [],
+1
View File
@@ -42,6 +42,7 @@ function! ale#python#FindProjectRootIni(buffer) abort
\|| filereadable(l:path . '/Pipfile.lock')
\|| filereadable(l:path . '/poetry.lock')
\|| filereadable(l:path . '/pyproject.toml')
\|| filereadable(l:path . '/ty.toml')
\|| filereadable(l:path . '/.tool-versions')
\|| filereadable(l:path . '/uv.lock')
return resolve(l:path)