aboutsummaryrefslogtreecommitdiffstats
path: root/.config/nvim/after/ftplugin/python.lua
blob: 20fc6b108338f2bf181d8fe2fafac4a8abded8ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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'