Use nvim_treesitter#indent() for Python

This commit is contained in:
Kenneth Benzie 2025-01-25 20:32:41 +00:00
parent 7536173150
commit 96e912181c

2
after/indent/python.lua Normal file
View File

@ -0,0 +1,2 @@
-- Use treesitter for Python indenting since regex indenting is broken
vim.opt.indentexpr = 'nvim_treesitter#indent()'