Skip to content

How to set Indent Global Tab size? #1327

Answered by Guldoman
blazer2k1 asked this question in Q&A
Discussion options

You must be logged in to vote

You can set

config.indent_size = 2
config.tab_type = "soft" -- "hard" for tabs

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@blazer2k1
Comment options

Answer selected by blazer2k1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants