Update formating.

This commit is contained in:
CronyAkatsuki 2024-03-01 08:23:28 +01:00
parent b6476accfa
commit 906719cd3b

View File

@ -1,8 +1,5 @@
{ inputs, pkgs, ... }:
{
imports = [
inputs.nixvim.homeManagerModules.nixvim
];
{ inputs, pkgs, ... }: {
imports = [ inputs.nixvim.homeManagerModules.nixvim ];
# Nixvim
programs.nixvim = {
@ -10,15 +7,11 @@
viAlias = true;
vimAlias = true;
keymaps = [
{
keymaps = [{
action = "<cmd>Oil<cr>";
key = "<leader>e";
options = {
silent = true;
};
}
];
options = { silent = true; };
}];
options = {
hlsearch = false;
@ -52,6 +45,10 @@
maplocalleader = ";";
};
extraConfigLuaPre = ''
vim.loader.enable()
'';
extraConfigLuaPost = ''
vim.notify = require("mini.notify").make_notify()
'';
@ -61,7 +58,12 @@
keymaps = {
addFile = "<leader>a";
toggleQuickMenu = "<C-e>";
navFile = { "1" = "<C-j>"; "2" = "<C-k>"; "3" = "<C-l>"; "4" = "<C-;>"; };
navFile = {
"1" = "<C-j>";
"2" = "<C-k>";
"3" = "<C-l>";
"4" = "<C-;>";
};
};
};
@ -101,9 +103,7 @@
mini = {
enable = true;
modules = {
statusline = {
set_vim_settings = false;
};
statusline = { set_vim_settings = false; };
comment = { };
notify = { };
};
@ -172,11 +172,8 @@
nvim-cmp = {
enable = true;
autoEnableSources = true;
sources = [
{name = "nvim_lsp";}
{name = "path";}
{name = "snippy";}
];
sources =
[ { name = "nvim_lsp"; } { name = "path"; } { name = "snippy"; } ];
snippet.expand = "snippy";
mapping = {
"<C-l>" = "cmp.mapping.confirm({ select = false })";
@ -216,8 +213,6 @@
keywords = [ "bold" ];
};
};
extraPlugins = with pkgs.vimPlugins; [
vim-snippets
];
extraPlugins = with pkgs.vimPlugins; [ vim-snippets ];
};
}