mini-indentscope.lua 650 B

123456789101112131415161718192021222324252627282930
  1. -- 配置所行线 有动画效果
  2. return {
  3. "echasnovski/mini.indentscope",
  4. version = false, -- wait till new 0.7.0 release to put it back on semver
  5. opts = {
  6. -- symbol = "▏",
  7. symbol = "│",
  8. options = { try_as_border = true },
  9. },
  10. init = function()
  11. vim.api.nvim_create_autocmd("FileType", {
  12. pattern = {
  13. "help",
  14. "alpha",
  15. "dashboard",
  16. "neo-tree",
  17. "Trouble",
  18. "trouble",
  19. "lazy",
  20. "mason",
  21. "notify",
  22. "toggleterm",
  23. "lazyterm",
  24. },
  25. callback = function()
  26. vim.b.miniindentscope_disable = true
  27. end,
  28. })
  29. end,
  30. }