From 115ed0ef2dcfe49c67b594514a90e1cc25188125 Mon Sep 17 00:00:00 2001 From: xengineering Date: Wed, 29 Apr 2026 08:12:39 +0200 Subject: nvim: Use colorcolumn per file type This removes the global colorcolumn and adds one for Python and C. This allows to have a distraction free experience on all other file types and ones adapted to code guidelines for Python and C. --- nvim/ftplugin/c.lua | 1 + 1 file changed, 1 insertion(+) create mode 100644 nvim/ftplugin/c.lua (limited to 'nvim/ftplugin/c.lua') diff --git a/nvim/ftplugin/c.lua b/nvim/ftplugin/c.lua new file mode 100644 index 0000000..ab34114 --- /dev/null +++ b/nvim/ftplugin/c.lua @@ -0,0 +1 @@ +vim.opt.colorcolumn = {81} -- cgit v1.3.1