Use nvim_treesitter#indent() for Python
This commit is contained in:
2
after/indent/python.lua
Normal file
2
after/indent/python.lua
Normal file
@@ -0,0 +1,2 @@
|
||||
-- Use treesitter for Python indenting since regex indenting is broken
|
||||
vim.opt.indentexpr = 'nvim_treesitter#indent()'
|
||||
Reference in New Issue
Block a user