summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIbrahim Muftee <ibrahim@muftee.net>2024-11-15 12:09:00 -0600
committerIbrahim Muftee <ibrahim@muftee.net>2026-07-01 00:23:31 -0400
commit420a506c7036e9a88bcd2c906706a37e41c58ee5 (patch)
treead050d6a68cf3920fd0105f14a0b84f281dde676
parent72d4459f769566eae063a7b94f9aaac6d451aaae (diff)
feat(nvim): add filetype specific options for python
-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 }
+