Last active
April 25, 2018 02:08
-
-
Save dictav/88521af0e91eb6fbcb0d2f5b629cd207 to your computer and use it in GitHub Desktop.
vimrc indentLine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function foo() { | |
if (0) { | |
if (0) { | |
if (0) { | |
console.log("not called") | |
} | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" vim-plug | |
if has('vim_starting') | |
set rtp+=~/vim_plugged/vim-plug | |
if !isdirectory(expand('~/vim_plugged/vim-plug')) | |
echo 'install vim-plug...' | |
call system('mkdir -p ~/vim_plugged/vim-plug') | |
call system('git clone https://github.com/junegunn/vim-plug.git ~/.config/nvim/plugged/vim-plug/autoload') | |
end | |
endif | |
call plug#begin('~/vim_plugged') | |
Plug 'junegunn/vim-plug', {'dir': '~/vim_plugged/vim-plug/autoload'} | |
Plug 'Yggdroot/indentLine' | |
call plug#end() | |
" indentLine | |
let g:indentLine_color_term = 239 | |
let g:indentLine_bgcolor_term = 202 | |
autocmd Filetype json let g:indentLine_enabled = 0 | |
set background=dark | |
colorscheme darkblue | |
syntax on | |
set expandtab | |
set tabstop=2 shiftwidth=2 softtabstop=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment