You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not really a question, just thought I'd leave it here since it could help someone save a couple of hours. By default gdformat and godotdev format tabs to 4 spaces, no matter what you have in the actual godot editor config. To change the default you could run :verbose setlocal expandtab?
(for me it was at /usr/share/nvim/runtime/ftplugin/gdscript.vim)
which will likely show the file where the values are changed, otherwise if you'd like to not use defaults at all, then I'm pretty sure you could set 'gdscript_recommended_style' to 0, but don't quote me on that one.
Hope it helps someone :)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Not really a question, just thought I'd leave it here since it could help someone save a couple of hours. By default gdformat and godotdev format tabs to 4 spaces, no matter what you have in the actual godot editor config. To change the default you could run
:verbose setlocal expandtab?(for me it was at /usr/share/nvim/runtime/ftplugin/gdscript.vim)
which will likely show the file where the values are changed, otherwise if you'd like to not use defaults at all, then I'm pretty sure you could set 'gdscript_recommended_style' to 0, but don't quote me on that one.
Hope it helps someone :)
Beta Was this translation helpful? Give feedback.
All reactions