New answers tagged

0

Within your .vimrc file, add the line autocmd FileType plaintex,tex,context setlocal indentexpr=


1

It's likely that your .vimrc is getting sourced multiple times. Because it's possible to add multiple autocommands to the same event, you can end up autocommand duplication. This example from the help page explains how to define autocommands in a group to avoid this problem. `:autocmd` adds to the list of autocommands regardless of whether they are already ...


Top 50 recent answers are included