(neovim) configure start/end string and markers for markdown-toc for Sublime compatibility
This commit is contained in:
parent
784e9f83cd
commit
aee5f18c4a
1 changed files with 9 additions and 1 deletions
|
@ -24,7 +24,15 @@ return {
|
||||||
ft = "markdown",
|
ft = "markdown",
|
||||||
cmd = { "Mtoc" },
|
cmd = { "Mtoc" },
|
||||||
config = function()
|
config = function()
|
||||||
require('mtoc').setup({})
|
require('mtoc').setup({
|
||||||
|
fences = {
|
||||||
|
start_text = 'MarkdownTOC autolink="true"',
|
||||||
|
end_text = "/MarkdownTOC",
|
||||||
|
},
|
||||||
|
toc_list = {
|
||||||
|
markers = '-',
|
||||||
|
},
|
||||||
|
})
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue