tangled
alpha
login
or
join now
boltless.me
/
nvim_rocks
0
fork
atom
neovim configuration using rocks.nvim plugin manager
0
fork
atom
overview
issues
pulls
pipelines
fix: disable indent-blankline for markup languages
Seongmin Lee
10 months ago
b4eac536
0143b00c
+2
-11
2 changed files
expand all
collapse all
unified
split
lua
plugins
indent-blankline.lua
markview.lua
+2
lua/plugins/indent-blankline.lua
···
6
6
filetypes = {
7
7
"octo",
8
8
"janet",
9
9
+
"markdown",
10
10
+
"norg",
9
11
}
10
12
}
11
13
})
-11
lua/plugins/markview.lua
···
1
1
require("markview").setup({
2
2
preview = {
3
3
enable = false,
4
4
-
callbacks = {
5
5
-
-- FIX: this is buggy. maybe because it is called *after* enabling
6
6
-
on_enable = function(_buf, _win)
7
7
-
vim.cmd("IBLDisable")
8
8
-
end,
9
9
-
on_disable = function(_buf, _win)
10
10
-
vim.schedule(function()
11
11
-
vim.cmd("IBLEnable")
12
12
-
end)
13
13
-
end,
14
14
-
},
15
4
},
16
5
})