Fix autoformat caused errors

This commit is contained in:
Vladan Popovic 2020-07-24 10:46:44 +02:00
parent 6f7161c403
commit 4d5032564d

View file

@ -61,7 +61,7 @@ let g:ale_sign_warning="⚠"
" Enable warnings about trailing whitespace for all files. " Enable warnings about trailing whitespace for all files.
let b:ale_warn_about_trailing_whitespace=1 let b:ale_warn_about_trailing_whitespace=1
nmap <leader>e: ALEDetail <cr> nmap <leader>e: ALEDetail<CR>
" ALE colors " ALE colors
highlight ALEWarning ctermbg=Yellow highlight ALEWarning ctermbg=Yellow
@ -70,8 +70,8 @@ highlight ALEError ctermbg=DarkRed
highlight ALEError ctermfg=White highlight ALEError ctermfg=White
" Use TAB to switch between buffers " Use TAB to switch between buffers
noremap < tab > : bn < CR > noremap <tab> :bn<CR>
noremap < S-tab > : bp < CR > noremap <S-tab> :bp<CR>
" Highlight trailing whitespace (darker red) and remove all with Ctrl+k " Highlight trailing whitespace (darker red) and remove all with Ctrl+k
highlight WhitespaceEOL ctermbg=red guibg=#ab0d0d highlight WhitespaceEOL ctermbg=red guibg=#ab0d0d
@ -100,10 +100,11 @@ let g:gitgutter_sign_modified_removed='--'
let g:gitgutter_map_keys=0 let g:gitgutter_map_keys=0
" Toggles on different plugins/modes " Toggles on different plugins/modes
noremap <F1> : ToggleMouse <CR> noremap <F1> :ToggleMouse<CR>
inoremap <F1> <Esc>: ToggleMouse <CR> a inoremap <F1> <Esc>:ToggleMouse<CR>a
nmap <F3>: set nonumber!<CR> nmap <F3> :set nonumber!<CR>
nmap <F5>: NERDTreeToggle <CR> nmap <F4> :GitGutterBufferToggle<CR>
nmap <F5> :NERDTreeToggle<CR>
set pastetoggle=<F2> set pastetoggle=<F2>
" Maintain undo history between sessions " Maintain undo history between sessions