From 5b97c6f63ceaa7bd2e5256f2685fde13a942936f Mon Sep 17 00:00:00 2001 From: Arti Zirk Date: Thu, 1 Oct 2020 14:04:43 +0300 Subject: [PATCH] Change tabs and space width only with python --- .config/nvim/init.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index bad145f..c83b0fa 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -3,7 +3,7 @@ set scrolloff=3 set ignorecase " Python formating -set tabstop=4 shiftwidth=4 softtabstop=4 expandtab +autocmd FileType python set tabstop=4 shiftwidth=4 softtabstop=4 expandtab set cursorline hi cursorline cterm=none term=none