Skip to content

Commit

Permalink
feat(emacs): increase completion responsiveness
Browse files Browse the repository at this point in the history
  • Loading branch information
tiborpilz committed Aug 22, 2023
1 parent 05abdd6 commit fa3c25b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions home/config/doom/config.el
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,8 @@
(setq lsp-semantic-tokens-enable t)
(setq lsp-semantic-tokens-honor-refresh-requests t)

(setq company-idle-delay 0.35 ;; How long to wait before popping up
company-minimum-prefix-length 2 ;; Show the menu after one key press
(setq company-idle-delay 0 ;; How long to wait before popping up
company-minimum-prefix-length 1 ;; Show the menu after one key press
company-tooltip-limit 10 ;; Limit on how many options to display
company-tooltip-align-annotations t ;; Align annotations to the right
company-require-match nil ;; Allow free typing
Expand Down
5 changes: 3 additions & 2 deletions home/config/doom/config.org
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,7 @@ Remove 1 space padding from <script> tags
(with-eval-after-load 'web-mode
(setq web-mode-script-padding 0))
#+end_src
***** Folding
**** Tailwind
Add the tailwind lsp package
#+begin_src elisp :tangle packages.el
Expand Down Expand Up @@ -734,8 +735,8 @@ I don't want any delay in showing suggestions, unless I'm writing a string or a
comment, then I want company to not show any suggestions at all.

#+begin_src elisp
(setq company-idle-delay 0.35 ;; How long to wait before popping up
company-minimum-prefix-length 2 ;; Show the menu after one key press
(setq company-idle-delay 0 ;; How long to wait before popping up
company-minimum-prefix-length 1 ;; Show the menu after one key press
company-tooltip-limit 10 ;; Limit on how many options to display
company-tooltip-align-annotations t ;; Align annotations to the right
company-require-match nil ;; Allow free typing
Expand Down

0 comments on commit fa3c25b

Please sign in to comment.