configurating pyrefly

This commit is contained in:
huyjaky
2026-01-04 10:30:04 +07:00
parent 70f0c7fe5d
commit d409682cc6
7 changed files with 92 additions and 108 deletions

View File

@@ -38,29 +38,5 @@ return {
},
},
},
{
"OXY2DEV/markview.nvim",
lazy = false,
ft = function()
local plugin = require("lazy.core.config").spec.plugins["markview.nvim"]
local opts = require("lazy.core.plugin").values(plugin, "opts", false)
return opts.filetypes or { "markdown", "quarto", "rmd" }
end,
dependencies = {
"nvim-treesitter/nvim-treesitter",
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,
"saghen/blink.cmp"
},
opts = {
preview = {
hybrid_modes = { "n" },
headings = { shift_width = 0 },
},
},
},
}