help with indentation stuff in vim
This commit is contained in:
parent
aac594325f
commit
7ebfbea279
|
@ -34,11 +34,9 @@ Plug 'scrooloose/nerdtree', {'on': ['NERDTreeToggle', 'NERDTree']} " nice sideba
|
|||
let g:NERDTreeDirArrowCollapsible = ' '
|
||||
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif " close vim if last buffer is a NERD buffer
|
||||
|
||||
" Plug 'nathanaelkane/vim-indent-guides' " indentation guides (NOTE: doesn't seem to work with my colorscheme)
|
||||
" let g:indent_guides_start_level = 0
|
||||
" let g:indent_guides_auto_color = 1
|
||||
" highlight IndentGuidesOdd ctermbg=1
|
||||
" highlight IndentGuidesEven ctermbg=236
|
||||
Plug 'nathanaelkane/vim-indent-guides' " indentation guides (NOTE: doesn't seem to work with my colorscheme)
|
||||
let g:indent_guides_start_level = 0
|
||||
let g:indent_guides_auto_color = 1
|
||||
|
||||
Plug 'Shougo/deoplete.nvim' " autocomplete
|
||||
let g:deoplete#enable_at_startup = 1
|
||||
|
@ -102,8 +100,8 @@ set shiftwidth=2
|
|||
set softtabstop=2
|
||||
set noexpandtab
|
||||
set autoindent smartindent
|
||||
set listchars=trail:·,tab:»·
|
||||
" set list
|
||||
set list
|
||||
set listchars=trail:·,tab:\ \
|
||||
|
||||
" look and feel
|
||||
|
||||
|
@ -159,6 +157,9 @@ let base16colorspace=256
|
|||
set background=dark
|
||||
colorscheme current
|
||||
|
||||
hi WhiteSpaces ctermfg=black ctermbg=8
|
||||
match WhiteSpaces /^ \+/
|
||||
|
||||
set hidden " hides abandoned buffers or something
|
||||
set shortmess=I
|
||||
set history=1000
|
||||
|
|
Reference in a new issue