summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins/todo.lua
diff options
context:
space:
mode:
authorKyren223 <ulmliad223@gmail.com>2024-07-06 00:59:54 +0300
committerKyren223 <ulmliad223@gmail.com>2024-07-06 00:59:54 +0300
commitf66b028b7252c6c164205b063119ec8e4d30ca5f (patch)
tree54d00dba21f7f0c2c785b944ec8ea57935214fe6 /.config/nvim/lua/plugins/todo.lua
parent9ec1b5f213855c01701ed803983ce59cf29ba155 (diff)
Neovim: updated todo icon for test, ohmyposh: updated themes to include extra spaces after icons
Diffstat (limited to '.config/nvim/lua/plugins/todo.lua')
-rw-r--r--.config/nvim/lua/plugins/todo.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/.config/nvim/lua/plugins/todo.lua b/.config/nvim/lua/plugins/todo.lua
index 7b76fec..86175a2 100644
--- a/.config/nvim/lua/plugins/todo.lua
+++ b/.config/nvim/lua/plugins/todo.lua
@@ -24,7 +24,7 @@ return {
dependencies = { 'nvim-lua/plenary.nvim' },
config = function()
require('todo-comments').setup({
- signs = true, -- show icons in the signs column
+ signs = true, -- show icons in the signs column
sign_priority = 8, -- sign priority
keywords = {
@@ -37,7 +37,7 @@ return {
PERF = { icon = ' ', color = 'performance', alt = { 'PERFORMANCE' } },
HACK = { icon = ' ', color = 'warning', alt = { 'SMELL', 'CODE SMELL', 'BAD', 'BAD PRACTICE' } },
NOTE = { icon = ' ', color = 'hint', alt = { 'INFO' } },
- TEST = { icon = '⏲ ', color = 'test', alt = { 'TESTING', 'PASSED', 'FAILED' } },
+ TEST = { icon = '󰙨 ', color = 'test', alt = { 'TESTING', 'PASSED', 'FAILED' } },
UNSAFE = { icon = '󰍛 ', color = 'error', alt = { 'SAFETY' } },
},
@@ -55,10 +55,10 @@ return {
highlight = {
multiline = true,
multiline_pattern = '^.', -- lua pattern to match the next multiline from the start of the matched keyword
- multiline_context = 10, -- extra lines that will be re-evaluated when changing a line
- before = '', -- "fg" or "bg" or empty
- keyword = 'wide', -- "fg", "bg", "wide", "wide_bg", "wide_fg" or empty. (wide and wide_bg is the same as bg, but will also highlight surrounding characters, wide_fg acts accordingly but with fg)
- after = 'fg', -- "fg" or "bg" or empty
+ multiline_context = 10, -- extra lines that will be re-evaluated when changing a line
+ before = '', -- "fg" or "bg" or empty
+ keyword = 'wide', -- "fg", "bg", "wide", "wide_bg", "wide_fg" or empty. (wide and wide_bg is the same as bg, but will also highlight surrounding characters, wide_fg acts accordingly but with fg)
+ after = 'fg', -- "fg" or "bg" or empty
pattern = {
[[.*<(KEYWORDS)\s*:]],
-- [[.*<(KEYWORDS)\s*]],