[Nix-dev] YouCompleteMe in 16.09
Vladimír Čunát
vcunat at gmail.com
Sun Mar 19 20:25:50 CET 2017
On 03/19/2017 08:15 PM, Tilo Schwarz wrote:
> I try to get YouCompleteMe running. [...]
>
> What would be the "nixos-correct" way to proceed?
I'm using a wrapper that includes my settings, plugins, etc. The code
is something like this:
# defined as `vim` alias within a set in packageOverrides:
vim = vim_configurable.customize {
name = "vim";
vimrcConfig.customRC = builtins.readFile ./vimrc.vim + ''
" per-machine config may mostly remain empty
source ~/.vimrc
'';
vimrcConfig.vam.knownPlugins = vimPlugins; #
pkgs/misc/vim-plugins/default.nix
vimrcConfig.vam.pluginDictionaries = [ { names = [
# see pkgs/misc/vim-plugins/vim-plugin-names
"vim-nix" "vim-addon-nix"
"Solarized"
"vim-pandoc-syntax"
"surround"
"vim-gitgutter" "fugitive"
"youcompleteme" # ...
]; } ];
};
--Vladimir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3771 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20170319/fa4e4536/attachment.p7s>
More information about the nix-dev
mailing list