astro-nvim-v3 - modified scope

This commit is contained in:
huyjaky
2024-11-01 10:30:42 +07:00
parent f2237328fe
commit 1a2713abf7
2 changed files with 9 additions and 11 deletions

View File

@@ -57,7 +57,7 @@
"nvim-cmp": { "branch": "main", "commit": "29fb4854573355792df9e156cb779f0d31308796" }, "nvim-cmp": { "branch": "main", "commit": "29fb4854573355792df9e156cb779f0d31308796" },
"nvim-dap": { "branch": "master", "commit": "7ff6936010b7222fea2caea0f67ed77f1b7c60dd" }, "nvim-dap": { "branch": "master", "commit": "7ff6936010b7222fea2caea0f67ed77f1b7c60dd" },
"nvim-dap-ui": { "branch": "master", "commit": "ffa89839f97bad360e78428d5c740fdad9a0ff02" }, "nvim-dap-ui": { "branch": "master", "commit": "ffa89839f97bad360e78428d5c740fdad9a0ff02" },
"nvim-dap-virtual-text": { "branch": "master", "commit": "52638640ae309cacdaff785fdbb854437bd1ee5c" }, "nvim-dap-virtual-text": { "branch": "master", "commit": "76d80c3d171224315b61c006502a1e30c213a9ab" },
"nvim-highlight-colors": { "branch": "main", "commit": "a411550ef85cae467b889ba7d1a96bd78332d90e" }, "nvim-highlight-colors": { "branch": "main", "commit": "a411550ef85cae467b889ba7d1a96bd78332d90e" },
"nvim-lspconfig": { "branch": "master", "commit": "59a6766cbf32c7e4cf3ed685ccad7ffe1dde8c40" }, "nvim-lspconfig": { "branch": "master", "commit": "59a6766cbf32c7e4cf3ed685ccad7ffe1dde8c40" },
"nvim-nio": { "branch": "master", "commit": "a428f309119086dc78dd4b19306d2d67be884eee" }, "nvim-nio": { "branch": "master", "commit": "a428f309119086dc78dd4b19306d2d67be884eee" },

View File

@@ -19,15 +19,21 @@ local ignore_buftypes = {
"quickfix", "quickfix",
"terminal", "terminal",
} }
local char = "󰸊" local char = "󰥓"
return { return {
"echasnovski/mini.indentscope", "echasnovski/mini.indentscope",
event = "User AstroFile", event = "User AstroFile",
opts = function() opts = function()
vim.api.nvim_set_hl(0, "MiniIndentscopeSymbol", { fg = "#FF4500" }) -- Replace #FF4500 with your desired color
return { return {
options = { try_as_border = true }, options = { try_as_border = true, border = "both" },
symbol = require("astrocore").plugin_opts("indent-blankline.nvim").context_char or char, symbol = require("astrocore").plugin_opts("indent-blankline.nvim").context_char or char,
draw = {
delay = 0,
animation = function(s, n) return 10 end,
},
} }
end, end,
dependencies = { dependencies = {
@@ -81,12 +87,4 @@ return {
}, },
}, },
}, },
-- specs = {
-- {
-- "catppuccin",
-- optional = true,
-- ---@type CatppuccinOptions
-- opts = { integrations = { mini = true } },
-- },
-- },
} }