mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-06 01:05:48 +02:00
Switch to LSP for mypy
This commit is contained in:
10
session.vim
10
session.vim
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user