clone of my dotfiles.ssp.sh
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

show important lsp first before snippets etc

sspaeti 36c53b6e 96feb31f

+9 -1
+9 -1
nvim/after/plugin/lsp.lua
··· 33 33 ["<C-Space>"] = cmp.mapping.complete(), 34 34 }) 35 35 36 + cmp.setup({ 37 + window = { 38 + completion = cmp.config.window.bordered(), 39 + documentation = cmp.config.window.bordered(), 40 + } 41 + }) 42 + 36 43 -- remove buffer (that suggests words from current buffer): https://stackoverflow.com/a/73144320 37 44 -- full list: https://github.com/hrsh7th/nvim-cmp/wiki/List-of-sources 38 45 local sources = { 39 - { name = 'nvim_lsp' }, 46 + { name = 'nvim_lsp', priority = 1}, 40 47 { name = 'vsnip' }, 41 48 { name = 'path' }, 42 49 { name = 'luasnip' }, ··· 44 51 { name = 'obsidian_new' }, 45 52 { name = 'nvim_lsp:sumneko_lua' }, 46 53 { name = 'nvim_lsp:null-ls' }, 54 + { name = "dictionary", keyword_length = 3, priority = 5, keyword_pattern = [[\w\+]] }, -- from uga-rosa/cmp-dictionary plug 47 55 } 48 56 -- disable completion with tab 49 57 -- this helps with copilot setup