Strange indentation upon newline (enter)
wookayin opened this issue · 3 comments
wookayin commented
m4xshen commented
Please set smartindent to off.
wookayin commented
Hmm, why smartindent has to be off?
With nosmartindent
, the outcome after keystrokes (
<CR>
or {
<CR>
would be:
(
|
)
{
|
}
whereas
{
|
}
is an expected behavior that I would like to have with some config options.
m4xshen commented
Did you try this in the programming file, such as .lua ? Because in the text file no indent is the default action.