Skip to content

Commit c48750f

Browse files
committed
Disable lazy load for markview
1 parent f4447f4 commit c48750f

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

init.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,6 +1116,7 @@ require('lazy').setup({
11161116
}, ]]
11171117
{ -- Highlight, edit, and navigate code
11181118
'nvim-treesitter/nvim-treesitter',
1119+
dependencies = { 'OXY2DEV/markview.nvim' },
11191120
build = ':TSUpdate',
11201121
main = 'nvim-treesitter.configs', -- Sets main module to use for opts
11211122
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`

lua/custom/plugins/init.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@ return {
6363
},
6464
{
6565
'OXY2DEV/markview.nvim',
66+
lazy = false,
6667
dependencies = {
6768
'nvim-tree/nvim-web-devicons', -- OPTIONAL: for file icons
6869
'echasnovski/mini.icons',
6970
'saghen/blink.cmp',
7071
},
71-
ft = { 'markdown' },
7272
opts = {
7373
preview = {
7474
icon_provider = 'internal',
@@ -222,4 +222,6 @@ return {
222222
-- stylua: ignore end
223223
},
224224
},
225+
{
226+
},
225227
}

0 commit comments

Comments
 (0)