summaryrefslogtreecommitdiff
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
parent9ec1b5f213855c01701ed803983ce59cf29ba155 (diff)
Neovim: updated todo icon for test, ohmyposh: updated themes to include extra spaces after icons
-rw-r--r--.config/nvim/lua/plugins/todo.lua12
-rw-r--r--.config/ohmyposh/tokyocat.omp.yml2
-rw-r--r--.config/ohmyposh/tokyocat_laptop.omp.yml2
3 files changed, 8 insertions, 8 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*]],
diff --git a/.config/ohmyposh/tokyocat.omp.yml b/.config/ohmyposh/tokyocat.omp.yml
index 8c1d552..1cbe502 100644
--- a/.config/ohmyposh/tokyocat.omp.yml
+++ b/.config/ohmyposh/tokyocat.omp.yml
@@ -26,7 +26,7 @@ blocks:
trailing_diamond: "\ue0b4"
background: p:black
foreground: p:blue
- template: " {{ .HEAD }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}{{ if and (or (.Working.Changed) (.Staging.Changed)) (or (gt .Ahead 0) (gt .Behind 0)) }} | {{ else }} {{ end }}{{ if gt .Behind 0 }}⇣{{ end }}{{ if gt .Ahead 0 }}⇡{{ end }}"
+ template: " {{ .HEAD }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }}{{ if and (or (.Working.Changed) (.Staging.Changed)) (or (gt .Ahead 0) (gt .Behind 0)) }} | {{ else }} {{ end }}{{ if gt .Behind 0 }}⇣{{ end }}{{ if gt .Ahead 0 }}⇡{{ end }}"
properties:
fetch_status: true
branch_icon: " "
diff --git a/.config/ohmyposh/tokyocat_laptop.omp.yml b/.config/ohmyposh/tokyocat_laptop.omp.yml
index 4213eaf..f0644e6 100644
--- a/.config/ohmyposh/tokyocat_laptop.omp.yml
+++ b/.config/ohmyposh/tokyocat_laptop.omp.yml
@@ -68,7 +68,7 @@ blocks:
trailing_diamond: "\ue0b4"
background: p:black
foreground: p:blue
- template: " {{ .HEAD }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}{{ if and (or (.Working.Changed) (.Staging.Changed)) (or (gt .Ahead 0) (gt .Behind 0)) }} | {{ else }} {{ end }}{{ if gt .Behind 0 }}⇣{{ end }}{{ if gt .Ahead 0 }}⇡{{ end }}"
+ template: " {{ .HEAD }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }}{{ if and (or (.Working.Changed) (.Staging.Changed)) (or (gt .Ahead 0) (gt .Behind 0)) }} | {{ else }} {{ end }}{{ if gt .Behind 0 }}⇣{{ end }}{{ if gt .Ahead 0 }}⇡{{ end }}"
properties:
fetch_status: true
branch_icon: " "