mirror of
https://github.com/dwinkler1/np.git
synced 2026-02-19 22:40:57 -05:00
updated
This commit is contained in:
parent
ad98c7d2d2
commit
2b30cf0e26
1 changed files with 28 additions and 1 deletions
|
|
@ -5,6 +5,7 @@
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||||||
nixCats.url = "github:dwinkler1/nixCatsConfig";
|
nixCats.url = "github:dwinkler1/nixCatsConfig";
|
||||||
nixCats.inputs.nixpkgs.follows = "nixpkgs";
|
nixCats.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
## All git packages managed per project
|
||||||
"plugins-r" = {
|
"plugins-r" = {
|
||||||
url = "github:R-nvim/R.nvim";
|
url = "github:R-nvim/R.nvim";
|
||||||
flake = false;
|
flake = false;
|
||||||
|
|
@ -103,6 +104,8 @@
|
||||||
...
|
...
|
||||||
} @ packageDef: {
|
} @ packageDef: {
|
||||||
lspsAndRuntimeDeps = {
|
lspsAndRuntimeDeps = {
|
||||||
|
project = with pkgs; [
|
||||||
|
];
|
||||||
julia = with pkgs; [
|
julia = with pkgs; [
|
||||||
julia-bin
|
julia-bin
|
||||||
];
|
];
|
||||||
|
|
@ -121,19 +124,40 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
startupPlugins = {
|
startupPlugins = {
|
||||||
|
project = with pkgs.vimPlugins; [
|
||||||
|
];
|
||||||
gitPlugins = with pkgs.neovimPlugins; [
|
gitPlugins = with pkgs.neovimPlugins; [
|
||||||
r
|
{
|
||||||
|
plugin = r;
|
||||||
|
config.lua = "vim.notify('Using project local R plugin')";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
optionalPlugins = {
|
optionalPlugins = {
|
||||||
|
project = with pkgs.vimPlugins; [
|
||||||
|
];
|
||||||
gitPlugins = with pkgs.neovimPlugins; [
|
gitPlugins = with pkgs.neovimPlugins; [
|
||||||
cmp-r
|
cmp-r
|
||||||
cmp-pandoc-references
|
cmp-pandoc-references
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
optionalLuaPreInit = {
|
||||||
|
project = [];
|
||||||
|
};
|
||||||
|
optionalLuaAdditions = {
|
||||||
|
project = [
|
||||||
|
"vim.notify('Project loaded: ${name}')"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
sharedLibraries = {
|
||||||
|
project = {
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
environmentVariables = {
|
environmentVariables = {
|
||||||
|
project = {
|
||||||
|
};
|
||||||
r = {
|
r = {
|
||||||
R_LIBS_USER = "./.Rlibs";
|
R_LIBS_USER = "./.Rlibs";
|
||||||
};
|
};
|
||||||
|
|
@ -144,6 +168,7 @@
|
||||||
UV_PYTHON = pkgs.python.interpreter;
|
UV_PYTHON = pkgs.python.interpreter;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
extraWrapperArgs = {
|
extraWrapperArgs = {
|
||||||
python = [
|
python = [
|
||||||
"--unset PYTHONPATH"
|
"--unset PYTHONPATH"
|
||||||
|
|
@ -179,6 +204,8 @@
|
||||||
julia = true;
|
julia = true;
|
||||||
python = true;
|
python = true;
|
||||||
r = true;
|
r = true;
|
||||||
|
project = true;
|
||||||
|
gitPlugins = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue