refactor(Neovim/Vim): Adapt settings according to docs

Used docs recommendations for concatenating strings in Neovim and Vim
settings.
This commit is contained in:
Dionisio E Alonso 2024-04-04 23:10:35 -03:00
parent 4da012f342
commit 4d95556967
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ set list listchars=tab:→ ,trail:·,leadmultispace:⦙···
if has('autocmd')
autocmd OptionSet shiftwidth execute
\ 'setlocal listchars=tab:→ ,trail:·,'
\ . 'leadmultispace:⦙' . repeat('·', &sw - 1)
\ .. 'leadmultispace:⦙' .. repeat('·', &sw - 1)
endif
let &colorcolumn = join(range(80+1, 256), ',')

View File

@ -18,7 +18,7 @@ set list listchars=tab:→ ,trail:·,leadmultispace:⦙···
if has('autocmd')
autocmd OptionSet shiftwidth execute
\ 'setlocal listchars=tab:→ ,trail:·,'
\ . 'leadmultispace:⦙' . repeat('·', &sw - 1)
\ .. 'leadmultispace:⦙' .. repeat('·', &sw - 1)
endif
let &colorcolumn = join(range(80+1, 256), ',')