this post was submitted on 15 Jun 2024
16 points (94.4% liked)

Neovim

2161 readers
3 users here now

founded 1 year ago
MODERATORS
 

I'm normally a straight vim user (just out of habit, no particular preference) and I'm giving neovim a spin. So far I like it but...

For the love of all that's holy, how do I disable automatic indentation?

I have noautoindent set, nosmartindent set, filetype indent off, but neovim keeps inserting indentations. The only thing that works is setting paste on, but that's not the right solution to this problem.

Please help. This is driving me nuts!

you are viewing a single comment's thread
view the rest of the comments
[โ€“] ExtremeDullard@lemmy.sdf.org 2 points 5 months ago (1 children)

The only problem with that theory is that issuing the commands to disable any and all forms of autoindent manually within Neovim itself doesn't do anything either ๐Ÿ™‚

[โ€“] ericjmorey@programming.dev 2 points 5 months ago

This sounds like is might be a legitimate bug in neovim.