Switch to LSP for mypy

This commit is contained in:
Kovid Goyal
2024-03-28 19:36:07 +05:30
parent 4b282211de
commit c9f8596357
4 changed files with 7 additions and 29 deletions

View File

@@ -1,15 +1,5 @@
" Scan the following dirs recursively for tags
let g:project_tags_dirs = ['kitty', 'kittens', 'tools']
if exists('g:ale_linters')
let g:ale_linters['python'] = ['mypy', 'ruff']
else
let g:ale_linters = {'python': ['mypy', 'ruff']}
endif
let g:ale_python_mypy_executable = './mypy-editor-integration'
let g:ale_fixers = {
\ "python": ["ruff"],
\}
autocmd FileType python noremap \i :ALEFix<CR>
set wildignore+==template.py
set wildignore+=tags
set expandtab