Add deoplete

This commit is contained in:
Cyryl Płotnicki 2019-06-30 20:28:10 +01:00
parent d17f73dd06
commit 277858bb10
2 changed files with 11 additions and 1 deletions

View file

@ -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

View file

@ -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"