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

View File

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

View File

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