-
Is there a way to set default tab size ? Also, how to set default indentation to tabs? |
Beta Was this translation helpful? Give feedback.
Answered by
Guldoman
Jan 16, 2023
Replies: 1 comment 1 reply
-
You can set config.indent_size = 2
config.tab_type = "soft" -- "hard" for tabs Keep in mind that the default plugin You can also left/right click on the indent description in the status bar to change it for the current file. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
blazer2k1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can set
Keep in mind that the default plugin
detectindent
will give priority to the indentation of the currently opened file, falling back to the configured tab style if it can't be determined.You can disable the plugin with
config.plugins.detectindent = false
if you don't like this behavior.You can also left/right click on the indent description in the status bar to change it for the current file.