nixconfigs/home/overlays.nix
Trolli Schmittlauch 9a519e2eb5 switch vim flavour to Neovim; reason: macOS clipboard support
access to system clipboard was broken in command-line vim, the buffers
"+ or "* were said not to exist and neither unnamed or unnamedplus
clipboard settings were working.

Aliases nvim to "vim"
2022-05-19 17:56:12 +02:00

37 lines
1.2 KiB
Nix

[
(
self: super:
rec {
#jami-ring-daemon = super.qt5.callPackage ./ov/jami/ring-daemon.nix {};
myVim = with super; neovim.override { configure = {
packages.myVimPackage = with pkgs.vimPlugins; {
# loaded on start
start = [
ale
base16-vim
LanguageClient-neovim
ctrlp
direnv-vim
fugitive
haskell-vim
jedi-vim
nerdtree
nerdtree-git-plugin
supertab
vim-pandoc
vim-pandoc-syntax
vim-nix
vim-jinja
];
};
customRC = builtins.readFile ./vimrc;
};};
# build with debug symbols and in debug mode (less optimized)
opencvDebug = with super; enableDebugging ((opencv3.override { enablePython = true; enableGtk3 = true; enableDocs = true; pythonPackages = pkgs.python3Packages; }).overrideAttrs (oldAttrs: rec { cmakeBuildType = "Debug"; }));
#gnutls = super.callPackage ./ov/gnutls {inherit (super.darwin.apple_sdk.frameworks) Security;};
}
)
]