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


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to