Define 2-space-indentation for a couple of file types

This commit is contained in:
2022-05-26 16:16:45 +02:00
parent e784b3855f
commit d4e531c547

2
_vimrc
View File

@@ -146,7 +146,7 @@ command DelThis call delete(expand('%')) | bdelete!
" Filetypes " Filetypes
au BufRead,BufNewFile *.z80 set filetype=z8a au BufRead,BufNewFile *.z80 set filetype=z8a
au BufRead,BufNewFile *.hs set tabstop=2 smarttab expandtab shiftwidth=2 au BufRead,BufNewFile *.hs,*.yaml,*.yml set tabstop=2 smarttab expandtab shiftwidth=2
nnoremap <buffer> <CR> <C-]> nnoremap <buffer> <CR> <C-]>
map <Tab> >> map <Tab> >>