chore: fmt
This commit is contained in:
parent
36ef92f9c6
commit
5de2ea6dd6
12
default.nix
12
default.nix
@ -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")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user