mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-01-14 22:03:24 +01:00
neovim: smartindent breaks indented comments #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ryan4yin on GitHub (Jul 17, 2023).
Using
set smartindentcauses comments not indent. After using o to insert a new indented line, typing # causes the line to lose its indentation. Editing the line before inserting the # will work around this issue.The problem only exist on
.nixfile.set nosmartindentfix this issue.Related to: