-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-nvim.vim
40 lines (36 loc) · 1.54 KB
/
config-nvim.vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => PLUGINS
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" theme
set background=dark
call plug#begin('~/.vim/plugins-nvim')
source ${HOME}/.vim/config-common.vim
Plug 'folke/tokyonight.nvim'
autocmd VimEnter * colorscheme tokyonight
source $HOME/.vim/viml/nvim-plenary.nvim
source $HOME/.vim/viml/swagger-preview.nvim
source $HOME/.vim/viml/project.nvim
source $HOME/.vim/viml/telescope.nvim
source $HOME/.vim/viml/aider.vim
if $NVIM_CONFIG == 'cmp'
echom 'Using NVIM_CONFIG=cmp. Be sure to run :PlugInstall if you just switched'
" Using both copilot.vim and copilot.lua.nvim is a hack.
" copilot.vim suggestions wont show up in nvim-cmp, but supports accepting next word with <CR>
" copilot.lua.nvim suggestions will show up in nvim-cmp, but does not support accepting next word with <CR>
" Together they provide desired functionality
source $HOME/.vim/viml/copilot.lua.nvim
source $HOME/.vim/viml/copilot.vim
source $HOME/.vim/viml/copilot-chat.nvim
source $HOME/.vim/viml/nvim-lsp-setup.nvim
source $HOME/.vim/viml/nvim-lsp-formatting.nvim
source $HOME/.vim/viml/nvim-cmp.nvim
" source $HOME/.vim/viml/debugging.nvim
" source $HOME/.vim/viml/nvim-dap.nvim
else
echom 'Using NVIM_CONFIG=coc. Be sure to run :PlugInstall, then :CocInstall if you just switched'
source $HOME/.vim/viml/coc-nvim.vim
source $HOME/.vim/viml/copilot.vim
source $HOME/.vim/viml/copilot-chat.nvim
endif
call plug#end()
"}}}