diff --git a/nvim/.config/nvim/lua/romanzy/set.lua b/nvim/.config/nvim/lua/romanzy/set.lua index 0c2e784..6c4da54 100644 --- a/nvim/.config/nvim/lua/romanzy/set.lua +++ b/nvim/.config/nvim/lua/romanzy/set.lua @@ -4,7 +4,7 @@ vim.opt.relativenumber = true vim.opt.tabstop = 4 vim.opt.softtabstop = 4 vim.opt.shiftwidth = 4 -vim.opt.expandtab = true +vim.opt.expandtab = false vim.opt.smartindent = true @@ -29,12 +29,12 @@ vim.opt.listchars = { trail = "·", extends = "⟩", precedes = "⟨", - eol = "↲", nbsp = "␣" } --- Enable the display of hidden characters vim.opt.list = true +-- only show the invisible characters inside the code editing buffers +vim.cmd([[autocmd BufWinEnter,TermOpen * if &buftype != '' | setlocal nolist | endif]]) vim.env.BASH_ENV = vim.env.HOME .. "/dotfiles/aliases"