-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-nvim.vim
39 lines (34 loc) · 1.34 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
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => 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/telescope.nvim
if $NVIM_CONFIG == 'cmp'
echom 'NVIM_CONFIG=cmp'
" 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 'NVIM_CONFIG=coc'
source $HOME/.vim/viml/coc-nvim.vim
source $HOME/.vim/viml/copilot.vim
source $HOME/.vim/viml/copilot-chat.nvim
endif
call plug#end()
"}}}