diff --git a/emacs/init.el b/emacs/init.el index b2844e9..f4d82a0 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -49,7 +49,10 @@ (add-hook 'flycheck-mode-hook #'flycheck-rust-setup) -(global-set-key (kbd "TAB") #'company-indent-or-complete-common) +;;(global-set-key (kbd "TAB") #'company-indent-or-complete-common) +(use-package company + :ensure t + :bind("" . company-auto-complete)) (setq company-tooltip-align-annotations t) @@ -66,5 +69,20 @@ (use-package helm :ensure t :bind(:map helm-mode-map - ("C-c h" . helm-execute-persistent-action))) + ("C-c h" . helm-execute-persistent-action))) + +(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 + (jq-mode web-beautify use-package tern-auto-complete rustfmt racer neotree magit json-reformat js2-highlight-vars jedi helm flymake-rust flycheck-rust csharp-mode company-jedi cargo)))) +(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. + )