support mdx
This commit is contained in:
parent
985a4ddc86
commit
d8e37cdf92
3 changed files with 10 additions and 6 deletions
|
|
@ -1,9 +1,5 @@
|
|||
vim.o.sessionoptions="blank,buffers,curdir,folds,help,tabpages,winsize,winpos,terminal,localoptions"
|
||||
|
||||
vim.cmd([[
|
||||
let g:astro_typescript = 'enable'
|
||||
]])
|
||||
|
||||
require("render-markdown").setup {
|
||||
latex_converter = '${pkgs.python312Packages.pylatexenc}/bin/latex2text',
|
||||
}
|
||||
|
|
@ -14,6 +10,11 @@ vim.api.nvim_create_autocmd({"BufEnter", "BufWinEnter"}, {
|
|||
pattern = {"*.md"},
|
||||
callback = function() otter.activate({'python', 'rust', 'c', 'lua', 'bash' }, true, true, nil) end,
|
||||
})
|
||||
vim.filetype.add({
|
||||
extension = {
|
||||
mdx = "markdown",
|
||||
}
|
||||
})
|
||||
|
||||
require("onedark").setup {
|
||||
style = "deep",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue