I am using vim
with the plugins YouCompleteMe and syntastic for autocompletion and syntax checking .
If I am editing C or C++ files, syntax errors are marked after two seconds of in inactivity.
When editing MATLAB files, syntax checks (using mlint
) are done only after I save the file.
I know that the interval of two seconds is regulated via updatetime
, which means checks of C files are performed after the swap file updates.
How can I get the same behaviour for source files of other programming languages (especially for MATLAB)?