" Vim filetype plugin file " Language: YAML " Maintainer: Ondrej Jombik " License: GNU GPL " Version: $Platon: vimconfig/vim/ftplugin/yaml.vim,v 1.1 2024/08/12 17:01:43 nepto Exp $ " Only do this when not done yet for this buffer if exists("b:did_ftplugin") finish endif let b:did_ftplugin = 1 " For Backspace to delete only one character, " comment out smarttab and softtabstop setlocal expandtab setlocal smarttab setlocal softtabstop=2 setlocal tabstop=2 setlocal shiftwidth=2 setlocal backspace=indent,eol,start highlight SpecialKey ctermfg=red guifg=red setlocal list setlocal listchars=tab:>-,trail:~ highlight ExtraWhitespace ctermbg=red guibg=red" match ExtraWhitespace /\t \| \t/ " Modeline {{{ " vim:set ts=4: " vim600:fdm=marker fdl=0 fdc=3 " }}}