summaryrefslogtreecommitdiff
path: root/dot_config/nvim/after
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/nvim/after')
-rw-r--r--dot_config/nvim/after/ftplugin/python.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/dot_config/nvim/after/ftplugin/python.lua b/dot_config/nvim/after/ftplugin/python.lua
new file mode 100644
index 0000000..446aeff
--- /dev/null
+++ b/dot_config/nvim/after/ftplugin/python.lua
@@ -0,0 +1,5 @@
+-- Colored columns at 72 and 88 are for line lengths, and are based on
+-- Python conventions. Docstrings in Python should terminate at 72
+-- characters, and 88 is the max line length for the Black formatter.
+vim.opt_local.colorcolumn = { 72, 88 }
+