mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 16:53:00 +00:00
chore(nvim): Change to lazy.nvim recommended format
This commit is contained in:
parent
19cedd3fdc
commit
f10828fdac
23 changed files with 579 additions and 414 deletions
|
|
@ -1,3 +1,5 @@
|
|||
-- This won't be loaded
|
||||
-- I keep this since render-markdown sometimes buggy
|
||||
return {
|
||||
{
|
||||
"OXY2DEV/markview.nvim",
|
||||
|
|
@ -6,25 +8,22 @@ return {
|
|||
"nvim-treesitter/nvim-treesitter",
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
},
|
||||
config = function()
|
||||
local presets = require("markview.presets")
|
||||
require("markview").setup({
|
||||
checkboxes = presets.checkboxes.nerd,
|
||||
headings = {
|
||||
enable = true,
|
||||
shift_width = 1,
|
||||
heading_1 = {
|
||||
style = "label",
|
||||
hl = "MarkviewH1",
|
||||
},
|
||||
opts = {
|
||||
checkboxes = require("markview-presets").checkboxes.nerd,
|
||||
headings = {
|
||||
enable = true,
|
||||
shift_width = 1,
|
||||
heading_1 = {
|
||||
style = "label",
|
||||
hl = "MarkviewH1",
|
||||
},
|
||||
code_blocks = {
|
||||
style = "language",
|
||||
language_direction = "right",
|
||||
hl = "MarkviewCode",
|
||||
info_hl = "MarkviewCodeInfo",
|
||||
},
|
||||
})
|
||||
end,
|
||||
},
|
||||
code_blocks = {
|
||||
style = "language",
|
||||
language_direction = "right",
|
||||
hl = "MarkviewCode",
|
||||
info_hl = "MarkviewCodeInfo",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue