summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJackson Taylor <jtaylor@classicalconversations.com>2024-01-30 11:17:31 -0500
committerJackson Taylor <jtaylor@classicalconversations.com>2024-01-30 11:17:31 -0500
commitfa3cfa56f58a7295fac93dc7565fbe049211444a (patch)
treef354cab0ef4dbb0926a425f9cfcfdc28d737c1a2
parenta4f23382d7a3952b043811269c3926eb49b83bc5 (diff)
Update indent-blankline config to v3
-rw-r--r--after/plugin/indent-blankline.lua25
1 files changed, 16 insertions, 9 deletions
diff --git a/after/plugin/indent-blankline.lua b/after/plugin/indent-blankline.lua
index 6ab36e0..2072be5 100644
--- a/after/plugin/indent-blankline.lua
+++ b/after/plugin/indent-blankline.lua
@@ -1,14 +1,21 @@
--- I'm not really happy with this setup right now. It helps identify where
--- I'm at, especially in large files like json.
-
vim.opt.list = true
vim.opt.listchars:append "space:⋅"
--- Disables startify from having these indent guides
-vim.g.indent_blankline_filetype_exclude = {'startify'}
+-- Shows the "↴' at the end of lines. Not sure how much I'll like this, but I'm going to try it out.
+vim.opt.listchars:append "eol:↴"
-require("indent_blankline").setup {
- space_char_blankline = " ",
- show_current_context = true,
- show_current_context_start = true,
+require("ibl").setup {
+ -- Since version 3, these settings were changed...
+ -- space_char_blankline = " ",
+ -- show_current_context = true, -- Shows The line off to the left of the function/block you're in
+ -- show_current_context_start = true, -- Shows the function/block heading underlined. I don't like this, so I removed it.
+ scope = {
+ show_start = false,
+ show_end = false
+ }
+}
+
+-- Disables startify from having these indent guides
+require "ibl".overwrite {
+ exclude = { filetypes = {'startify'}}
}