Skip to content

Instantly share code, notes, and snippets.

@sourcepirate
Last active January 15, 2019 15:18
Show Gist options
  • Save sourcepirate/31a17e777852d42a2cdf6cd22906931b to your computer and use it in GitHub Desktop.
Save sourcepirate/31a17e777852d42a2cdf6cd22906931b to your computer and use it in GitHub Desktop.
(setq byte-compile-warnings '(not free-vars ))
;; Added by Package.el. This must come before configurations of
;; installed packages. Don't delete this line. If you don't want it,
;; just comment it out by adding a semicolon to the start of the line.
;; You may delete these explanatory comments.
(require 'package)
(add-to-list 'package-archives
'("melpa-stable" . "https://stable.melpa.org/packages/") t)
(add-to-list 'load-path "~/.emacs.d/go-autocomplete.el")
(package-initialize)
(require 'auto-complete)
(require 'go-autocomplete)
(require 'auto-complete-config)
(setq byte-compile-warnings '(not free-vars ))
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(package-selected-packages
(quote
(treemacs go-autocomplete helm sr-speedbar jedi solarized-theme company racer clues-theme monokai-theme color-theme-sanityinc-tomorrow rebecca-theme go-mode color-theme-modern rust-mode))))
(ac-config-default)
(add-hook 'python-mode-hook 'jedi:setup)
(setq racer-cmd "~/.cargo/bin/racer")
(setq racer-rust-src-path "~/.multirust/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/src/")
(setq jedi:complete-on-dot t)
(load-theme 'misterioso)
(add-hook 'rust-mode-hook #'racer-mode)
(add-hook 'racer-mode-hook #'eldoc-mode)
(add-hook 'racer-mode-hook #'company-mode)
(require 'rust-mode)
(define-key rust-mode-map (kbd "TAB") #'company-indent-or-complete-common)
(setq company-tooltip-align-annotations t)
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment