home: vim: tree-sitter: use explicit buffer option
All checks were successful
ci/woodpecker/push/check Pipeline was successful

This commit is contained in:
Bruno BELANYI 2026-04-04 22:00:06 +01:00
parent a371ab9406
commit 2c88edc511

View file

@ -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