Skip to content

Commit e39c336

Browse files
committed
chore(mark): use markview instead of renderer, enabled snack.scope
1 parent bbad313 commit e39c336

File tree

4 files changed

+23
-6
lines changed

4 files changed

+23
-6
lines changed

.luarc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
"vim",
44
"w"
55
]
6-
}
6+
}

lazy-lock.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@
66
"lazy.nvim": { "branch": "main", "commit": "7e6c863bc7563efbdd757a310d17ebc95166cef3" },
77
"lazydev.nvim": { "branch": "main", "commit": "8620f82ee3f59ff2187647167b6b47387a13a018" },
88
"lspconfig": { "branch": "master", "commit": "88157521e890fe7fdf18bee22438875edd6300a6" },
9+
"markview.nvim": { "branch": "main", "commit": "6e9f1840ba33e5318285ad97c22676f55b753479" },
910
"mini": { "branch": "main", "commit": "3a3178419ce9947f55708966dabf030eca40735a" },
10-
"render-markdown.nvim": { "branch": "main", "commit": "d7b646f2e6136d963e1bd3abbb9e2ac3fa90837a" },
1111
"snacks": { "branch": "main", "commit": "d2b2b7bcbf9814d61f2e8049affed750509f44e3" },
12-
"treesitter": { "branch": "master", "commit": "097fb77312c731347180e8907424f6c967323f05" }
12+
"treesitter": { "branch": "master", "commit": "097fb77312c731347180e8907424f6c967323f05" },
13+
"typr": { "branch": "dev", "commit": "ed3e5e2fc11c4696efc1e5b0f0dd058b45a0085a" },
14+
"volt": { "branch": "dev", "commit": "19dd8617f30124725a3b7ee9a5d71352e79247cf" }
1315
}

lua/opts.lua

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@ opts.final = function()
5757
opt.statusline = "%#Normal#" .. statusline_ascii .. "%="
5858
end
5959

60+
61+
vim.g.neovide_padding_top = 25
62+
vim.g.neovide_padding_bottom = 25
63+
vim.g.neovide_padding_right = 25
64+
vim.g.neovide_padding_left = 25
65+
66+
6067
--- Load shada after ui-enter
6168
local shada = vim.o.shada
6269
vim.o.shada = ""

lua/plugins/init.lua

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ local plugins = {
1111
vim.cmd.colorscheme "catppuccin"
1212
end,
1313
opts = {
14-
transparent_background = true,
14+
transparent_background = not vim.g.neovide,
1515
compile_path = vim.fn.stdpath "cache" .. "/catppuccin",
1616
compile = true,
1717
flavour = "mocha",
@@ -192,6 +192,10 @@ local plugins = {
192192
},
193193
event = { "BufReadPost" },
194194
opts = {
195+
statuscolumn = {
196+
left = { "fold", "git" },
197+
right = { "mark", "sign" },
198+
},
195199
words = {
196200
enabled = true,
197201
debounce = 500,
@@ -202,7 +206,11 @@ local plugins = {
202206
},
203207
},
204208
indent = {
205-
enabled = true,
209+
scope = {
210+
treesitter = {
211+
enabled = true,
212+
},
213+
},
206214
},
207215
},
208216
},
@@ -222,7 +230,7 @@ local plugins = {
222230
},
223231

224232
{
225-
"MeanderingProgrammer/render-markdown.nvim",
233+
"OXY2DEV/markview.nvim",
226234
ft = "markdown",
227235
dependencies = {
228236
"nvim-treesitter/nvim-treesitter",

0 commit comments

Comments
 (0)