Skip to content

Commit

Permalink
chore(markview-nvim): Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzaaft authored Aug 13, 2024
1 parent 6ab460c commit 7831e5e
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions lua/astrocommunity/markdown-and-latex/markview-nvim/init.lua
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
return {
"OXY2DEV/markview.nvim",
ft = { "markdown", "markdown.mdx" },
dependencies = {
"nvim-treesitter/nvim-treesitter",
optional = true,
opts = function(_, opts)
if opts.ensure_installed ~= "all" then
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, { "html", "markdown", "markdown_inline" })
end
end,
},
opts = {
hybrid_modes = { "n" },
headings = { shift_width = 0 },
},
"OXY2DEV/markview.nvim",
ft = { "markdown", "markdown.mdx" },
dependencies = {
"nvim-treesitter/nvim-treesitter",
optional = true,
opts = function(_, opts)
if opts.ensure_installed ~= "all" then
opts.ensure_installed = require("astrocore").list_insert_unique(
opts.ensure_installed,
{ "html", "markdown", "markdown_inline" }
)
end
end,
},
opts = {
hybrid_modes = { "n" },
headings = { shift_width = 0 },
},
}

0 comments on commit 7831e5e

Please sign in to comment.