Update for indent-blankline 3.x

Mon, 09 Oct 2023 18:25:32 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 09 Oct 2023 18:25:32 -0500
changeset 1130
91a00bcc28f9
parent 1129
1bd6edeaf6ae
child 1131
f3044a1658fc

Update for indent-blankline 3.x

.config/nvim/lua/plugins/ui.lua file | annotate | diff | comparison | revisions
--- a/.config/nvim/lua/plugins/ui.lua
+++ b/.config/nvim/lua/plugins/ui.lua
@@ -37,16 +37,16 @@ return {
 
   {
     "lukas-reineke/indent-blankline.nvim",
-    lazy = false,
+    version = "^3.0.0",
+    main = "ibl",
     keys = {
-      { "<leader>ig", "<cmd>IndentBlanklineToggle<cr>" },
+      { "<leader>ig", "<cmd>IBLToggle<cr>" },
     },
     opts = {
       enabled = false,
-      char = "│",
-      -- filetype_exclude = { "help", "alpha", "dashboard", "neo-tree", "Trouble", "lazy" },
-      show_trailing_blankline_indent = false,
-      show_current_context = false,
+      indent = { char = "│" },
+      whitespace = { remove_blankline_trail = true },
+      scope = { enabled = false },
     },
   },
 

mercurial