mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-29 13:01:36 +08:00
13 lines
459 B
VimL
13 lines
459 B
VimL
set tabstop=4
|
|
set shiftwidth=4
|
|
set expandtab
|
|
set list
|
|
|
|
"flag problematic whitespace (trailing and spaces before tabs)
|
|
"Note you get the same by doing let c_space_errors=1 but
|
|
"this rule really applies to everything.
|
|
highlight RedundantSpaces term=standout ctermbg=red guibg=red
|
|
match RedundantSpaces /\s\+$\| \+\ze\t/ "\ze sets end of match so only spaces highlighted
|
|
"use :set list! to toggle visible whitespace on/off
|
|
set listchars=tab:>-,trail:.,extends:>
|