mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 19:46:58 -04:00
Fix indent size
This commit is contained in:
parent
079dafa36e
commit
be9c4ab36d
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ local get_indents = utils.memoize_by_buf_tick(function(bufnr)
|
|||
end)
|
||||
|
||||
local function get_indent_size()
|
||||
return vim.bo.softtabstop < 0 and vim.bo.shiftwidth or vim.bo.tabstop
|
||||
return vim.bo.softtabstop > 0 and vim.bo.shiftwidth or vim.bo.tabstop
|
||||
end
|
||||
|
||||
function M.get_indent(lnum)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue