Add deoplete
This commit is contained in:
parent
d17f73dd06
commit
277858bb10
2 changed files with 11 additions and 1 deletions
|
@ -16,6 +16,8 @@ let g:ctrlp_show_hidden = 1
|
||||||
let g:lsp_signs_enabled = 1
|
let g:lsp_signs_enabled = 1
|
||||||
let g:lsp_diagnostics_echo_cursor = 1
|
let g:lsp_diagnostics_echo_cursor = 1
|
||||||
|
|
||||||
|
let g:deoplete#enable_at_startup = 1
|
||||||
|
|
||||||
" nerdtree startup
|
" nerdtree startup
|
||||||
autocmd StdinReadPre * let s:std_in=1
|
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
|
autocmd VimEnter * if argc() == 1 && isdirectory(argv()[0]) && !exists("s:std_in") | exe 'NERDTree' argv()[0] | wincmd p | ene | endif
|
||||||
|
|
|
@ -1,8 +1,16 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
unstableTarball = fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
nixpkgs.config = {
|
nixpkgs.config = {
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
|
packageOverrides = pkgs: {
|
||||||
|
unstable = import unstableTarball {
|
||||||
|
config = config.nixpkgs.config;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
keepass fontconfig nodejs rustup gcc gdb
|
keepass fontconfig nodejs rustup gcc gdb
|
||||||
|
@ -94,7 +102,7 @@
|
||||||
"rust-vim"
|
"rust-vim"
|
||||||
"nerdtree"
|
"nerdtree"
|
||||||
"vim-dispatch"
|
"vim-dispatch"
|
||||||
"deoplete-rust"
|
"deoplete-nvim"
|
||||||
"deoplete-go"
|
"deoplete-go"
|
||||||
"vim-fugitive"
|
"vim-fugitive"
|
||||||
"vim-sensible"
|
"vim-sensible"
|
||||||
|
|
Loading…
Reference in a new issue