From 78f2adde7f42f90e75578eae3651553ca89afabe Mon Sep 17 00:00:00 2001 From: Oliver Ladner Date: Mon, 12 May 2025 10:38:17 +0200 Subject: [PATCH 1/2] style: reformat todo-comments file --- lua/weeheavy/plugins/todo-comments.lua | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/lua/weeheavy/plugins/todo-comments.lua b/lua/weeheavy/plugins/todo-comments.lua index ff39073..125bc59 100644 --- a/lua/weeheavy/plugins/todo-comments.lua +++ b/lua/weeheavy/plugins/todo-comments.lua @@ -1,16 +1,18 @@ -- Highlight, list and search todo comments in your projects -- https://github.com/folke/todo-comments.nvim return { - "folke/todo-comments.nvim", - lazy = true, - event = "VimEnter", - -- TODO: a todo - -- WARN: a warning - -- PERF: a performance remark - -- NOTE: a note - -- FIXME: a fixme - dependencies = { - "nvim-lua/plenary.nvim", - }, - opts = { signs = false }, + "folke/todo-comments.nvim", + lazy = true, + event = "VimEnter", + enabled = true, + -- TODO: a todo + -- WARN: a warning + -- PERF: a performance remark + -- NOTE: a note + -- FIXME: a fixme + -- XXX: something else + dependencies = { + "nvim-lua/plenary.nvim", + }, + opts = { signs = false }, } From 6984151b2b26e321ad2786c660df16360ea9c96c Mon Sep 17 00:00:00 2001 From: Oliver Ladner Date: Mon, 12 May 2025 10:39:23 +0200 Subject: [PATCH 2/2] fix(lualine): remove unused --- lua/weeheavy/plugins/lualine.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/weeheavy/plugins/lualine.lua b/lua/weeheavy/plugins/lualine.lua index b2b1aa2..dcd9b10 100644 --- a/lua/weeheavy/plugins/lualine.lua +++ b/lua/weeheavy/plugins/lualine.lua @@ -2,7 +2,7 @@ -- Display attached LSP client local function lsp_client_name() - local bufnr = vim.api.nvim_get_current_buf() + -- local bufnr = vim.api.nvim_get_current_buf() -- local clients = vim.lsp.buf_get_clients(bufnr) local clients = vim.lsp.get_clients({ bufnr = 0 })