aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.config/nvim/after/ftplugin/gitcommit.lua
blob: 85257143aa9985e8c49b49a53a1fb734c44dde53 (plain) (blame)
1
2
3
4
5
vim.wo.spell = true
vim.b.undo_ftplugin = vim.b.undo_ftplugin .. "|setlocal spell<"
vim.cmd([[match ErrorMsg /\%1l.\%>50v/]])
local bufnr = vim.api.nvim_buf_get_number(0)
require("mapper").ncmd("gd", "DiffGitCached", nil, bufnr)