include i3 and nvim configuration in the central repository, rather than keep them in their seperate respective ones.
This commit is contained in:
22
.config/nvim/lua/plugin/todo-comments.lua
Normal file
22
.config/nvim/lua/plugin/todo-comments.lua
Normal file
@@ -0,0 +1,22 @@
|
||||
---@module 'lazy'
|
||||
---@type LazySpec
|
||||
return { {
|
||||
'folke/todo-comments.nvim', -- for highlighting TODO and stuff comments
|
||||
event = 'VeryLazy',
|
||||
dependencies = { 'nvim-lua/plenary.nvim' },
|
||||
---@module 'todo-comments'
|
||||
---@type TodoOptions
|
||||
opts = {
|
||||
signs = false,
|
||||
colors = {
|
||||
hint = { "Comment" }
|
||||
},
|
||||
},
|
||||
config = function(_, opts)
|
||||
local todo = require 'todo-comments'
|
||||
todo.setup(opts)
|
||||
|
||||
Map('n', '<leader>st', '<cmd>TodoTelescope keywords=TODO,FIX,BUG,WARN<cr>',
|
||||
{ desc = '[S]earch [T]odos]' })
|
||||
end,
|
||||
} }
|
||||
Reference in New Issue
Block a user