neovim: Reorganise directory layout
This also loads UltiSnips by setting a configuration option instead of symlinking it to the default location.
This commit is contained in:
parent
35e6bf8185
commit
80f23f019b
|
@ -10,7 +10,7 @@
|
|||
./misc.nix
|
||||
./mpd.nix
|
||||
./mpv
|
||||
./neovim.nix
|
||||
./neovim
|
||||
./pass.nix
|
||||
./programs.nix
|
||||
./scripts.nix
|
||||
|
|
|
@ -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; [
|
Loading…
Reference in a new issue