From 2c88edc5110c57a957f1082cc85d3c924496aab2 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sat, 4 Apr 2026 22:00:06 +0100 Subject: [PATCH] home: vim: tree-sitter: use explicit buffer option --- modules/home/vim/plugin/settings/tree-sitter.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/home/vim/plugin/settings/tree-sitter.lua b/modules/home/vim/plugin/settings/tree-sitter.lua index 2958c2a..0009d48 100644 --- a/modules/home/vim/plugin/settings/tree-sitter.lua +++ b/modules/home/vim/plugin/settings/tree-sitter.lua @@ -76,7 +76,7 @@ local function treesitter_try_attach(buf, language) -- Syntax highlighting vim.treesitter.start(buf, language) -- Indentation - vim.bo.indentexpr = "v:lua.require('nvim-treesitter').indentexpr()" + vim.bo[buf].indentexpr = "v:lua.require('nvim-treesitter').indentexpr()" return true end