mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-11-10 13:04:03 +03:00
25 lines
628 B
VimL
25 lines
628 B
VimL
" 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
|
|
set tabstop=4
|
|
set shiftwidth=4
|
|
set softtabstop=0
|
|
set smarttab
|
|
python3 <<endpython
|
|
import sys
|
|
sys.path.insert(0, os.path.abspath('.'))
|
|
import kitty
|
|
endpython
|