From fe291dd769966732aa478d40ff2a66fa3ade86c1 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 18 Apr 2021 10:46:06 +0530 Subject: [PATCH] ... --- session.vim | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/session.vim b/session.vim index ec603efed..33950b8f8 100644 --- a/session.vim +++ b/session.vim @@ -1,6 +1,10 @@ " Scan the following dirs recursively for tags let g:project_tags_dirs = ['kitty', 'kittens'] -let g:ale_linters = {'python': ['mypy', 'flake8'], } +if exists('g:ale_linters') + let g:ale_linters['python'] = ['mypy', 'flake8'] +else + let g:ale_linters = {'python': ['mypy', 'flake8']} +endif let g:ale_python_mypy_executable = './mypy-editor-integration' let g:ycm_python_binary_path = 'python3' set wildignore+==template.py