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 +}