-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.vim
61 lines (49 loc) · 1.4 KB
/
init.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
"-- settings
hi ColorColumn ctermbg=DarkGray guibg=DarkGray
"-- plugin manager
call plug#begin('~/.config/nvim/plugged')
Plug 'neovim/nvim-lspconfig'
Plug 'nvim-lua/plenary.nvim'
Plug 'nvim-telescope/telescope-fzf-native.nvim', { 'do': 'make' }
Plug 'nvim-telescope/telescope.nvim', { 'tag': '0.1.8' }
Plug 'nvim-treesitter/nvim-treesitter', { 'do': ':TSUpdate' }
"-- nvim-cmp recommendations
Plug 'hrsh7th/cmp-nvim-lsp'
Plug 'hrsh7th/cmp-buffer'
Plug 'hrsh7th/cmp-path'
Plug 'hrsh7th/cmp-cmdline'
Plug 'hrsh7th/nvim-cmp'
"-- nvim-cmp for vsnip users
Plug 'hrsh7th/cmp-vsnip'
Plug 'hrsh7th/vim-vsnip'
"-- lsp-zero
" copied from lsp-zero example
Plug 'L3MON4D3/LuaSnip'
Plug 'VonHeikemen/lsp-zero.nvim', {'branch': 'v3.x'}
"-- obsidian.nvim
Plug 'epwalsh/obsidian.nvim'
"-- gitsigns.nvim
Plug 'lewis6991/gitsigns.nvim'
"-- vim-fugitive
Plug 'tpope/vim-fugitive'
"-- vim-surround
Plug 'tpope/vim-surround'
"-- peek.nvim
"Plug 'toppair/peek.nvim', { 'do': 'deno task --quiet build:fast' }
"-- todo: why is this here?
"Plug 'nvim-lua/popup.nvim'
call plug#end()
"-- lua-heredoc
lua << EOF
require('options')
require('keymaps')
require('plugins.lsp')
require('plugins.treesitter')
require('plugins.telescope')
--require('plugins.lspconfig')
require('plugins.cmp')
require('plugins.cmp-nvim-lsp')
require('plugins.obsidian')
require('plugins.gitsigns')
require('plugins.surround')
EOF