diff --git a/lazy-lock.json b/lazy-lock.json index 9a1f8ce..1b853aa 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -23,6 +23,7 @@ "mason-null-ls.nvim": { "branch": "main", "commit": "ae0c5fa57468ac65617f1bf821ba0c3a1e251f0c" }, "mason.nvim": { "branch": "main", "commit": "d66c60e17dd6fd8165194b1d14d21f7eb2c1697a" }, "mini.animate": { "branch": "main", "commit": "230140aa0b06af87c9d345573aab1aaf50d8b539" }, + "mini.indentscope": { "branch": "main", "commit": "f60e9b51a6214c73a170ffc5445ce91560981031" }, "neoscroll.nvim": { "branch": "master", "commit": "4bc0212e9f2a7bc7fe7a6bceb15b33e39f0f41fb" }, "null-ls.nvim": { "branch": "main", "commit": "0010ea927ab7c09ef0ce9bf28c2b573fc302f5a7" }, "nvim-autopairs": { "branch": "master", "commit": "de4f7138a68d5d5063170f2182fd27faf06b0b54" }, diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index 18eb1a1..2157ab9 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -18,25 +18,25 @@ return { -- }, -- }, -- }, - -- { - -- "echasnovski/mini.indentscope", - -- version = false, -- wait till new 0.7.0 release to put it back on semver - -- event = "BufReadPre", - -- opts = { - -- -- symbol = "▏", - -- symbol = "│", - -- options = { try_as_border = true }, - -- }, - -- config = function(_, opts) - -- vim.api.nvim_create_autocmd("FileType", { - -- pattern = { "help", "alpha", "dashboard", "NvimTree", "Trouble", "lazy", "mason" }, - -- callback = function() - -- vim.b.miniindentscope_disable = true - -- end, - -- }) - -- require("mini.indentscope").setup(opts) - -- end, - -- }, + { + "echasnovski/mini.indentscope", + version = false, -- wait till new 0.7.0 release to put it back on semver + event = "BufReadPre", + opts = { + -- symbol = "▏", + symbol = "│", + options = { try_as_border = true }, + }, + config = function(_, opts) + vim.api.nvim_create_autocmd("FileType", { + pattern = { "help", "alpha", "dashboard", "NvimTree", "Trouble", "lazy", "mason" }, + callback = function() + vim.b.miniindentscope_disable = true + end, + }) + require("mini.indentscope").setup(opts) + end, + }, -- { -- "gbprod/yanky.nvim", -- event = "InsertEnter", diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 7968063..7b94922 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -197,7 +197,8 @@ return { "lukas-reineke/indent-blankline.nvim", event = "BufRead", config = function() - require("user.indentline") + -- require("user.indentline") + require("ibl").setup() end, }, -- for Speed up loading Lua modules in Neovim to improve startup time. diff --git a/lua/user/indentline.lua b/lua/user/indentline.lua index 293f275..d833630 100644 --- a/lua/user/indentline.lua +++ b/lua/user/indentline.lua @@ -60,7 +60,7 @@ vim.wo.colorcolumn = "99999" indent_blankline.setup({ -- show_end_of_line = true, -- space_char_blankline = " ", - show_current_context = true, + -- show_current_context = true, -- show_current_context_start = true, -- char_highlight_list = { -- "IndentBlanklineIndent1",