[nvim] update listchars

This commit is contained in:
Julien Rabier 2023-06-10 14:47:45 +02:00
parent 80340ca066
commit a800053568

View File

@ -16,22 +16,21 @@ opt.backup = true
{{- if eq .chezmoi.hostname "taupo" }} {{- if eq .chezmoi.hostname "taupo" }}
opt.backupdir = "/home/taziden/.vim/backup" opt.backupdir = "/home/taziden/.vim/backup"
vim.g.grammalecte_cli_py = "/usr/bin/grammalecte-cli" vim.g.grammalecte_cli_py = "/usr/bin/grammalecte-cli"
opt.spell = true
opt.spelllang = { "fr" }
opt.undodir = "/home/taziden/.vim/undo"
{{ else }} {{ else }}
opt.backupdir = "/home/jrabier/.vim/backup" opt.backupdir = "/home/jrabier/.vim/backup"
opt.undodir = "/home/jrabier/.vim/undo"
{{ end }} {{ end }}
opt.hidden = true opt.hidden = true
opt.ignorecase = true opt.ignorecase = true
opt.lcs = { trail = ".", tab = ">-" } opt.lcs = { trail = "🟊", tab = ">-", nbsp = " " }
opt.list = true opt.list = true
opt.modeline = true opt.modeline = true
opt.number = true opt.number = true
opt.showmatch = true opt.showmatch = true
opt.undofile = 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.expandtab = true
opt.tabstop = 4 opt.tabstop = 4
opt.shiftwidth = 4 opt.shiftwidth = 4
@ -39,7 +38,5 @@ opt.softtabstop = 4
opt.pastetoggle = "<F2>" opt.pastetoggle = "<F2>"
opt.timeoutlen = 200 -- https://github.com/folke/which-key.nvim#%EF%B8%8F-configuration opt.timeoutlen = 200 -- https://github.com/folke/which-key.nvim#%EF%B8%8F-configuration
opt.mouse = "a" opt.mouse = "a"
opt.spell = true
opt.spelllang = { "fr" }
opt.wrap = true opt.wrap = true
opt.rtp:append (vim.fn.stdpath ('data') .. '/site') -- https://github.com/neovim/neovim/issues/23082 opt.rtp:append (vim.fn.stdpath ('data') .. '/site') -- https://github.com/neovim/neovim/issues/23082