diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2026-10-17 10:40:11 -0700 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2026-10-17 10:40:11 -0700 |
| commit | ea127689e0ae2d39b49004be605e541ff80e2621 (patch) | |
| tree | abbe79e5e37792bd8ebea8f9ac788ff5b8aed704 /.config/nvim/after/ftplugin/python.lua | |
| download | openbsd-dotfiles-ea127689e0ae2d39b49004be605e541ff80e2621.zip | |
Initial Commit
Diffstat (limited to '.config/nvim/after/ftplugin/python.lua')
| -rw-r--r-- | .config/nvim/after/ftplugin/python.lua | 12 |
1 files changed, 12 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..3fcff4e --- /dev/null +++ b/.config/nvim/after/ftplugin/python.lua @@ -0,0 +1,12 @@ +-- 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' + |