From 1a2713abf779f9e0a43af34f4d7dafa9089491cb Mon Sep 17 00:00:00 2001 From: huyjaky Date: Fri, 1 Nov 2024 10:30:42 +0700 Subject: [PATCH] astro-nvim-v3 - modified scope --- lazy-lock.json | 2 +- lua/plugins/indent-scope.lua | 18 ++++++++---------- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index fbe1c6b..8e9add6 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -57,7 +57,7 @@ "nvim-cmp": { "branch": "main", "commit": "29fb4854573355792df9e156cb779f0d31308796" }, "nvim-dap": { "branch": "master", "commit": "7ff6936010b7222fea2caea0f67ed77f1b7c60dd" }, "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-lspconfig": { "branch": "master", "commit": "59a6766cbf32c7e4cf3ed685ccad7ffe1dde8c40" }, "nvim-nio": { "branch": "master", "commit": "a428f309119086dc78dd4b19306d2d67be884eee" }, diff --git a/lua/plugins/indent-scope.lua b/lua/plugins/indent-scope.lua index 726b12f..9cc3a9a 100644 --- a/lua/plugins/indent-scope.lua +++ b/lua/plugins/indent-scope.lua @@ -19,15 +19,21 @@ local ignore_buftypes = { "quickfix", "terminal", } -local char = "󰸊" +local char = "󰥓" return { "echasnovski/mini.indentscope", event = "User AstroFile", opts = function() + + vim.api.nvim_set_hl(0, "MiniIndentscopeSymbol", { fg = "#FF4500" }) -- Replace #FF4500 with your desired color 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, + draw = { + delay = 0, + animation = function(s, n) return 10 end, + }, } end, dependencies = { @@ -81,12 +87,4 @@ return { }, }, }, - -- specs = { - -- { - -- "catppuccin", - -- optional = true, - -- ---@type CatppuccinOptions - -- opts = { integrations = { mini = true } }, - -- }, - -- }, }