mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 18:47:35 +00:00
Add todo-comments
This commit is contained in:
parent
40b88432f8
commit
4b6d7a3efc
@ -348,6 +348,17 @@ return require("packer").startup({
|
||||
cmd = { "StartupTime" },
|
||||
})
|
||||
|
||||
-- Fancy todo highlighting
|
||||
use({
|
||||
"folke/todo-comments.nvim",
|
||||
requires = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
},
|
||||
config = function()
|
||||
require("plugins.todo")
|
||||
end,
|
||||
})
|
||||
|
||||
-- Auto sync after bootstrapping on a fresh box
|
||||
if packer_bootstrap then
|
||||
require("packer").sync()
|
||||
|
23
neovim/lua/plugins/todo.lua
Normal file
23
neovim/lua/plugins/todo.lua
Normal file
@ -0,0 +1,23 @@
|
||||
require("todo-comments").setup({
|
||||
signs = false,
|
||||
keywords = {
|
||||
FIX = {
|
||||
icon = "🩹",
|
||||
},
|
||||
TODO = {
|
||||
icon = "✏️",
|
||||
},
|
||||
HACK = {
|
||||
icon = "🙈",
|
||||
},
|
||||
PERF = {
|
||||
icon = "🚀",
|
||||
},
|
||||
NOTE = {
|
||||
icon = "📓",
|
||||
},
|
||||
WARNING = {
|
||||
icon = "⚠️",
|
||||
},
|
||||
},
|
||||
})
|
Loading…
Reference in New Issue
Block a user