summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-09-30 14:03:54 -0500
committerToby Vincent <tobyv13@gmail.com>2022-09-30 14:16:21 -0500
commit42d513809351f6a711e14cb31dabda547d244618 (patch)
treea7f5e60f8939411aa5c80f98d3782e1630cd1457
parent46e20bdb15708e21a687abdbf8ceb3e1067b6a71 (diff)
feat(nvim): add listchars options
-rw-r--r--nvim/.config/nvim/lua/tobyvin/options.lua9
-rw-r--r--nvim/.config/nvim/lua/tobyvin/plugins/indent_blankline.lua4
2 files changed, 9 insertions, 4 deletions
diff --git a/nvim/.config/nvim/lua/tobyvin/options.lua b/nvim/.config/nvim/lua/tobyvin/options.lua
index b63d1d1..78e3d06 100644
--- a/nvim/.config/nvim/lua/tobyvin/options.lua
+++ b/nvim/.config/nvim/lua/tobyvin/options.lua
@@ -3,8 +3,6 @@ local M = {}
M.setup = function()
vim.g.mapleader = " "
vim.g.netrw_preview = 1
- -- TODO: figure out how to only use this for specific windows
- -- vim.g.netrw_liststyle = 3
vim.g.netrw_banner = 0
vim.g.netrw_altv = "nospr"
vim.g.netrw_winsize = -30
@@ -56,6 +54,13 @@ M.setup = function()
vim.opt.completeopt = { "menuone", "noselect", "noinsert" }
vim.opt.spelllang = "en_us"
vim.opt.spellfile = vim.fn.stdpath("config") .. "/spell/en.utf-8.add"
+ vim.opt.listchars = {
+ eol = "↵",
+ tab = "»-",
+ trail = "·",
+ extends = "…",
+ precedes = "…",
+ }
vim.opt.sessionoptions = {
"blank",
"buffers",
diff --git a/nvim/.config/nvim/lua/tobyvin/plugins/indent_blankline.lua b/nvim/.config/nvim/lua/tobyvin/plugins/indent_blankline.lua
index dfd5b0d..1287d22 100644
--- a/nvim/.config/nvim/lua/tobyvin/plugins/indent_blankline.lua
+++ b/nvim/.config/nvim/lua/tobyvin/plugins/indent_blankline.lua
@@ -23,9 +23,9 @@ M.setup = function()
"IndentBlanklineIndent5",
"IndentBlanklineIndent6",
},
+ space_char_blankline = " ",
+ show_end_of_line = true,
show_current_context = true,
- -- show_current_context_start = true,
- -- show_end_of_line = true,
use_treesitter = true,
use_treesitter_scope = true,
})