From 52be542a64d45df168b4db7acf3610980f77bbb5 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Mon, 4 Jun 2018 11:25:57 +0100 Subject: [PATCH] Set lit[.local].cfg to Python & disable ALE --- after/ftdetect/python.vim | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 after/ftdetect/python.vim diff --git a/after/ftdetect/python.vim b/after/ftdetect/python.vim new file mode 100644 index 0000000..714f1ad --- /dev/null +++ b/after/ftdetect/python.vim @@ -0,0 +1,7 @@ +function! s:set_lit_cfg_filetype() + set filetype=python + ALEDisableBuffer +endfunction + +au BufNewFile,BufReadPost lit.cfg call s:set_lit_cfg_filetype() +au BufNewFile,BufReadPost lit.local.cfg call s:set_lit_cfg_filetype()