From 420a506c7036e9a88bcd2c906706a37e41c58ee5 Mon Sep 17 00:00:00 2001 From: Ibrahim Muftee Date: Fri, 15 Nov 2024 12:09:00 -0600 Subject: feat(nvim): add filetype specific options for python --- dot_config/nvim/after/ftplugin/python.lua | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 dot_config/nvim/after/ftplugin/python.lua (limited to 'dot_config/nvim') 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 } + -- cgit v1.2.3