mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 11:24:55 +02:00
nvim: use icon config for vim.o.listchars
This commit is contained in:
parent
d5bc741498
commit
f26bdcdc86
2 changed files with 4 additions and 2 deletions
|
|
@ -11,7 +11,8 @@ return {
|
|||
whitespace = {
|
||||
tab = "»",
|
||||
space = "·",
|
||||
eol = ""
|
||||
eol = "",
|
||||
nbsp = "␣",
|
||||
},
|
||||
fold = {
|
||||
open = "",
|
||||
|
|
|
|||
|
|
@ -74,7 +74,8 @@ vim.o.foldcolumn = "auto"
|
|||
-- See `:help 'list'`
|
||||
-- and `:help 'listchars'`
|
||||
vim.o.list = false
|
||||
vim.o.listchars = 'tab: »,space:·,eol:,nbsp:␣'
|
||||
vim.o.listchars = string.format([[tab: %s,space:%s,eol:%s,nbsp:%s]],
|
||||
icons.whitespace.tab, icons.whitespace.space, icons.whitespace.eol, icons.whitespace.nbsp)
|
||||
|
||||
vim.o.fillchars = string.format([[eob: ,fold: ,foldopen:%s,foldsep:%s,foldclose:%s]],
|
||||
icons.fold.open, icons.fold.sep, icons.fold.close)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue