feat(nvim): add visual-whitespace.nvim
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 42s
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 42s
This commit is contained in:
parent
1f3689d616
commit
31945d82d0
@ -97,7 +97,7 @@ M.setup = function()
|
|||||||
|
|
||||||
-- Set listcharacters
|
-- Set listcharacters
|
||||||
opt.list = true
|
opt.list = true
|
||||||
opt.listchars:append("tab:-->")
|
opt.listchars:append("tab: ")
|
||||||
opt.listchars:append("trail:·")
|
opt.listchars:append("trail:·")
|
||||||
opt.listchars:append("extends:◣")
|
opt.listchars:append("extends:◣")
|
||||||
opt.listchars:append("precedes:◢")
|
opt.listchars:append("precedes:◢")
|
||||||
|
@ -332,6 +332,9 @@ return {
|
|||||||
{ "@markup.heading.7.marker", { link = "@markup.heading.7" } },
|
{ "@markup.heading.7.marker", { link = "@markup.heading.7" } },
|
||||||
{ "@markup.heading.8.marker", { link = "@markup.heading.8" } },
|
{ "@markup.heading.8.marker", { link = "@markup.heading.8" } },
|
||||||
{ "@markup.quote.org", get_hl("@markup.quote", { bg = colors.sumiInk5 }) },
|
{ "@markup.quote.org", get_hl("@markup.quote", { bg = colors.sumiInk5 }) },
|
||||||
|
|
||||||
|
-- For Visual Whitespace plugin
|
||||||
|
{ "visual-whitespace", get_hl("Visual", { fg = colors.fujiGray }) },
|
||||||
}
|
}
|
||||||
|
|
||||||
if vim.g.neovide then
|
if vim.g.neovide then
|
||||||
|
@ -3,6 +3,6 @@ return {
|
|||||||
"hedyhli/outline.nvim",
|
"hedyhli/outline.nvim",
|
||||||
cmd = { "Outline" },
|
cmd = { "Outline" },
|
||||||
keys = { { "<localleader>o", "<cmd>Outline<CR>", desc = "Toggle Outline" } },
|
keys = { { "<localleader>o", "<cmd>Outline<CR>", desc = "Toggle Outline" } },
|
||||||
config = true
|
config = true,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,9 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
"mcauley-penney/visual-whitespace.nvim",
|
||||||
|
events = "ModeChanged",
|
||||||
|
opts = {
|
||||||
|
highlight = { link = "visual-whitespace" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user