From 648aab0620a864d5d09860b2206fd7f1719ae51f Mon Sep 17 00:00:00 2001 From: Charles Danesi Date: Fri, 3 Oct 2025 12:06:22 -0400 Subject: [PATCH] add local variable to keep consistent with the rest of my config --- .config/nvim/after/ftplugin/gitcommit.lua | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.config/nvim/after/ftplugin/gitcommit.lua b/.config/nvim/after/ftplugin/gitcommit.lua index 7e6880c..7f21b8c 100644 --- a/.config/nvim/after/ftplugin/gitcommit.lua +++ b/.config/nvim/after/ftplugin/gitcommit.lua @@ -1,8 +1,10 @@ -vim.opt_local.textwidth = 78 -vim.opt_local.spell = true +local o = vim.opt_local + +o.textwidth = 78 +o.spell = true return { require('cmp').setup.buffer({ sources = require('cmp').config.sources({ { name = 'gitmoji' } }, { { name = 'buffer' } }), }), -} \ No newline at end of file +}