help with indentation stuff in vim

This commit is contained in:
Daniel Flanagan 2016-06-23 18:53:46 -05:00
parent aac594325f
commit 7ebfbea279

View file

@ -34,11 +34,9 @@ Plug 'scrooloose/nerdtree', {'on': ['NERDTreeToggle', 'NERDTree']} " nice sideba
let g:NERDTreeDirArrowCollapsible = ' ' 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 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) 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_start_level = 0
" let g:indent_guides_auto_color = 1 let g:indent_guides_auto_color = 1
" highlight IndentGuidesOdd ctermbg=1
" highlight IndentGuidesEven ctermbg=236
Plug 'Shougo/deoplete.nvim' " autocomplete Plug 'Shougo/deoplete.nvim' " autocomplete
let g:deoplete#enable_at_startup = 1 let g:deoplete#enable_at_startup = 1
@ -102,8 +100,8 @@ set shiftwidth=2
set softtabstop=2 set softtabstop=2
set noexpandtab set noexpandtab
set autoindent smartindent set autoindent smartindent
set listchars=trail,tab:»· set list
" set list set listchars=trail,tab:\ \
" look and feel " look and feel
@ -159,6 +157,9 @@ let base16colorspace=256
set background=dark set background=dark
colorscheme current colorscheme current
hi WhiteSpaces ctermfg=black ctermbg=8
match WhiteSpaces /^ \+/
set hidden " hides abandoned buffers or something set hidden " hides abandoned buffers or something
set shortmess=I set shortmess=I
set history=1000 set history=1000