How To Vim Plugins
This commit is contained in:
parent
64b21d81d5
commit
b5f825ec20
14
vimrc
14
vimrc
@ -1,3 +1,6 @@
|
||||
packloadall
|
||||
call pathogen#infect()
|
||||
|
||||
syntax on
|
||||
|
||||
filetype on
|
||||
@ -19,6 +22,8 @@ set modeline
|
||||
set nowrap
|
||||
set number
|
||||
set smartcase
|
||||
set statusline+=%#warningmsg#
|
||||
set statusline+=%*
|
||||
set tabstop=4
|
||||
set textwidth=67
|
||||
|
||||
@ -32,6 +37,7 @@ au BufRead,BufNewFile *.gcfg setfiletype gitconfig
|
||||
au BufRead,BufNewFile Pipfile setfiletype toml
|
||||
au BufRead,BufNewFile Dockerfile* setfiletype dockerfile
|
||||
au BufRead,BufNewFile *.service setfiletype systemd
|
||||
au BufRead,BufNewFile .Rprofile setfiletype r
|
||||
au BufWritePre *.py execute ':Black'
|
||||
au QuickFixCmdPost *grep* cwindow
|
||||
au BufWritePre *.py execute ':Black'
|
||||
@ -46,11 +52,6 @@ let g:python_highlight_all = 1
|
||||
let g:rustfmt_autosave = 1
|
||||
let g:shfmt_extra_args = '-i 2'
|
||||
let g:shfmt_fmt_on_save = 1
|
||||
let g:syntastic_always_populate_loc_list = 1
|
||||
let g:syntastic_auto_loc_list = 1
|
||||
let g:syntastic_check_on_open = 1
|
||||
let g:syntastic_check_on_wq = 0
|
||||
let g:syntastic_python_checkers = ['flake8']
|
||||
let g:terraform_align = 1
|
||||
let g:terraform_fmt_on_save = 1
|
||||
let g:vim_markdown_folding_disabled = 1
|
||||
@ -63,8 +64,7 @@ if has("python3")
|
||||
python3 del powerline_setup
|
||||
endif
|
||||
|
||||
call pathogen#infect()
|
||||
|
||||
packadd! dracula
|
||||
colorscheme dracula
|
||||
|
||||
hi Comment cterm=NONE ctermfg=DarkRed gui=NONE guifg=red2
|
||||
|
Loading…
Reference in New Issue
Block a user