Neovim: fixed color picker not working due to typo and added some TODOs

This commit is contained in:
Kyren223
2024-07-13 18:46:25 +03:00
parent db92507141
commit 025c3f55b7
2 changed files with 6 additions and 1 deletions

View File

@@ -34,6 +34,9 @@ require('lspsaga').setup({
outline = {
layout = 'float',
},
-- TODO: Change <C-k> in rename to smthing else
-- bcz I am using <C-k> for moving between windows
-- Maybe <C-c> for abort, <cr> for confirm
})
-- NOTE: A list of language servers (and potentially their config)

View File

@@ -16,11 +16,13 @@ return {
auto_enable = true,
},
})
vim.keymap.set('n', '<leader>cp', '<cmd<CccPick<cr>', { desc = '[C]olor [P]icker' })
vim.keymap.set('n', '<leader>cp', '<cmd>CccPick<cr>', { desc = '[C]olor [P]icker' })
vim.keymap.set('n', '<leader>ct', '<cmd>CccHighlighterToggle<cr>', { desc = '[C]olor [T]oggle' })
end,
},
{
-- TODO: Make sure it uses a diff color
-- the color rn is too similar to visual mode
'RRethy/vim-illuminate',
config = function()
vim.keymap.set('n', '<leader>it', '<cmd>IlluminateToggle<cr>', { desc = '[I]lluminate [Tloggle]' })