Personal Neovim setup based and extends on 💤 LazyVim.
- Refer to the documentation to learn more.
Remove or make a backup current Neovim directories:
# required
mv ~/.config/nvim{,.bak}
# optional but recommended
mv ~/.local/share/nvim{,.bak}
mv ~/.local/state/nvim{,.bak}
mv ~/.cache/nvim{,.bak}Markdown with marksman, markdownlint and markdown_inline
- Start preview with
<leader>mp - Stop preview with
<leader>ms - Toggle preview with
<leader>mt
mdx syntax setup in tree-sitter in ./lua/plugins/treesitter.lua
passing opts to configuration is only working on a basic level.
Investigate:
return {
{
opts = {},
...
config = function(_, opts)
require("nvim-treesitter.configs").setup(opts)
-- MDX
vim.filetype.add({
extension = {
mdx = "markdown.mdx",
},
filename = {
},
pattern = {
},
})
vim.treesitter.language.register("markdown", "mdx")
end,
},
}