Updated plugins
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
-- https://github.com/hrsh7th/nvim-cmp
|
||||
-- TODO: Go over this
|
||||
return {
|
||||
{
|
||||
-- Autocompletion
|
||||
|
||||
@@ -69,8 +69,7 @@ return {
|
||||
return ":IncRename " .. vim.fn.expand("<cword>")
|
||||
end, { buffer = event.buf, expr = true, desc = "LSP: [R]e[N]ame" })
|
||||
|
||||
-- Also works in visual mode
|
||||
-- TODO: Is that something we even need?
|
||||
-- TODO: Do we need this to work in visal mode?
|
||||
vim.keymap.set(
|
||||
{ "v", "n" },
|
||||
"<leader>ca",
|
||||
@@ -105,7 +104,6 @@ return {
|
||||
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
||||
-- TODO: Only do this is cmp_nvim_lsp is enabled
|
||||
capabilities = vim.tbl_deep_extend("force", capabilities, require("cmp_nvim_lsp").default_capabilities())
|
||||
-- TODO: Check if this is still up to date
|
||||
capabilities.textDocument.colorProvider = {
|
||||
dynamicRegistration = true,
|
||||
}
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
local diagnostic = require("symbols.diagnostic")
|
||||
|
||||
return {
|
||||
-- NOTE: Using a fork for the time being upstream does not support authors
|
||||
-- 'folke/todo-comments.nvim',
|
||||
-- NOTE: This fork highlights the entire matched word, not just the keyword.
|
||||
"doongjohn/todo-comments.nvim",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
|
||||
@@ -9,7 +9,7 @@ return {
|
||||
},
|
||||
},
|
||||
init = function()
|
||||
-- TODO: Can we tie these to where the keymaps are registered?
|
||||
-- TODO: Only make a category show up if there actually are any keybinds under it
|
||||
require("which-key").register({
|
||||
["<leader>g"] = { name = "[G]it", _ = "which_key_ignore" },
|
||||
["<leader>b"] = { name = "[B]buffer", _ = "which_key_ignore" },
|
||||
|
||||
Reference in New Issue
Block a user