Skip to content

Commit

Permalink
chore(mini-indentscope): remove config function and ignore lsp-info
Browse files Browse the repository at this point in the history
  • Loading branch information
Subjective committed Jul 15, 2023
1 parent 6bc9421 commit eba2d15
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions lua/astrocommunity/indent/mini-indentscope/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,22 @@ return {
"echasnovski/mini.indentscope",
event = "User AstroFile",
opts = { symbol = "", options = { try_as_border = true } },
config = function(_, opts)
init = function()
vim.api.nvim_create_autocmd("FileType", {
pattern = { "fzf", "starter", "help", "alpha", "dashboard", "neo-tree", "Trouble", "lazy", "mason", "undotree" },
pattern = {
"fzf",
"starter",
"help",
"alpha",
"dashboard",
"neo-tree",
"Trouble",
"lazy",
"lspinfo",
"mason",
"undotree",
},
callback = function() vim.b.miniindentscope_disable = true end,
})
require("mini.indentscope").setup(opts)
end,
}

0 comments on commit eba2d15

Please sign in to comment.