Update to new version settings.

This commit is contained in:
CronyAkatsuki 2024-03-30 15:46:31 +01:00
parent d16d263f2b
commit 5655acaa45

View File

@ -83,7 +83,7 @@
prettierd prettierd
]; ];
plugins = { plugins = {
comment-nvim.enable = true; comment.enable = true;
ts-context-commentstring.enable = true; ts-context-commentstring.enable = true;
@ -96,7 +96,7 @@
indent-blankline = { indent-blankline = {
enable = true; enable = true;
scope.enabled = false; settings.scope.enabled = false;
}; };
cmp = { cmp = {
@ -176,35 +176,37 @@
oil = { oil = {
enable = true; enable = true;
defaultFileExplorer = true; settings = {
extraOptions = { show_hidden = true; }; show_hidden = true;
default_file_explorer = true;
};
}; };
treesitter.enable = true; treesitter.enable = true;
gitsigns = { gitsigns = {
enable = true; enable = true;
signs = { settings.signs = {
add.text = ""; add.text = "";
change.text = ""; change.text = "";
changedelete.text = ""; changedelete.text = "";
delete.text = ""; delete.text = "";
topdelete.text = ""; topdelete.text = "";
untracked.text = ""; untracked.text = "";
}; on_attach = ''
onAttach.function = '' function(buffer)
function(buffer) local gs = package.loaded.gitsigns
local gs = package.loaded.gitsigns
local function map(mode, l, r, desc)
local function map(mode, l, r, desc) vim.keymap.set(mode, l, r, { buffer = buffer, desc = desc })
vim.keymap.set(mode, l, r, { buffer = buffer, desc = desc }) end
-- stylua: ignore start
map("n", "]g", gs.next_hunk, "Next git hunk")
map("n", "[g", gs.prev_hunk, "Previous git hunk")
end end
'';
-- stylua: ignore start };
map("n", "]g", gs.next_hunk, "Next git hunk")
map("n", "[g", gs.prev_hunk, "Previous git hunk")
end
'';
}; };
mini = { mini = {