Questions tagged [smartindent]
The smartindent tag has no usage guidance.
3
questions
0
votes
0
answers
18
views
macro doesn't work anymore after disabling smartindent
A while ago, with the help of the answers in this Question, I managed to write two macro's to create debug prints:
autocmd Filetype python nnoremap <buffer> \p "=[printf('print("(%s)\...
2
votes
1
answer
357
views
Understanding indenting rules for C++ files
Why is the following C++ source file indented like this,
#include <vector>
int main() {
std::vector<std::vector<int>> v{
{1,2},
{1,1},
{1,2}
};...
0
votes
1
answer
146
views
Is it possible to configure Vim to indent line continuation differently from indented blocks?
Here is an example of line continuation:
ThisIsASuperLongClassNameWithALotOfExtraCharacters thisIsALongVariableName =
ThisIsAModeratelyLongSuperClass.longFunctionCall(
...