diff options
author | Oxbian <oxbian@mailbox.org> | 2024-09-18 17:27:06 -0400 |
---|---|---|
committer | Oxbian <oxbian@mailbox.org> | 2024-09-18 17:27:06 -0400 |
commit | d28a067a4d4b52a1eac7e1c62a46c4726713d29c (patch) | |
tree | 2e31d96762b1d88cc591020fb91993bacf1f5f79 /conf/plugins.vim | |
parent | a91deb2867535e9a56662aaa5f5935662f2fdfc8 (diff) | |
download | vimrc-d28a067a4d4b52a1eac7e1c62a46c4726713d29c.tar.gz vimrc-d28a067a4d4b52a1eac7e1c62a46c4726713d29c.zip |
CLEAN: removing .vim and .vimrc, using .config/vim instead
Diffstat (limited to 'conf/plugins.vim')
-rw-r--r-- | conf/plugins.vim | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/conf/plugins.vim b/conf/plugins.vim index 7dd1f9a..682cbe7 100644 --- a/conf/plugins.vim +++ b/conf/plugins.vim @@ -2,8 +2,8 @@ " Plugins """""""""""""""""""""""""" " Install vim-plug if not found -if empty(glob('~/.vim/autoload/plug.vim')) - silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs +if empty(glob('~/.config/vim/autoload/plug.vim')) + silent !curl -fLo ~/.config/vim/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim endif @@ -12,7 +12,7 @@ autocmd VimEnter * if len(filter(values(g:plugs), '!isdirectory(v:val.dir)')) \| PlugInstall --sync | source $MYVIMRC \| endif -call plug#begin('~/.vim/plugged') +call plug#begin('~/.config/vim/plugged') " UI & Themes Plug 'joshdick/onedark.vim' " Onedark themes for vim @@ -35,6 +35,9 @@ filetype plugin indent on " Allow filetype detection, plugins, indentation """"""""""""""""""""""""" " Configuration """"""""""""""""""""""""" +" LSP +let g:coc_global_extensions = ['coc-json', 'coc-markdownlint'] " You can add other coc extensions here + " Netrw (filetree built-in vim) let g:netrw_keepdir = 0 " Reload buffer usefull when moving or removing file let g:netrw_winsize = 10 " Size of filetree buffer |