Uses md ts parser for vimwiki files
This commit is contained in:
parent
a059822369
commit
6c57d1db99
2 changed files with 4 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ return {
|
|||
"MeanderingProgrammer/render-markdown.nvim",
|
||||
dependencies = { "nvim-treesitter/nvim-treesitter", "echasnovski/mini.icons", "jghauser/follow-md-links.nvim" },
|
||||
opts = {
|
||||
ft = { "markdown", "vimwiki" },
|
||||
file_types = { "markdown", "vimwiki" },
|
||||
completions = { lsp = { enabled = true } },
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -94,5 +94,8 @@ return {
|
|||
},
|
||||
},
|
||||
})
|
||||
|
||||
local ft_to_parser = require("nvim-treesitter.parsers").filetype_to_parsername
|
||||
ft_to_parser.vimwiki = "markdown"
|
||||
end,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue