15
submitted 2 months ago by ExtremeDullard to c/neovim@programming.dev

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
[-] oscar@programming.dev 3 points 2 months ago

Ah dang, you're right, I must have read it too quickly. Yeah then I also think it's something about not loading the config, it can be investigated by checking the runtime values like I described in my second edit.

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

Neovim

2035 readers
1 users here now

founded 1 year ago
MODERATORS