mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 11:24:55 +02:00
nvim/lua/user/utils/indent.lua: in setSofttabs default to local
This commit is contained in:
parent
76b57ddf14
commit
19ee1857c9
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ end
|
|||
---@param width number
|
||||
---@param isLocal boolean?
|
||||
function M.setSofttabs(width, isLocal)
|
||||
isLocal = isLocal or false
|
||||
isLocal = isLocal or true
|
||||
vim.cmd(string.format("set%s et ts=%s sts=0 sw=%s",
|
||||
isLocal and "local" or "", width, width))
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue