chore: fmt
This commit is contained in:
parent
36ef92f9c6
commit
5de2ea6dd6
26
default.nix
26
default.nix
@ -28,7 +28,8 @@ in
|
||||
extraPackages = with pkgs; [ fzf xclip fish ];
|
||||
plugins = with pkgs.vimPlugins; [
|
||||
vim-fugitive
|
||||
neogit diffview-nvim
|
||||
neogit
|
||||
diffview-nvim
|
||||
vim-airline
|
||||
zephyr-nvim
|
||||
vim-nix
|
||||
@ -69,16 +70,19 @@ in
|
||||
oil-nvim
|
||||
distant-nvim
|
||||
];
|
||||
extraLuaConfig = let paths = {
|
||||
lldb = pkgs.lldb;
|
||||
rust_analyzer = rust-analyzer;
|
||||
};
|
||||
confDir = lib.sourceFilesBySuffices ./. [ "lua" "vim" ] ;
|
||||
in with lib; ''
|
||||
vim.cmd [[source ${confDir}/init.vim]]
|
||||
${concatStringsSep "\n" (mapAttrsToList (name: path: ''${name}_path = "${path}"'') paths)}
|
||||
dofile("${confDir}/init.lua")
|
||||
'';
|
||||
extraLuaConfig =
|
||||
let
|
||||
paths = {
|
||||
lldb = pkgs.lldb;
|
||||
rust_analyzer = rust-analyzer;
|
||||
};
|
||||
confDir = lib.sourceFilesBySuffices ./. [ "lua" "vim" ];
|
||||
in
|
||||
with lib; ''
|
||||
vim.cmd [[source ${confDir}/init.vim]]
|
||||
${concatStringsSep "\n" (mapAttrsToList (name: path: ''${name}_path = "${path}"'') paths)}
|
||||
dofile("${confDir}/init.lua")
|
||||
'';
|
||||
};
|
||||
programs.git.ignores = [ ".nvim_session" ];
|
||||
xdg.configFile."nvim/coc-settings.json".text =
|
||||
|
Loading…
x
Reference in New Issue
Block a user