Skip to content

Commit

Permalink
emacs: alter company minimum prefix length to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
tiborpilz committed Sep 20, 2023
1 parent d32d9d4 commit 8857b71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion home/config/doom/config.el
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@
(setq lsp-semantic-tokens-honor-refresh-requests t)

(setq company-idle-delay 0.1 ;; How long to wait before popping up
company-minimum-prefix-length 0 ;; Show the menu after one key press
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
2 changes: 1 addition & 1 deletion home/config/doom/config.org
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ comment, then I want company to not show any suggestions at all.

#+begin_src elisp
(setq company-idle-delay 0.1 ;; How long to wait before popping up
company-minimum-prefix-length 0 ;; Show the menu after one key press
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 8857b71

Please sign in to comment.