Help with d.vim Syntax file for Vim
ulyssesdwolfe via Digitalmars-d-ide
digitalmars-d-ide at puremagic.com
Sun Jul 2 02:50:28 PDT 2017
Hi,
There seems to be some missing statements in the standard d.vim
that gets distributed with vim regarding auto-commenting.
Whenever I am in a multiline comment for example a ddoc statement
and start a new line by hitting the Enter key, the result is an
indentation of 1 on the new line and no comment char unlike the
syntax in normal c and cpp files. It doesn't matter if the
comment start was with '/**' or '/++'.
I took a look at the runtime/syntax/c.vim for hacking the
auto-commenting out of that file and putting it in d.vim. But I
am not familiar with any of those calls.
I was wondering if someone who is more familiar with Vimscript
can tell me what lines or quick fix I need to put in the syntax
file to get the auto-commenting to work for d editing.
ty
More information about the Digitalmars-d-ide
mailing list