diff --git a/UltiSnips/all.snippets b/UltiSnips/all.snippets index 1df1939..8855d87 100644 --- a/UltiSnips/all.snippets +++ b/UltiSnips/all.snippets @@ -1,5 +1,5 @@ snippet cred "My private Credentials" -Yannick Reiss +Yannick Reiss 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 Reiß (yareissx/yreis001) endsnippet diff --git a/lua/code-completion.lua b/lua/code-completion.lua index 0664f25..4f5b9d2 100644 --- a/lua/code-completion.lua +++ b/lua/code-completion.lua @@ -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] diff --git a/lua/plugins.lua b/lua/plugins.lua index 053dc84..c61e9f3 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -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", }