mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
fix(nvim): bug in commit messages
This commit is contained in:
@@ -39,9 +39,11 @@ vim.api.nvim_create_autocmd({ "VimResized" }, {
|
|||||||
})
|
})
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd({ "User LspProgressStatusUpdated" }, {
|
vim.api.nvim_create_autocmd({ "User LspProgressStatusUpdated" }, {
|
||||||
pattern = { "*" },
|
|
||||||
callback = function()
|
callback = function()
|
||||||
|
local bufname = vim.api.nvim_buf_get_name(0)
|
||||||
|
if not string.match(bufname, "COMMIT_EDITMSG") then
|
||||||
require("lualine").refresh()
|
require("lualine").refresh()
|
||||||
|
end
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user