From d706e0cdf116b7f5e13563b433944f885283cf66 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 14 Jan 2024 17:15:41 +0000 Subject: [PATCH] Show trailing spaces --- config/neovim/lua/opdavies/options.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/neovim/lua/opdavies/options.lua b/config/neovim/lua/opdavies/options.lua index 90ceaad..74ee5a1 100644 --- a/config/neovim/lua/opdavies/options.lua +++ b/config/neovim/lua/opdavies/options.lua @@ -129,6 +129,7 @@ local function set_vim_o() hidden = false, inccommand = "split", linebreak = true, + list = true, mouse = "n", number = true, pumblend = 10, @@ -159,6 +160,9 @@ local function set_vim_o() vim.opt.backupdir:remove "." -- keep backups out of the current directory vim.opt.clipboard:append "unnamedplus" + vim.opt.listchars:append { + trail = "ยท", + } vim.opt.completeopt = { "menu", "menuone", "noselect" } vim.opt.laststatus = 3 end