From a800053568fc1f941b401a9fe2565cf286686b9d Mon Sep 17 00:00:00 2001 From: Julien Rabier Date: Sat, 10 Jun 2023 14:47:45 +0200 Subject: [PATCH] [nvim] update listchars --- private_dot_config/nvim/lua/config/options.lua.tmpl | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/private_dot_config/nvim/lua/config/options.lua.tmpl b/private_dot_config/nvim/lua/config/options.lua.tmpl index 4100932..3b8a196 100644 --- a/private_dot_config/nvim/lua/config/options.lua.tmpl +++ b/private_dot_config/nvim/lua/config/options.lua.tmpl @@ -16,22 +16,21 @@ opt.backup = true {{- if eq .chezmoi.hostname "taupo" }} opt.backupdir = "/home/taziden/.vim/backup" vim.g.grammalecte_cli_py = "/usr/bin/grammalecte-cli" +opt.spell = true +opt.spelllang = { "fr" } +opt.undodir = "/home/taziden/.vim/undo" {{ else }} opt.backupdir = "/home/jrabier/.vim/backup" +opt.undodir = "/home/jrabier/.vim/undo" {{ end }} opt.hidden = true opt.ignorecase = true -opt.lcs = { trail = ".", tab = ">-" } +opt.lcs = { trail = "🟊", tab = ">-", nbsp = " " } opt.list = true opt.modeline = true opt.number = true opt.showmatch = true opt.undofile = true -{{- if eq .chezmoi.hostname "taupo" }} -opt.undodir = "/home/taziden/.vim/undo" -{{ else }} -opt.undodir = "/home/jrabier/.vim/undo" -{{ end }} opt.expandtab = true opt.tabstop = 4 opt.shiftwidth = 4 @@ -39,7 +38,5 @@ opt.softtabstop = 4 opt.pastetoggle = "" opt.timeoutlen = 200 -- https://github.com/folke/which-key.nvim#%EF%B8%8F-configuration opt.mouse = "a" -opt.spell = true -opt.spelllang = { "fr" } opt.wrap = true opt.rtp:append (vim.fn.stdpath ('data') .. '/site') -- https://github.com/neovim/neovim/issues/23082