Compare commits

...

2 Commits

Author SHA1 Message Date
925f79f9d4 Update completion sources 2023-06-26 13:18:25 -05:00
81995a78d6 fix symbols 2023-06-26 13:10:50 -05:00
2 changed files with 10 additions and 4 deletions

View File

@ -7,7 +7,9 @@
"catppuccin": { "branch": "main", "commit": "506a4aa13443e0104ea49b99947cc09488d0791d" },
"ciderlsp_nvim": { "branch": "main", "commit": "7007e1881eb421a4d6f7ef1f31e973f7cc0b4d8d" },
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
"cmp-calc": { "branch": "main", "commit": "50792f34a628ea6eb31d2c90e8df174671e4e7a0" },
"cmp-cmdline": { "branch": "main", "commit": "8ee981b4a91f536f52add291594e89fb6645e451" },
"cmp-emoji": { "branch": "main", "commit": "19075c36d5820253d32e2478b6aaf3734aeaafa0" },
"cmp-nvim-lsp": { "branch": "main", "commit": "44b16d11215dce86f253ce0c30949813c0a90765" },
"cmp-nvim-lsp-document-symbol": { "branch": "main", "commit": "f0f53f704c08ea501f9d222b23491b0d354644b0" },
"cmp-nvim-lsp-signature-help": { "branch": "main", "commit": "3d8912ebeb56e5ae08ef0906e3a54de1c66b92f1" },

View File

@ -35,19 +35,23 @@ return {
"hrsh7th/cmp-path",
"hrsh7th/cmp-vsnip",
"ray-x/cmp-treesitter",
"hrsh7th/cmp-emoji",
"hrsh7th/cmp-calc",
},
config = function()
local cmp = require("cmp")
local conditionalSources = cmp.config.sources({
{ name = "buffer", max_item_count = 5, keyword_length = 5, group_index = 2 },
{ name = "calc" },
{ name = "crates" },
{ name = "nvim_lsp" },
{ name = "nvim_lsp_signature_help", priority = 5 },
{ name = "nvim_lua" },
{ name = "path" },
{ name = "treesitter" },
{ name = "vim_vsnip" },
{ name = "vsnip" },
{ name = "emoji" },
{
name = "spell",
option = {
@ -165,10 +169,10 @@ return {
menu = {
nvim_ciderlsp = "",
buffer = "",
crates = "📦",
nvim_lsp = "[CiderLSP]",
crates = "",
nvim_lsp = "",
nvim_lua = "",
cmp_tabnine = "[TabNine]",
nvim_lua = "[API]",
path = "[path]",
tmux = "[TMUX]",
vim_vsnip = "[snip]",