From: Maximilian Friedersdorff Date: Wed, 13 Sep 2023 13:01:35 +0000 (+0100) Subject: Add black integration to vim X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=aa1b1a97945069983b1b0891b804f4fa5c2c89d5;p=max%2Fsaltfiles.git Add black integration to vim --- diff --git a/states/vim/files/vimrc b/states/vim/files/vimrc index e137512..d6c42d3 100644 --- a/states/vim/files/vimrc +++ b/states/vim/files/vimrc @@ -32,10 +32,10 @@ Plugin 'majutsushi/tagbar' Plugin 'altercation/vim-colors-solarized' Plugin 'ctrlpvim/ctrlp.vim' Plugin 'Chiel92/vim-autoformat' -Plugin 'python-rope/ropevim' Plugin 'pangloss/vim-javascript' Plugin 'itspriddle/vim-shellcheck' Plugin 'vimwiki/vimwiki' +Plugin 'psf/black' " All of your Plugins must be added before the following line call vundle#end() " required @@ -170,9 +170,10 @@ let g:formatdef_autopep8 = "'autopep8 --aggressive --aggressive - --range '.a:fi let g:formatters_python = ['autopep8'] noremap :Autoformat -let ropevim_goto_def_newwin = 1 -let ropevim_guess_project = 1 - " Vimwiki let g:vimwiki_list = [{'path': '~/vimwiki/', 'syntax': 'markdown', 'ext': '.md'}] let g:vimwiki_global_ext = 0 + +let g:indentLine_fileTypeExclude = ['tex', 'json', 'markdown'] + +let g:black_use_virtualenv = 0