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 }) 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 }, }