From 01efaaed7451ed089c055b17d7fe1a6c2ea96db2 Mon Sep 17 00:00:00 2001 From: jozamudi Date: Sun, 2 Jun 2024 10:17:20 -0700 Subject: [PATCH] changed python indents 2 spaces --- nvim/settings.vim | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/nvim/settings.vim b/nvim/settings.vim index f1f5d83..9700ab4 100644 --- a/nvim/settings.vim +++ b/nvim/settings.vim @@ -63,9 +63,9 @@ map Q gq " Python settings. With filetype detection on, these settings will be used " for all .py files. au FileType python - \ set tabstop=4 - \ softtabstop=4 - \ shiftwidth=4 + \ set tabstop=2 + \ softtabstop=2 + \ shiftwidth=2 \ textwidth=79 \ expandtab \ autoindent @@ -104,17 +104,6 @@ set mouse= set clipboard+=unnamedplus -" set backup, undo, and swap? -let &directory = expand('~/.vimdata/swap/') -set backup -let &backupdir = expand('~/.vimdata/backup/') -set undofile -let &undodir = expand('~/.vimdata/undo/') - -if !isdirectory(&undodir) | call mkdir(&undodir, "p") | endif -if !isdirectory(&backupdir) | call mkdir(&backupdir, "p") | endif -if !isdirectory(&directory) | call mkdir(&directory, "p") | endif - set pumheight=20 " keep the autocomplete suggestion menu small set shortmess+=c " don't give ins-completion-menu messages