NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.4k stars 14.35k forks source link

ycmd package --> Where located ycmd/examples/.ycm_extra_conf.py? #68868

Open spavlovich001 opened 5 years ago

spavlovich001 commented 5 years ago

I use in debian non-system ycmd, but in nixos I need use system package ycmd. Ycmd need config file(.ycm_extra_conf.py), but in .../store/some-nix/ I not find example/.ycm_extra_conf.py

 (defvar ycmd-path (concat (getenv "HOME") "/.emacs.d/packages/ycmd/ycmd"))
  (set-variable 'ycmd-server-command `("python", ycmd-path))
  (set-variable 'ycmd-global-config "~/.emacs.d/packages/ycmd/examples/.ycm_extra_conf.py")
  (set-variable 'ycmd-startup-timeout 15)
  (add-hook 'python-mode-hook 'ycmd-mode)
  (add-hook 'c-mode-hook 'ycmd-mode)
  (add-hook 'go-mode-hook 'ycmd-mode)
  (add-hook 'c++-mode-hook 'ycmd-mode)
stale[bot] commented 4 years ago

Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse. 3. Ask on the #nixos channel on irc.freenode.net.