Skip to content

Commit 856a0d9

Browse files
guru245Sangho Lee
authored andcommitted
Fix codeblock highlight issue in Markview
1 parent a71210f commit 856a0d9

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

init.lua

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1132,15 +1132,17 @@ require('lazy').setup({
11321132
-- - Incremental selection: Included, see `:help nvim-treesitter-incremental-selection-mod`
11331133
-- - Show your current context: https://github.com/nvim-treesitter/nvim-treesitter-context
11341134
-- - Treesitter + textobjects: https://github.com/nvim-treesitter/nvim-treesitter-textobjects
1135-
{
1136-
'nvim-treesitter/nvim-treesitter-context',
1137-
opts = {
1138-
max_lines = 3,
1139-
trim_scope = 'inner',
1140-
},
1135+
},
1136+
{
1137+
'nvim-treesitter/nvim-treesitter-context',
1138+
dependencies = {
1139+
'nvim-treesitter/nvim-treesitter',
1140+
},
1141+
opts = {
1142+
max_lines = 3,
1143+
trim_scope = 'inner',
11411144
},
11421145
},
1143-
11441146
-- The following comments only work if you have downloaded the kickstart repo, not just copy pasted the
11451147
-- init.lua. If you want these files, they are in the repository, so you can just download them and
11461148
-- place them in the correct locations.

0 commit comments

Comments
 (0)