Add todo-comments

This commit is contained in:
ViViDboarder 2022-01-02 07:41:55 -08:00
parent 40b88432f8
commit 4b6d7a3efc
2 changed files with 34 additions and 0 deletions

View File

@ -348,6 +348,17 @@ return require("packer").startup({
cmd = { "StartupTime" }, 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 -- Auto sync after bootstrapping on a fresh box
if packer_bootstrap then if packer_bootstrap then
require("packer").sync() require("packer").sync()

View File

@ -0,0 +1,23 @@
require("todo-comments").setup({
signs = false,
keywords = {
FIX = {
icon = "🩹",
},
TODO = {
icon = "✏️",
},
HACK = {
icon = "🙈",
},
PERF = {
icon = "🚀",
},
NOTE = {
icon = "📓",
},
WARNING = {
icon = "⚠️",
},
},
})