mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
NVIM with Lazy.vim Package Manager
- Added the basic setting for functional LSP. - Split configurations into multiple files suitable for Lazy usage.
This commit is contained in:
20
common/.config/nvim/lua/plugins/todo-comments.lua
Normal file
20
common/.config/nvim/lua/plugins/todo-comments.lua
Normal file
@@ -0,0 +1,20 @@
|
||||
return {
|
||||
"folke/todo-comments.nvim",
|
||||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
config = function()
|
||||
vim.keymap.set("n", "]t", function()
|
||||
require("todo-comments").jump_next(
|
||||
{ keywords = { "ERROR", "WARNING", "TODO" }}
|
||||
)
|
||||
end,
|
||||
{ desc = "Next todo comment"}
|
||||
)
|
||||
vim.keymap.set("n", "[t", function()
|
||||
require("todo-comments").jump_prev(
|
||||
{ keywords = { "ERROR", "WARNING", "TODO" }}
|
||||
)
|
||||
end,
|
||||
{ desc = "Previous todo comment"}
|
||||
)
|
||||
end
|
||||
}
|
||||
Reference in New Issue
Block a user