cecamp (Vim Github Repository) wrote:
*Describe the bug*
Normally, a multi-line comment in C will show a new "*" at the correct
indentation every time a carriage return is entered. However, that is
not the case with the attached example file. Instead, extra (unwanted)
spaces are prepended
Patch 8.2.2772
Problem:Problems when restoring 'runtimepath' from a session file.
Solution: Add the "skiprtp" item in 'sessionoptions'.
Files: runtime/doc/options.txt, src/session.c, src/optionstr.c,
src/option.h, src/vim.h, src/option.c,
The issue is that indentation is preserved in standard text but not in
comments, is that right?
I think that I agree this indentation in comments should be preserved.
Christian's patch does not seem to be resolving the issue for me, but this
did seem to get closer:
diff --git
On Mi, 14 Apr 2021, Friedrich Romstedt wrote:
> Hi,
>
> Am Fr., 7. Aug. 2020 um 15:18 Uhr schrieb Christian Brabandt
> :
> >
> > I am not sure I understand the problem correctly. It sounds like you are
> > at one point just loading the syntax file, while when opening a proper
> > rst file, Vim
Hi,
Am Fr., 7. Aug. 2020 um 15:18 Uhr schrieb Christian Brabandt
:
>
> I am not sure I understand the problem correctly. It sounds like you are
> at one point just loading the syntax file, while when opening a proper
> rst file, Vim will also set the filetype (e.g. set some options and also
>