Is there a way to just make my blocks and their closing completion keyword match vim correctly? If I have a function nested in several conditions, things can start quickly ugly. Is it possible to save day to day?
Of course. Just select the appropriate code block and press =.
There's also a nice Vim plugin called endwise that automatically inserts you ends.
gg=G
(above, indent all the way down)
Source: https://habr.com/ru/post/1749317/More articles:Key AIML Answers? - xmlHow can I automate the assembly of multiple swfs from Flash Builder 4? - flexWhat is the operator << <> in C ++? - c ++What is right for me: htAccess, form submission, HTTP header authentication with PHP? - httpКак мы называем методы тестирования, где мы проверяем несколько условий? - unit-testingHow to add values to a table together using jQuery? - jqueryHow to handle application updates from free to paid versions while saving any data - androidThe form will not submit properly in IE - jqueryLua on Google App Engine - google-app-engineJavaScript alias method chain? - javascriptAll Articles