feat(nvim): Added neogit and gitsigns

This commit is contained in:
Uttarayan Mondal
2024-04-19 14:56:57 +05:30
parent 8616c2a503
commit 44aad73f8d
3 changed files with 10 additions and 4 deletions

View File

@@ -6,8 +6,8 @@
programs.kitty = { programs.kitty = {
enable = device.hasGui; enable = device.hasGui;
font = { font = {
# name = "Hasklug Nerd Font Mono"; name = "Hasklug Nerd Font Mono";
name = "Monaspace Krypton Var Light"; # name = "Monaspace Krypton Var Light";
size = 13; size = 13;
}; };
settings = { settings = {

2
flake.lock generated
View File

@@ -1239,7 +1239,7 @@
}, },
"locked": { "locked": {
"lastModified": 1, "lastModified": 1,
"narHash": "sha256-ersvPhXlxW/reEF16X+fjqp8StsjdUQLDpjtAxCH0HU=", "narHash": "sha256-ymuHJlscWwOnxtc8n6HYQtduRnVcDzEtPD3h79MfDh8=",
"path": "./neovim", "path": "./neovim",
"type": "path" "type": "path"
}, },

View File

@@ -26,13 +26,19 @@ in rec {
config = { config = {
plugins = { plugins = {
fugitive.enable = true; fugitive.enable = true;
oil.enable = true; gitsigns.enable = true;
neogit.enable = true;
surround.enable = true; surround.enable = true;
todo-comments.enable = true; todo-comments.enable = true;
trouble.enable = true; trouble.enable = true;
ts-context-commentstring.enable = true; ts-context-commentstring.enable = true;
which-key.enable = true; which-key.enable = true;
oil = {
enable = true;
settings.skip_confirm_for_simple_edits = true;
};
navic = { navic = {
enable = true; enable = true;
lsp.autoAttach = true; lsp.autoAttach = true;