emacs.d

bloated emacs configuration
git clone git://git.ckyln.com/~cem/emacs.d.git
Log | Files | Refs | README

commit b57bd5541594b3ced0303aa7d17f0d238a50e9d6
parent 3536728ab5c50d2dc0262da73f458864acb85396
Author: Cem Keylan <cem@ckyln.com>
Date:   Sat, 28 Mar 2020 15:23:29 +0300

load yasnippet before company

Diffstat:
Minit.org | 19+++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)

diff --git a/init.org b/init.org @@ -378,6 +378,13 @@ hacky and buggy on Vim. :init (global-flycheck-mode)) #+END_SRC +** Yasnippet +I don't use it as often as I thought I would be using it. But here it is. +#+BEGIN_SRC emacs-lisp +(use-package yasnippet + :ensure t + :config (yas-global-mode 1)) +#+END_SRC ** Company Mode Company is a tool that I am still very unfamiliar with. I used to @@ -387,7 +394,9 @@ much yet. Pretty simple config. #+BEGIN_SRC emacs-lisp (use-package company :ensure t - :config (global-company-mode 1)) + :config (global-company-mode 1) + (setq company-idle-delay 0) + (setq company-minimum-prefix-length 1)) #+END_SRC *** Company LSP @@ -403,12 +412,10 @@ far as I can wrap my head-around. (push 'company-lsp company-backends)) #+END_SRC -** Yasnippet -I don't use it as often as I thought I would be using it. But here it is. +*** Company Yasnippet +I want yasnippet to be added as a company backend. #+BEGIN_SRC emacs-lisp -(use-package yasnippet - :ensure t - :config (yas-global-mode 1)) +(push 'company-yasnippet company-backends) #+END_SRC ** Mingus Mingus is an [[https://musicpd.org][MPD]] client for the Emacs operating system. It has a rather