update init.el
This commit is contained in:
parent
b9763e2b7d
commit
429e5e5389
@ -49,7 +49,10 @@
|
|||||||
|
|
||||||
(add-hook 'flycheck-mode-hook #'flycheck-rust-setup)
|
(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("<C-tab>" . company-auto-complete))
|
||||||
(setq company-tooltip-align-annotations t)
|
(setq company-tooltip-align-annotations t)
|
||||||
|
|
||||||
|
|
||||||
@ -66,5 +69,20 @@
|
|||||||
(use-package helm
|
(use-package helm
|
||||||
:ensure t
|
:ensure t
|
||||||
:bind(:map helm-mode-map
|
: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.
|
||||||
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user