mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
Line got reverted
This commit is contained in:
parent
43f458a153
commit
d098854a9c
1 changed files with 2 additions and 0 deletions
|
|
@ -113,6 +113,8 @@ end)
|
|||
local get_language_shiftwidth = memoize(function(bufnr, lang)
|
||||
---@type integer
|
||||
local global_shiftwidth = vim.go.shiftwidth
|
||||
---@type integer
|
||||
local buffer_shiftwidth = vim.bo.shiftwidth
|
||||
-- See :h 'shiftwidth': If set to 0, should use tabstop (0 is not the default value,
|
||||
-- but users may rely on this behavior)
|
||||
if buffer_shiftwidth == 0 then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue