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