diff options
Diffstat (limited to 'ftplugin/python.lua')
| -rw-r--r-- | ftplugin/python.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ftplugin/python.lua b/ftplugin/python.lua new file mode 100644 index 0000000..54bf7ae --- /dev/null +++ b/ftplugin/python.lua @@ -0,0 +1,4 @@ +require('nvim-treesitter').install{ 'python' } +vim.treesitter.start() +vim.wo[0][0].foldexpr = 'v:lua.vim.treesitter.foldexpr()' +vim.wo[0][0].foldmethod = 'expr' |
