diff options
| -rw-r--r-- | lua/nvim-treesitter/statusline.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lua/nvim-treesitter/statusline.lua b/lua/nvim-treesitter/statusline.lua index 82be06537..cd75fcb00 100644 --- a/lua/nvim-treesitter/statusline.lua +++ b/lua/nvim-treesitter/statusline.lua @@ -13,9 +13,9 @@ function M.statusline(opts) return end local options = opts or {} - -- if type(opts) == "number" then - -- options = { indicator_size = opts } - -- end + if type(opts) == "number" then + options = { indicator_size = opts } + end local bufnr = options.bufnr or 0 local indicator_size = options.indicator_size or 100 local type_patterns = options.type_patterns or { "class", "function", "method" } |
