Removal of syntastic, minor tweaks.

This commit is contained in:
Bartek Stalewski 2020-02-29 10:20:32 +01:00
parent 136b7a5a26
commit e01cb15f18

View file

@ -60,7 +60,6 @@ Plug 'edkolev/tmuxline.vim'
Plug 'itchyny/lightline.vim' Plug 'itchyny/lightline.vim'
Plug 'airblade/vim-gitgutter' Plug 'airblade/vim-gitgutter'
Plug 'hashivim/vim-terraform' Plug 'hashivim/vim-terraform'
Plug 'vim-syntastic/syntastic'
Plug 'bitc/vim-bad-whitespace' Plug 'bitc/vim-bad-whitespace'
call plug#end() call plug#end()
@ -69,30 +68,18 @@ colorscheme molokai
let g:rehash256=1 let g:rehash256=1
set background=dark set background=dark
hi BadWhitespace ctermbg=lightblue guibg=lightblue hi BadWhitespace ctermbg=lightblue guibg=lightblue
if has("gui_macvim") if has("gui")
set guioptions-=e set guioptions-=e
set guioptions-=r set guioptions-=r
set guioptions-=L set guioptions-=L
set guifont=Hack:h13 set guifont=Hack\ NF:h13
endif endif
command! -bang -nargs=? -complete=dir Files command! -bang -nargs=? -complete=dir Files
\ call fzf#vim#files(<q-args>, {'options': ['-e', '--layout=reverse', '--height=80%', '--preview', 'bat --color=always --tabs=2 --style=plain --theme="Monokai Extended" {}']}, <bang>0) \ call fzf#vim#files(<q-args>, {'options': ['-e', '--layout=reverse', '--height=80%', '--preview', 'bat --color=always --tabs=2 --style=plain --theme="Monokai Extended" {}']}, <bang>0)
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_auto_jump = 1
let g:syntastic_check_on_wq = 1
let g:syntastic_enable_signs = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_puppet_puppetlint_args = "--no-80chars-check --no-autoloader_layout-check --no-nested_classes_or_defines-check --no-only_variable_string-check"
let g:lightline = { let g:lightline = {
\ 'colorscheme': 'wombat', \ 'colorscheme': 'powerlineish',
\ 'active': { \ 'active': {
\ 'left': [ [ 'mode', 'paste' ], \ 'left': [ [ 'mode', 'paste' ],
\ [ 'fugitive', 'readonly', 'filename' ] ], \ [ 'fugitive', 'readonly', 'filename' ] ],
@ -102,7 +89,7 @@ let g:lightline = {
\ }, \ },
\ 'component_function': { \ 'component_function': {
\ 'fugitive': 'FugitiveHead', \ 'fugitive': 'FugitiveHead',
\ 'readonly': 'LightLineReadonly'} \ 'readonly': 'LightLineReadonly'},
\ } \ }
function! LightLineReadonly() function! LightLineReadonly()