From def3c6b531ad96d569a9af7d034772a0feb602fa Mon Sep 17 00:00:00 2001 From: yannickreiss Date: Sun, 12 May 2024 06:32:42 +0200 Subject: [PATCH] Removed Tabnine because of resource usage, addded journal plugin instead --- lua/code-completion.lua | 16 ---------------- lua/plugconfig.lua | 2 +- lua/plugins.lua | 11 ++++++----- 3 files changed, 7 insertions(+), 22 deletions(-) diff --git a/lua/code-completion.lua b/lua/code-completion.lua index dae4bea..2a29fd0 100644 --- a/lua/code-completion.lua +++ b/lua/code-completion.lua @@ -132,19 +132,3 @@ cmp.setup.cmdline(":", { }, }) --- Tabnine configuration -local tabnine = require("cmp_tabnine.config") -tabnine:setup({ - max_lines = 1000, - max_num_results = 10, - sort = true, - run_on_every_keystroke = true, - snippet_placeholder = "..", - ignored_file_types = { - -- default is not to ignore - -- uncomment to ignore in lua: - -- lua = true - }, - show_prediction_strength = true, - min_percent = 40, -}) diff --git a/lua/plugconfig.lua b/lua/plugconfig.lua index 79fd400..33acb06 100644 --- a/lua/plugconfig.lua +++ b/lua/plugconfig.lua @@ -89,7 +89,7 @@ require("lspconfig").verible.setup({ vim.keymap.set("n", "", ":FloatermNew --height=0.9 --width=0.9 --wintype=float --name=terminal ") -- Set default colorscheme -vim.cmd("colo tokyonight-moon") +vim.cmd("colo vim-monokai-tasty") -- Formatter configuration vim.cmd([[ diff --git a/lua/plugins.lua b/lua/plugins.lua index 2fe8325..42a720d 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -64,11 +64,12 @@ return { "mihaifm/bufstop", "https://git.nickr.eu/yannickreiss/nvim-sourcer.git", { "tzachar/cmp-fuzzy-buffer", requires = { "hrsh7th/nvim-cmp", "tzachar/fuzzy.nvim" } }, - { - "tzachar/cmp-tabnine", - build = "./install.sh", - dependencies = "hrsh7th/nvim-cmp", - }, "jaredgorski/spacecamp", "voldikss/vim-floaterm", + { + "jakobkhansen/journal.nvim", + config = function() + require("journal").setup() + end, + }, }