diff options
| author | A Farzat <a@farzat.xyz> | 2026-06-16 17:00:14 +0300 |
|---|---|---|
| committer | A Farzat <a@farzat.xyz> | 2026-06-16 17:00:14 +0300 |
| commit | 42117e2c53de1bad8521770d0af71c07748fbbb3 (patch) | |
| tree | 56e7a268d15b1719d43906cab09e4769a14ec816 /.config/nvim/ftplugin | |
| parent | aa6e89c2a15827f057703c0f15494d73009476ee (diff) | |
| download | dotfiles-master.tar.gz dotfiles-master.zip | |
Diffstat (limited to '.config/nvim/ftplugin')
| -rw-r--r-- | .config/nvim/ftplugin/python.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/nvim/ftplugin/python.lua b/.config/nvim/ftplugin/python.lua new file mode 100644 index 0000000..54bf7ae --- /dev/null +++ b/.config/nvim/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' |
