nvim: add vim-sensible, vim-sleuth and vim-indent-rainbow, formatting changes
This commit is contained in:
parent
422db7b293
commit
202df2947f
1 changed files with 48 additions and 25 deletions
|
@ -5,6 +5,7 @@ call plug#begin(stdpath('data') . '/plugged')
|
|||
Plug 'owozsh/amora'
|
||||
|
||||
" misc
|
||||
Plug 'tpope/vim-sensible'
|
||||
Plug 'itchyny/vim-gitbranch'
|
||||
Plug 'andweeb/presence.nvim'
|
||||
Plug 'ntpeters/vim-better-whitespace'
|
||||
|
@ -15,11 +16,13 @@ Plug 'tpope/vim-fugitive'
|
|||
Plug 'mg979/vim-visual-multi'
|
||||
"Plug 'rrethy/vim-hexokinase', { 'do': 'make hexokinase' }
|
||||
Plug 'rhysd/committia.vim'
|
||||
Plug 'tpope/vim-sleuth'
|
||||
|
||||
" interface
|
||||
Plug 'romgrk/barbar.nvim'
|
||||
Plug 'preservim/nerdtree'
|
||||
Plug 'Xuyuanp/nerdtree-git-plugin'
|
||||
Plug 'adi/vim-indent-rainbow'
|
||||
|
||||
" language specific
|
||||
Plug 'sheerun/vim-polyglot'
|
||||
|
@ -32,9 +35,11 @@ Plug 'nvim-lua/completion-nvim'
|
|||
call plug#end()
|
||||
|
||||
" misc
|
||||
set notermguicolors
|
||||
colorscheme lena
|
||||
|
||||
"let g:mode = "old_amora"
|
||||
"colorscheme amora
|
||||
colorscheme lena
|
||||
"set termguicolors
|
||||
|
||||
set fileformat=unix
|
||||
|
@ -90,6 +95,16 @@ set shortmess+=c
|
|||
|
||||
let g:completion_enable_auto_popup = 1
|
||||
|
||||
let g:rainbow_colors_color = [11, 10, 13, 12]
|
||||
let g:rainbow_colors_black = [11, 10, 13, 12]
|
||||
fun! EnableRainbowIndent()
|
||||
if &ft =~ 'fugitive\|nerdtree'
|
||||
return
|
||||
endif
|
||||
call rainbow#enable()
|
||||
endfun
|
||||
autocmd WinEnter,VimEnter * call EnableRainbowIndent()
|
||||
|
||||
" tre
|
||||
let g:NERDTreeGitStatusIndicatorMapCustom = {
|
||||
\ 'Modified' :'U',
|
||||
|
@ -199,7 +214,15 @@ hi BufferTabpages ctermfg=7 ctermbg=0
|
|||
hi BufferTabpageFill ctermfg=7 ctermbg=0
|
||||
hi BufferOffset ctermfg=0 ctermbg=0
|
||||
|
||||
hi NvimTreeNormal ctermbg=0
|
||||
hi! link SignColumn LineNr
|
||||
|
||||
hi LspDiagnosticsDefaultHint ctermfg=6
|
||||
hi LspDiagnosticsDefaultError ctermfg=1
|
||||
hi LspDiagnosticsDefaultWarning ctermfg=3
|
||||
hi LspDiagnosticsDefaultInformation ctermfg=7
|
||||
|
||||
hi ALEErrorSign ctermfg=1
|
||||
hi ALEWarningSign ctermfg=3
|
||||
|
||||
"call s:h('StatusLine', g:amora#palette.green, g:amora#palette.bgdark)
|
||||
"call s:h('StatusLineNC', g:amora#palette.fg, g:amora#palette.bgdark)
|
||||
|
|
Loading…
Reference in a new issue