vim: add separate icons for checkmark and checkbox
This commit is contained in:
parent
2a042f9927
commit
a6b117d44c
4 changed files with 5 additions and 3 deletions
|
@ -92,7 +92,8 @@ M.modes = {
|
||||||
M.ui = {
|
M.ui = {
|
||||||
Attention = '',
|
Attention = '',
|
||||||
Bug = '', --
|
Bug = '', --
|
||||||
Checkmark = '', --
|
Checkbox = '', --
|
||||||
|
Checkmark = '', --
|
||||||
ChevronDown = '', --
|
ChevronDown = '', --
|
||||||
ChevronLeft = '', --
|
ChevronLeft = '', --
|
||||||
ChevronRight = '', --
|
ChevronRight = '', --
|
||||||
|
|
|
@ -7,6 +7,7 @@ M.event = 'LspAttach'
|
||||||
M.config = function()
|
M.config = function()
|
||||||
require('fidget').setup {
|
require('fidget').setup {
|
||||||
text = {
|
text = {
|
||||||
|
done = require('fschauen.icons').ui.Checkmark,
|
||||||
spinner = {
|
spinner = {
|
||||||
'▱▱▱▱▱▱▱',
|
'▱▱▱▱▱▱▱',
|
||||||
'▰▱▱▱▱▱▱',
|
'▰▱▱▱▱▱▱',
|
||||||
|
|
|
@ -155,7 +155,7 @@ M.config = function()
|
||||||
prompt_prefix = ' ',
|
prompt_prefix = ' ',
|
||||||
selection_caret = icons.ui.Play .. ' ',
|
selection_caret = icons.ui.Play .. ' ',
|
||||||
|
|
||||||
multi_icon = icons.ui.Checkmark,
|
multi_icon = icons.ui.Checkbox,
|
||||||
scroll_strategy = 'limit', -- Don't wrap around in results.
|
scroll_strategy = 'limit', -- Don't wrap around in results.
|
||||||
|
|
||||||
dynamic_preview_title = true,
|
dynamic_preview_title = true,
|
||||||
|
|
|
@ -19,7 +19,7 @@ local icons = require('fschauen.icons')
|
||||||
M.config = function()
|
M.config = function()
|
||||||
require('todo-comments').setup {
|
require('todo-comments').setup {
|
||||||
keywords = {
|
keywords = {
|
||||||
TODO = { icon = icons.ui.Checkmark },
|
TODO = { icon = icons.ui.Checkbox },
|
||||||
FIX = { icon = icons.ui.Bug },
|
FIX = { icon = icons.ui.Bug },
|
||||||
HACK = { icon = icons.ui.Fire },
|
HACK = { icon = icons.ui.Fire },
|
||||||
WARN = { icon = icons.ui.Warning },
|
WARN = { icon = icons.ui.Warning },
|
||||||
|
|
Loading…
Add table
Reference in a new issue