In particular, the display of initialization lists is really bad:
vector<int> v({1,2,3});
will highlight the curly braces in red (denoting an error).
vim comes bundled with Vim and is available in /usr/share/vim/vim72/syntax/python. vim , if an alternative version is instead loaded from ~/. vim/syntax/python.
3 years ago. Vim is a text editor for creating or modifying any text, script or configuration file and it is the advanced version of vi editor. This editor is installed by default in most of the Linux operating systems.
As an alternative, you can use
let c_no_curly_error=1
in your .vimrc
file so that vim doesn't tag {}
as error in ()
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With