diff options
| author | Ariel D'Alessandro <ariel.dalessandro@auto1.com> | 2023-01-24 11:04:22 +0100 |
|---|---|---|
| committer | Ariel D'Alessandro <ariel.dalessandro@auto1.com> | 2023-01-24 11:05:07 +0100 |
| commit | 8c261274ac91703effa6586364cc6da50583198f (patch) | |
| tree | 329c2970c66745649218499856ef9c15127a7dc9 /lua | |
| parent | 726c5b307e99203d57683b64fb9c4de9aec7fbef (diff) | |
| download | nvim-conf-8c261274ac91703effa6586364cc6da50583198f.tar.gz nvim-conf-8c261274ac91703effa6586364cc6da50583198f.zip | |
feat: add missing dependency
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/config/autocmds.lua | 2 | ||||
| -rw-r--r-- | lua/plugins/neogit.lua | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lua/config/autocmds.lua b/lua/config/autocmds.lua index ee165ee..5a0bd77 100644 --- a/lua/config/autocmds.lua +++ b/lua/config/autocmds.lua @@ -25,7 +25,7 @@ vim.api.nvim_create_autocmd("FileType", { }) vim.api.nvim_create_autocmd("FileType", { - pattern = { "gitcommit", "markdown" }, + pattern = { "gitcommit", "markdown", "NeogitCommitMessage" }, callback = function() vim.opt_local.wrap = true vim.opt_local.spell = true diff --git a/lua/plugins/neogit.lua b/lua/plugins/neogit.lua index e3d29c5..20efa92 100644 --- a/lua/plugins/neogit.lua +++ b/lua/plugins/neogit.lua @@ -1,5 +1,8 @@ return { "TimUntersberger/neogit", + dependencies = { + "nvim-lua/plenary.nvim", + }, cmd = {"Neogit"}, config = true, } |