Skip to content

Settings for tab spaces? #611

Answered by NotAShelf
sofiasmnk asked this question in Q&A
Discussion options

You must be logged in to vote

Indent style and size is a control in Neovim itself, you may set those with vim.options (which get translated to vim.o.*)

See :help tabstop, :help softtabstop and :help shiftwidth on how those options work, and this related PR for my motivations on the change.

t;dr:

vim = {
  tabstop = 2;
  shiftwidth = 2;
};

will globally set those.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by sofiasmnk
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