chore: fmt

This commit is contained in:
u2515h 2023-12-17 12:59:06 +01:00
parent 36ef92f9c6
commit 5de2ea6dd6

View File

@ -28,7 +28,8 @@ in
extraPackages = with pkgs; [ fzf xclip fish ]; extraPackages = with pkgs; [ fzf xclip fish ];
plugins = with pkgs.vimPlugins; [ plugins = with pkgs.vimPlugins; [
vim-fugitive vim-fugitive
neogit diffview-nvim neogit
diffview-nvim
vim-airline vim-airline
zephyr-nvim zephyr-nvim
vim-nix vim-nix
@ -69,12 +70,15 @@ in
oil-nvim oil-nvim
distant-nvim distant-nvim
]; ];
extraLuaConfig = let paths = { extraLuaConfig =
let
paths = {
lldb = pkgs.lldb; lldb = pkgs.lldb;
rust_analyzer = rust-analyzer; rust_analyzer = rust-analyzer;
}; };
confDir = lib.sourceFilesBySuffices ./. [ "lua" "vim" ] ; confDir = lib.sourceFilesBySuffices ./. [ "lua" "vim" ];
in with lib; '' in
with lib; ''
vim.cmd [[source ${confDir}/init.vim]] vim.cmd [[source ${confDir}/init.vim]]
${concatStringsSep "\n" (mapAttrsToList (name: path: ''${name}_path = "${path}"'') paths)} ${concatStringsSep "\n" (mapAttrsToList (name: path: ''${name}_path = "${path}"'') paths)}
dofile("${confDir}/init.lua") dofile("${confDir}/init.lua")