Add ACM sourcer

This commit is contained in:
Yannick Reiß 2024-02-18 15:37:41 +01:00
parent 1a79274bd7
commit f5df2d52e3
No known key found for this signature in database
GPG Key ID: 5A3AF456F0A0338C
3 changed files with 9 additions and 6 deletions

View File

@ -1,5 +1,5 @@
snippet cred "My private Credentials"
Yannick Reiss <yannick.reiss@protonmail.ch>
Yannick Reiss <yannick.reiss@nickr.eu>
endsnippet
snippet solve "Solve a python equation"
@ -17,5 +17,5 @@ snippet dd "Date and Time" i
endsnippet
snippet credhsrm "Credentials HSRM"
Yannick Reiß (yreis001) <yannick.reiss@student.hs-rm.de>
Yannick Reiß (yareissx/yreis001) <yannick.reiss@student.hs-rm.de>
endsnippet

View File

@ -50,11 +50,11 @@ cmp.setup({
{ name = "nvim_lsp", keyword_length = 2 },
{ name = "nvim_lsp_signature_help" },
{ name = "nvim_lua", keyword_length = 4 },
{ name = "buffer", keyword_length = 1 },
{ name = "buffer", keyword_length = 3 },
{ name = "calc" },
{ name = "lua-latex-symbols", option = { cache = true } },
-- { name = "spell", option = { keep_all_entries = false }, keyword_length = 2 },
-- { name = "fuzzy_buffer", keyword_length = 4 },
-- { name = "fuzzy_buffer", keyword_length = 2 }, -- Throwing unknown errors
}),
-- add formatting of the different sources
@ -68,7 +68,7 @@ cmp.setup({
calc = "Σ",
buffer = "📚",
lualatexsymbols = "𝕋",
-- spell = "📚",
spell = "📚",
fuzzy_buffer = "📄",
}
item.menu = menu_icon[entry.source.name]

View File

@ -29,7 +29,9 @@ return {
dependencies = { "nvim-lua/plenary.nvim" },
},
"fhill2/telescope-ultisnips.nvim",
"hiroakis/cyberspace.vim", "tpope/vim-speeddating", "yannickreiss/nvim-doxyscan",
"hiroakis/cyberspace.vim",
"tpope/vim-speeddating",
"yannickreiss/nvim-doxyscan",
"nvim-tree/nvim-web-devicons",
{ "romgrk/barbar.nvim", wants = "nvim-web-devicons" },
{ "lukas-reineke/indent-blankline.nvim", main = "ibl", opts = {} },
@ -60,4 +62,5 @@ return {
{ "tzachar/cmp-fuzzy-buffer", requires = { "hrsh7th/nvim-cmp", "tzachar/fuzzy.nvim" } },
"quangnguyen30192/cmp-nvim-ultisnips",
"mihaifm/bufstop",
"https://git.nickr.eu/yannickreiss/nvim-sourcer.git",
}