-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
Currently, the package expects a semicolon after a struct declaration, and also expects semicolons in assembly blocks.
For example
struct s {
uint x;
}
// emacs expects semicolon here
// so automatically does an extra indent here
function f() {
assembly {
sstore(0, 0)
// emacs expects a semicolon in the line before, so automatically makes an extra indent here again.
}
}
I assume the struct
issue is somehow related to c-mode
or cc-mode
that solidity-mode
derives from.
I had a look at https://www.gnu.org/software/emacs/manual/html_mono/ccmode.html. Unfortunately, I can't find an obvious fix.
Any idea how this can be fixed?
clarkhenry and tinglycraniumplacidly
Metadata
Metadata
Assignees
Labels
No labels