aboutsummaryrefslogtreecommitdiffstats
path: root/.config/nvim/after/ftplugin/python.lua
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2026-10-17 10:40:11 -0700
committerEugene Triguba <hello@eugenetriguba.com>2026-10-17 10:40:11 -0700
commitea127689e0ae2d39b49004be605e541ff80e2621 (patch)
treeabbe79e5e37792bd8ebea8f9ac788ff5b8aed704 /.config/nvim/after/ftplugin/python.lua
downloadopenbsd-dotfiles-ea127689e0ae2d39b49004be605e541ff80e2621.zip
Initial Commit
Diffstat (limited to '.config/nvim/after/ftplugin/python.lua')
-rw-r--r--.config/nvim/after/ftplugin/python.lua12
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'
+