feat: Use ra-multiplex for vim && use delta for git
This commit is contained in:
@@ -155,6 +155,11 @@ in {
|
||||
extraConfig = {
|
||||
color.ui = true;
|
||||
core.editor = "nvim";
|
||||
core.pager = "${pkgs.delta}/bin/delta";
|
||||
interactive.diffFilter = "${pkgs.delta}/bin/delta --color-only";
|
||||
delta.navigate = true;
|
||||
merge.conflictStyle = "diff3";
|
||||
diff.colorMoved = "default";
|
||||
push.autoSetupRemote = true;
|
||||
};
|
||||
};
|
||||
|
||||
2
flake.lock
generated
2
flake.lock
generated
@@ -1498,7 +1498,7 @@
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1,
|
||||
"narHash": "sha256-YLQSn0JnhwtDyysI+JMi4SPRQjUqmHJTYEnl0FlcxpY=",
|
||||
"narHash": "sha256-IgVjk0l4snGVpLlanIC43+qQx/AKMuVv0JBoCZy7oxA=",
|
||||
"path": "./neovim",
|
||||
"type": "path"
|
||||
},
|
||||
|
||||
@@ -121,20 +121,20 @@ in rec {
|
||||
|
||||
telescope = {
|
||||
enable = true;
|
||||
settings = {
|
||||
defaults = {
|
||||
layout_strategy = "vertical";
|
||||
layout_config = {
|
||||
preview_height = 0.8;
|
||||
vertical = {
|
||||
size = {
|
||||
width = "99%";
|
||||
height = "99%";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
# settings = {
|
||||
# defaults = {
|
||||
# layout_strategy = "vertical";
|
||||
# layout_config = {
|
||||
# preview_height = 0.8;
|
||||
# vertical = {
|
||||
# size = {
|
||||
# width = "99%";
|
||||
# height = "99%";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
extensions = {
|
||||
undo.enable = true;
|
||||
ui-select.enable = true;
|
||||
@@ -195,6 +195,15 @@ in rec {
|
||||
})
|
||||
end
|
||||
'';
|
||||
cmd =
|
||||
/*
|
||||
lua
|
||||
*/
|
||||
''
|
||||
function()
|
||||
return { '${pkgs.ra-multiplex}/bin/ra-multiplex', 'client' }
|
||||
end
|
||||
'';
|
||||
};
|
||||
dap = {
|
||||
autoloadConfigurations = false;
|
||||
|
||||
Reference in New Issue
Block a user