neovim: Reorganise directory layout

This also loads UltiSnips by setting a configuration option instead of
symlinking it to the default location.
upower
Simon Bruder 2021-07-17 13:31:47 +02:00
parent 35e6bf8185
commit 80f23f019b
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
6 changed files with 2 additions and 5 deletions

View File

@ -10,7 +10,7 @@
./misc.nix
./mpd.nix
./mpv
./neovim.nix
./neovim
./pass.nix
./programs.nix
./scripts.nix

View File

@ -211,6 +211,7 @@ in
{
plugin = ultisnips;
config = ''
let g:UltiSnipsSnippetDirectories = [ '${./UltiSnips}' ]
let g:UltiSnipsExpandTrigger = '<tab>'
let g:UltiSnipsJumpForwardTrigger = '<tab>'
let g:UltiSnipsJumpBackwardTrigger = '<s-tab>'
@ -302,10 +303,6 @@ in
];
};
xdg.configFile = {
"nvim/UltiSnips".source = ../files/nvim/UltiSnips;
};
home.sessionVariables.EDITOR = "nvim";
home.packages = with pkgs; [