diff options
Diffstat (limited to '.config/nvim/after/ftplugin/python.lua')
| -rw-r--r-- | .config/nvim/after/ftplugin/python.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.config/nvim/after/ftplugin/python.lua b/.config/nvim/after/ftplugin/python.lua new file mode 100644 index 0000000..20fc6b1 --- /dev/null +++ b/.config/nvim/after/ftplugin/python.lua @@ -0,0 +1,11 @@ +-- PEP 8 indentation settings +vim.opt_local.tabstop = 4 +vim.opt_local.softtabstop = 4 +vim.opt_local.shiftwidth = 4 +vim.opt_local.expandtab = true + +-- 88 character length lines for Black formatter +vim.opt_local.colorcolumn = '88' + +-- Google-style docstrings +vim.g.python_style = 'google' |