chore(neovim): Reorder plugins

- mini.indentscope moved inside mini.nvim
- markdown: Better header icons
This commit is contained in:
Pratik Tripathy
2025-01-26 21:52:25 +05:30
parent ca060f2410
commit 15f04d7829
4 changed files with 39 additions and 42 deletions

View File

@@ -41,7 +41,7 @@ return {
},
heading = {
sign = false,
icons = {},
icons = { "󰼏 ", "󰼐 ", "󰼑 ", "󰼒 ", "󰼓 ", "󰼔 " },
backgrounds = {
"Headline1Bg",
"Headline2Bg",
@@ -117,14 +117,18 @@ return {
relative_to_current_file = false, ---@type boolean
dir_path = function()
-- TODO: Find a path consistent for both Obsidian and github
return vim.fn.expand("%:t:r") .. "-img"
local root = vim.fn.FindRootDirectory()
if root ~= "" then
return root .. "/.artifacts/img"
else
return vim.fn.expand("%:p:h") .. "/.artifacts/img"
end
end,
prompt_for_file_name = false, ---@type boolean
file_name = "%y%m%d-%H%M%S", ---@type string
-- Format of the image to be saved, must convert it as well
-- Format of the image to be saved: must convert it as well
-- https://stackoverflow.com/a/27269260
extension = "webp", ---@type string
process_cmd = "convert - -quality 75 webp:-", ---@type string