From 277858bb103e265f183f09ffd1aaece858fac24c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sun, 30 Jun 2019 20:28:10 +0100 Subject: [PATCH] Add deoplete --- .vimrc.plugins-settings | 2 ++ nixos/home.nix | 10 +++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.vimrc.plugins-settings b/.vimrc.plugins-settings index 59c9599b..f548e02b 100644 --- a/.vimrc.plugins-settings +++ b/.vimrc.plugins-settings @@ -16,6 +16,8 @@ let g:ctrlp_show_hidden = 1 let g:lsp_signs_enabled = 1 let g:lsp_diagnostics_echo_cursor = 1 +let g:deoplete#enable_at_startup = 1 + " nerdtree startup autocmd StdinReadPre * let s:std_in=1 autocmd VimEnter * if argc() == 1 && isdirectory(argv()[0]) && !exists("s:std_in") | exe 'NERDTree' argv()[0] | wincmd p | ene | endif diff --git a/nixos/home.nix b/nixos/home.nix index c5d0cfb8..05183217 100644 --- a/nixos/home.nix +++ b/nixos/home.nix @@ -1,8 +1,16 @@ { config, pkgs, ... }: +let + unstableTarball = fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz; +in { nixpkgs.config = { allowUnfree = true; + packageOverrides = pkgs: { + unstable = import unstableTarball { + config = config.nixpkgs.config; + }; + }; }; home.packages = with pkgs; [ keepass fontconfig nodejs rustup gcc gdb @@ -94,7 +102,7 @@ "rust-vim" "nerdtree" "vim-dispatch" - "deoplete-rust" + "deoplete-nvim" "deoplete-go" "vim-fugitive" "vim-sensible"