refactor(nvim): remove tsnode-marker
This commit is contained in:
parent
5205adefeb
commit
8627093bc2
@ -815,26 +815,10 @@ lazy.setup({
|
|||||||
},
|
},
|
||||||
|
|
||||||
-- Improved Visuals for Documentation
|
-- Improved Visuals for Documentation
|
||||||
{
|
|
||||||
"atusy/tsnode-marker.nvim",
|
|
||||||
lazy = true,
|
|
||||||
filetype = "markdown",
|
|
||||||
init = function()
|
|
||||||
vim.api.nvim_create_autocmd("FileType", {
|
|
||||||
group = vim.api.nvim_create_augroup("tsnode-marker-markdown", {}),
|
|
||||||
pattern = "markdown",
|
|
||||||
callback = function(ctx)
|
|
||||||
require("tsnode-marker").set_automark(ctx.buf, {
|
|
||||||
target = { "code_fence_content" }, -- list of target node types
|
|
||||||
hl_group = "CursorLine", -- highlight group
|
|
||||||
})
|
|
||||||
end,
|
|
||||||
})
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"lukas-reineke/headlines.nvim",
|
"lukas-reineke/headlines.nvim",
|
||||||
lazy = true,
|
after = { "nvim-treesitter"},
|
||||||
|
event = "VeryLazy",
|
||||||
config = function()
|
config = function()
|
||||||
require("headlines").setup()
|
require("headlines").setup()
|
||||||
end,
|
end,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user