From 109a3e306846f599994cc1078dafd52c61578fa3 Mon Sep 17 00:00:00 2001 From: Taken Date: Tue, 26 Aug 2025 11:51:32 +0200 Subject: [PATCH] Removed plugins --- lua/taken/plugins/incline.lua | 80 ------------------------------ lua/taken/plugins/neocord.lua | 30 ----------- lua/taken/plugins/nvimtree.lua | 66 ------------------------ lua/taken/plugins/otherplugins.lua | 20 -------- 4 files changed, 196 deletions(-) delete mode 100644 lua/taken/plugins/incline.lua delete mode 100644 lua/taken/plugins/neocord.lua delete mode 100644 lua/taken/plugins/nvimtree.lua diff --git a/lua/taken/plugins/incline.lua b/lua/taken/plugins/incline.lua deleted file mode 100644 index 5b52920..0000000 --- a/lua/taken/plugins/incline.lua +++ /dev/null @@ -1,80 +0,0 @@ ---- @type LazyPluginSpec -return { - "b0o/incline.nvim", - event = "VeryLazy", - enabled = false, - config = function() - local incline = require("incline") - - incline.setup({ - highlight = { - groups = { - InclineNormal = { - default = true, - group = "Normal", - }, - InclineNormalNC = { - default = true, - group = "Normal", - }, - }, - }, - render = function(props) - local devicons = require("nvim-web-devicons") - local helpers = require("incline.helpers") - local filename = vim.fn.fnamemodify(vim.api.nvim_buf_get_name(props.buf), ":t") - if filename == "" then - filename = "[No Name]" - end - local ft_icon, ft_color = devicons.get_icon_color(filename) - local modified = vim.bo[props.buf].modified - - local function get_git_diff() - local icons = { removed = "", changed = "", added = "" } - local signs = vim.b[props.buf].gitsigns_status_dict - local labels = {} - if signs == nil then - return labels - end - for name, icon in pairs(icons) do - if tonumber(signs[name]) and signs[name] > 0 then - table.insert(labels, { icon .. signs[name] .. " ", group = "Diff" .. name }) - end - end - if #labels > 0 then - table.insert(labels, { "┊ " }) - end - return labels - end - - local function get_diagnostic_label() - local icons = { error = "", warn = "", info = "", hint = "" } - local label = {} - - for severity, icon in pairs(icons) do - local n = #vim.diagnostic.get( - props.buf, - { severity = vim.diagnostic.severity[string.upper(severity)] } - ) - if n > 0 then - table.insert(label, { icon .. n .. " ", group = "DiagnosticSign" .. severity }) - end - end - if #label > 0 then - table.insert(label, { "┊ " }) - end - - return label - end - - return { - { get_diagnostic_label() }, - { get_git_diff() }, - ft_icon and { " ", ft_icon, " ", guibg = ft_color, guifg = helpers.contrast_color(ft_color) } or "", - " ", - { filename, gui = modified and "bold,italic" or "bold" }, - } - end, - }) - end, -} diff --git a/lua/taken/plugins/neocord.lua b/lua/taken/plugins/neocord.lua deleted file mode 100644 index 981c76c..0000000 --- a/lua/taken/plugins/neocord.lua +++ /dev/null @@ -1,30 +0,0 @@ ---- @type LazyPluginSpec -return { - "IogaMaster/neocord", - enabled = false, - config = function() - local neocord = require("neocord") - - neocord.setup({ - logo = "neovim", - logo_tooltip = "The One True Text Editor", - main_image = "neovim", - client_id = "793271441293967371", - log_level = nil, - debounce_timeout = 10, - blacklist = {}, - file_assets = {}, - show_time = true, - global_timer = true, - - editing_text = "Editing %s", - file_explorer_text = "Browsing %s", - git_commit_text = "Committing changes", - plugin_manager_text = "Managing plugins", - reading_text = "Reading %s", - workspace_text = "Working on %s", - line_number_text = "Line %s out of %s", - terminal_text = "Using Terminal", - }) - end, -} diff --git a/lua/taken/plugins/nvimtree.lua b/lua/taken/plugins/nvimtree.lua deleted file mode 100644 index e141e3d..0000000 --- a/lua/taken/plugins/nvimtree.lua +++ /dev/null @@ -1,66 +0,0 @@ ---- @type LazyPluginSpec -return { - "nvim-tree/nvim-tree.lua", - dependencies = { "nvim-tree/nvim-web-devicons" }, - enabled = false, - init = function() - vim.g.loaded_netrw = 1 - vim.g.loaded_netrwPlugin = 1 - end, - config = function() - local nvimtree = require("nvim-tree") - - nvimtree.setup({ - sync_root_with_cwd = true, - view = { - width = 30, - }, - git = { - ignore = false, - }, - filters = { - dotfiles = false, - custom = { - "node_modules", - ".git", - }, - exclude = { - ".gitignore", - }, - }, - }) - - vim.keymap.set("n", "n", ":NvimTreeToggle ", { silent = true, desc = "Toggle nvim-tree" }) - vim.keymap.set("n", "e", ":NvimTreeFocus ", { silent = true, desc = "Focus nvim-tree" }) - vim.keymap.set("n", "r", ":NvimTreeRefresh ", { silent = true, desc = "Refresh nvim-tree" }) - vim.keymap.set("n", "tr", function() - require("nvim-tree.api").tree.change_root(vim.fn.getcwd()) - end, { silent = true, desc = "Change root dir to current dir" }) - - local autocmd = vim.api.nvim_create_autocmd - local augroup = vim.api.nvim_create_augroup - local neogitCmds = augroup("MyCustomNeogitEvents", { clear = true }) - - autocmd("User", { - pattern = "NeogitPushComplete", - group = neogitCmds, - callback = function() - require("nvim-tree.api").tree.reload() - end, - }) - autocmd("User", { - pattern = "NeogitPullComplete", - group = neogitCmds, - callback = function() - require("nvim-tree.api").tree.reload() - end, - }) - autocmd("User", { - pattern = "NeogitFetchComplete", - group = neogitCmds, - callback = function() - require("nvim-tree.api").tree.reload() - end, - }) - end, -} diff --git a/lua/taken/plugins/otherplugins.lua b/lua/taken/plugins/otherplugins.lua index 624d705..e77b457 100644 --- a/lua/taken/plugins/otherplugins.lua +++ b/lua/taken/plugins/otherplugins.lua @@ -5,20 +5,6 @@ return { config = true, cmd = "GrugFar", }, - { - "Bekaboo/dropbar.nvim", - enabled = false, - dependencies = { - "nvim-telescope/telescope-fzf-native.nvim", - }, - }, - { - "OXY2DEV/markview.nvim", - enabled = false, - dependencies = { - "nvim-tree/nvim-web-devicons", - }, - }, { "OXY2DEV/helpview.nvim", dependencies = { @@ -43,12 +29,6 @@ return { event = "VeryLazy", config = true, }, - { - "wakatime/vim-wakatime", - name = "Wakatime", - lazy = false, - enabled = false, - }, { "folke/todo-comments.nvim", ependencies = { "nvim-lua/plenary.nvim" },