improvements

This commit is contained in:
Tine Jozelj 2021-03-21 13:13:37 +01:00
parent b01001d7d4
commit 1054474e37

View file

@ -37,7 +37,8 @@ call plug#end()
let g:coc_global_extensions = [ let g:coc_global_extensions = [
\ 'coc-tsserver', \ 'coc-tsserver',
\ 'coc-prettier', \ 'coc-prettier',
\ 'coc-yaml' \ 'coc-yaml',
\ 'coc-json'
\ ] \ ]
if isdirectory('./node_modules') && isdirectory('./node_modules/prettier') if isdirectory('./node_modules') && isdirectory('./node_modules/prettier')
@ -77,6 +78,11 @@ if exists('##TextYankPost')
endif endif
"--- VIM Configuration "--- VIM Configuration
"- NERDTree
" Start NERDTree when Vim is started without file arguments.
autocmd StdinReadPre * let s:std_in=1
autocmd VimEnter * if argc() == 0 && !exists('s:std_in') | NERDTree | endif
"- Keybindings "- Keybindings
let g:ctrlp_map = '<c-p>' let g:ctrlp_map = '<c-p>'
let g:ctrlp_cmd = 'CtrlP' let g:ctrlp_cmd = 'CtrlP'
@ -84,6 +90,7 @@ let g:ctrlp_cmd = 'CtrlP'
"- Visuals "- Visuals
set number set number
set cursorline set cursorline
set signcolumn=yes
colorscheme onehalflight colorscheme onehalflight
let g:airline_theme = 'onehalflight' let g:airline_theme = 'onehalflight'