Use nvim_treesitter#indent() for Python
This commit is contained in:
parent
7536173150
commit
96e912181c
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()'
|
Loading…
x
Reference in New Issue
Block a user