migrate nvim config to 0.12.0: vim.pack, ui2, snacks -> mini, just general spring cleaning
This commit is contained in:
parent
d1178fbe59
commit
14b1a9b057
70 changed files with 1081 additions and 1483 deletions
18
nvim/plugin/neogit.lua
Normal file
18
nvim/plugin/neogit.lua
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
vim.schedule(function()
|
||||
vim.pack.add({
|
||||
"https://github.com/nvim-lua/plenary.nvim",
|
||||
"https://github.com/NeogitOrg/neogit",
|
||||
})
|
||||
local p = require("norrsken.palette")
|
||||
require("neogit").setup({
|
||||
highlight = {
|
||||
italic = false,
|
||||
bold = true,
|
||||
underline = true,
|
||||
green = p.green,
|
||||
red = p.red,
|
||||
},
|
||||
})
|
||||
require("norrsken.integrations.neogit")()
|
||||
vim.keymap.set("n", "<leader>v", function() require("neogit").open() end)
|
||||
end)
|
||||
Loading…
Add table
Add a link
Reference in a new issue