Skip to content
Permalink
Browse files

Added special case for indentation in vim when editing yaml files

  • Loading branch information...
betterphp committed Jan 4, 2019
1 parent 71079fd commit 1a90025b4d56427735ca5cbfd2046ae5124ffb4a
Showing with 3 additions and 0 deletions.
  1. +3 −0 vim/config/vimrc.j2
@@ -116,3 +116,6 @@ nnoremap <silent> <leader>ww :call WindowSwap#EasyWindowSwap()<CR>

" Don't replace the nice tabline
let g:taboo_tabline = 0

" Tweak default indentation for yaml files (https://stackoverflow.com/a/37488992/3270837)
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab

0 comments on commit 1a90025

Please sign in to comment.
You can’t perform that action at this time.