From 512c187ff6e08c19bc43dfe38b7c55cf464e5970 Mon Sep 17 00:00:00 2001 From: Sebastian Burschel Date: Fri, 13 Dec 2019 15:07:06 +0100 Subject: [PATCH] Improvements --- dotfiles/.vimrc | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/dotfiles/.vimrc b/dotfiles/.vimrc index c91764d..7bf8337 100644 --- a/dotfiles/.vimrc +++ b/dotfiles/.vimrc @@ -56,7 +56,7 @@ Plugin 'vim-airline/vim-airline' Plugin 'vim-scripts/TaskList.vim' Plugin 'Vimjas/vim-python-pep8-indent' Plugin 'VundleVim/Vundle.vim' -Plugin 'w0rp/ale' +Plugin 'dense-analysis/ale' " The following are examples of different formats supported. @@ -179,8 +179,7 @@ set nojoinspaces "endif " Make it obvious where 80 characters is -set textwidth=80 -set colorcolumn=+1 +autocmd FileType python setlocal textwidth=80 colorcolumn=+1 " Numbers set number @@ -270,11 +269,15 @@ map gn :bn map gN :bp map gp :bp +" indent for curly brackets: +inoremap { {} -" Leader key for Emmet +" Emmet let g:user_emmet_leader_key=',' +let g:user_emmet_settings = webapi#json#decode(join(readfile(expand('~/.vim/customizations/vim-emmet-mysnippets.json')), "\n")) " jedi-vim: + let g:jedi#popup_on_dot = 0 @@ -295,4 +298,8 @@ map :NERDTreeToggle " airline settings let g:airline#extensions#tabline#enabled = 1 " Show buffers as tabs +" ale settings + +let g:ale_fixers = {'python': ['black']} + colorscheme darcula