Originally created by @ryan4yin on GitHub (Jul 17, 2023).
Using set smartindent causes 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.
Originally created by @ryan4yin on GitHub (Jul 17, 2023).
Using `set smartindent` causes 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 `.nix` file.
`set nosmartindent` fix this issue.
Related to:
- https://github.com/LnL7/vim-nix/issues/16
- https://github.com/LunarVim/LunarVim/issues/3219
adam
added the bug label 2025-12-29 04:20:33 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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: