Complete from buffers at least
This commit is contained in:
parent
7306520201
commit
0518f6c634
3 changed files with 7 additions and 7 deletions
|
|
@ -46,8 +46,8 @@ cmp.setup {
|
||||||
},
|
},
|
||||||
sources = {
|
sources = {
|
||||||
{ name = 'buffer' },
|
{ name = 'buffer' },
|
||||||
{ name = 'nvim_lsp' },
|
-- { name = 'nvim_lsp' },
|
||||||
-- { name = 'spell' },
|
-- { name = 'spell' },
|
||||||
-- { name = 'path' },
|
{ name = 'path' },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ source $HOME/.config/nvim/plugs.vim
|
||||||
|
|
||||||
" source $HOME/.config/nvim/treesitter.lua
|
" source $HOME/.config/nvim/treesitter.lua
|
||||||
" source $HOME/.config/nvim/rust.lua
|
" source $HOME/.config/nvim/rust.lua
|
||||||
" source $HOME/.config/nvim/completion.lua
|
source $HOME/.config/nvim/completion.lua
|
||||||
|
|
||||||
syntax on
|
syntax on
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
|
|
|
||||||
|
|
@ -28,10 +28,10 @@ Plug 'editorconfig/editorconfig-vim'
|
||||||
Plug 'rafi/awesome-vim-colorschemes'
|
Plug 'rafi/awesome-vim-colorschemes'
|
||||||
|
|
||||||
" Completions <3
|
" Completions <3
|
||||||
" Plug 'hrsh7th/nvim-cmp', { 'branch': 'main' }
|
Plug 'hrsh7th/nvim-cmp', { 'branch': 'main' }
|
||||||
" Plug 'hrsh7th/cmp-nvim-lsp', { 'branch': 'main' }
|
Plug 'hrsh7th/cmp-nvim-lsp', { 'branch': 'main' }
|
||||||
" Plug 'hrsh7th/cmp-buffer', { 'branch': 'main' }
|
Plug 'hrsh7th/cmp-buffer', { 'branch': 'main' }
|
||||||
" Plug 'L3MON4D3/LuaSnip', {'tag': 'v1.*'}
|
Plug 'L3MON4D3/LuaSnip', {'tag': 'v1.*'}
|
||||||
|
|
||||||
" Rust support
|
" Rust support
|
||||||
" Plug 'simrat39/rust-tools.nvim'
|
" Plug 'simrat39/rust-tools.nvim'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue