Complete from buffers at least

This commit is contained in:
Nicole Tietz-Sokolskaya 2023-08-14 21:30:13 -04:00
parent 7306520201
commit 0518f6c634
3 changed files with 7 additions and 7 deletions

View file

@ -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' },
}, },
} }

View file

@ -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

View file

@ -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'