Autocomplete

This commit is contained in:
Yannick Reiß 2024-04-30 10:51:39 +02:00
parent 5844b5b6fa
commit c34f04acd1
1 changed files with 8 additions and 2 deletions

View File

@ -4,7 +4,7 @@
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(package-selected-packages
'(laas aas yasnippet evil editorconfig markdown-mode auctex rust-mode nasm-mode lua-mode ada-mode diff-hl magit corfu consult vertico)))
'(auto-complete laas aas yasnippet evil editorconfig markdown-mode auctex rust-mode nasm-mode lua-mode ada-mode diff-hl magit corfu consult vertico)))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
@ -12,10 +12,12 @@
;; If there is more than one, they won't work right.
)
(setq make-backup-files nil)
(unless (package-installed-p 'yasnippet)
(package-install 'yasnippet))
(add-to-list 'load-path
"~/.config/emacs/yasnippet")
"~/.config/emacs/snippets")
(yas-global-mode 1)
(setq yas-triggers-in-filed t)
@ -149,3 +151,7 @@
:cond #'laas-object-on-left-condition
"qq" (lambda () (interactive) (laas-wrap-previous-object "sqrt"))))
(unless (package-installed-p 'auto-complete)
(package-install 'auto-complete))
(ac-config-default)