You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like lines starting with # (either a nix comment or in a ''double apostrophe'' string, like a shebang for example) reset previous indentation.
{# bad indentation on this comment will propagate# to the next lines if typing `=i{`programs.fish.enable=true;}
↓ (after typing =i{)
{# bad indentation on this comment will propagate# to the next lines if typing `=i{`programs.fish.enable=true;}
This makes it hard to apply the new indentation of a block, when surrounded by new {} for example.
The text was updated successfully, but these errors were encountered:
" Skip indentation for single line comments explicitly, in case a
" comment was just inserted (eg. visual block mode)
if getline(v:lnum) =~ '^\s*#'
return indent(v:lnum)
endif
It seems like lines starting with
#
(either a nix comment or in a''double apostrophe''
string, like a shebang for example) reset previous indentation.↓ (after typing
=i{
)This makes it hard to apply the new indentation of a block, when surrounded by new
{}
for example.The text was updated successfully, but these errors were encountered: