mirror of
https://github.com/edu4rdshl/linuxscripts.git
synced 2026-07-18 07:34:45 +00:00
Update
This commit is contained in:
parent
1d6eb1c2ce
commit
607bd34639
2 changed files with 20 additions and 2 deletions
|
|
@ -21,6 +21,9 @@ Plug 'mattn/webapi-vim'
|
|||
Plug 'mustache/vim-mustache-handlebars'
|
||||
Plug 'sheerun/vim-polyglot'
|
||||
|
||||
" Neomaker
|
||||
Plug 'neomake/neomake'
|
||||
|
||||
" Neovim airline
|
||||
Plug 'vim-airline/vim-airline'
|
||||
Plug 'vim-airline/vim-airline-themes'
|
||||
|
|
@ -47,9 +50,18 @@ set guifont=Monospace\ Bold\ 12
|
|||
set background=dark
|
||||
colors palenight
|
||||
set inccommand=nosplit
|
||||
" let g:neomake_open_list = 2
|
||||
let g:neomake_warning_sign = {
|
||||
\ 'text': 'W',
|
||||
\ 'texthl': 'WarningMsg',
|
||||
\ }
|
||||
let g:neomake_error_sign = {
|
||||
\ 'text': 'E',
|
||||
\ 'texthl': 'ErrorMsg',
|
||||
\ }
|
||||
|
||||
" Set clipboard
|
||||
" set clipboard+=unnamedplus
|
||||
set clipboard+=unnamedplus
|
||||
|
||||
" Uncomment the following to have Vim jump to the last position when
|
||||
" reopening a file
|
||||
|
|
@ -57,6 +69,11 @@ if has("autocmd")
|
|||
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
|
||||
endif
|
||||
|
||||
" Lint as you type
|
||||
if has("autocmd")
|
||||
au InsertLeave,TextChanged * silent! update | Neomake
|
||||
endif
|
||||
|
||||
" Uncomment the following to have Vim load indentation rules and plugins
|
||||
" according to the detected filetype.
|
||||
if has("autocmd")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue