|
|
@ -10,8 +10,6 @@ call plug#begin('~/.config/nvim/plugged') |
|
|
|
|
|
|
|
|
|
|
|
" Material theme |
|
|
|
" Material theme |
|
|
|
Plug 'hzchirs/vim-material' |
|
|
|
Plug 'hzchirs/vim-material' |
|
|
|
set background=dark |
|
|
|
|
|
|
|
colorscheme vim-material |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
" Syntastic |
|
|
|
" Syntastic |
|
|
|
Plug 'scrooloose/syntastic' |
|
|
|
Plug 'scrooloose/syntastic' |
|
|
@ -116,6 +114,16 @@ Plug 'https://github.com/vim-scripts/dbext.vim' |
|
|
|
" end plugin list |
|
|
|
" end plugin list |
|
|
|
call plug#end() |
|
|
|
call plug#end() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
" Configure vim for true color display otherwise vim-material won't display |
|
|
|
|
|
|
|
" correctly. |
|
|
|
|
|
|
|
if (has('nvim')) |
|
|
|
|
|
|
|
let $NVIM_TUI_ENABLE_TRUE_COLOR = 1 |
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (has('termguicolors')) |
|
|
|
|
|
|
|
set termguicolors |
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
" Standard variables |
|
|
|
" Standard variables |
|
|
|
set expandtab " tabs to spaces |
|
|
|
set expandtab " tabs to spaces |
|
|
|
set tabstop=2 " spaces entered when tab key is pressed |
|
|
|
set tabstop=2 " spaces entered when tab key is pressed |
|
|
@ -258,3 +266,8 @@ let g:indentLine_enabled=0 |
|
|
|
|
|
|
|
|
|
|
|
" Leader + i will toggle line indent guides |
|
|
|
" Leader + i will toggle line indent guides |
|
|
|
map <silent> <Leader>i :IndentLinesToggle<CR> |
|
|
|
map <silent> <Leader>i :IndentLinesToggle<CR> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
" Color scheme setting is done absolutely last to make sure everything is |
|
|
|
|
|
|
|
" available to vim |
|
|
|
|
|
|
|
set background=dark |
|
|
|
|
|
|
|
colorscheme vim-material |
|
|
|