Suggest best practice for .vimrc file for working on Python and Ansible. I tried but
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 ai et cuc colorcolumn=3,5,7,9,11
Gives error “autocmd not found”
Suggest best practice for .vimrc file for working on Python and Ansible. I tried but
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 ai et cuc colorcolumn=3,5,7,9,11
Gives error “autocmd not found”
For a list of autocmd events, see :help autocmd-events
. Alternativelly, you can put filetype specific settings in a filetype plugin. See :help ftplugin-overrule
for instructions.