onivim / oni2

Native, lightweight modal code editor
https://v2.onivim.io
MIT License
7.76k stars 274 forks source link

Tab consistency #3857

Open Murtrag opened 2 years ago

Murtrag commented 2 years ago

Within the same project: image

image

So I program once on my laptop where I code in VIM and mostly on my desktop with ONI2, and I just realized all my project is mixed because of ONI2. And I understand that I can set up my VIM to use tabs or somehow differently make it consistent, but beherviour of ONI that sometimes uses tabs sometimes uses space bars? It is unacceptable for me!(Looks like ONI detects what is a general rule in the editing file and adjust settings), And once ONI detects spaces, I can't change it to tabs again. Is there a way to enforces one type of indention on ONI?