Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
jojojames committed Nov 29, 2024
1 parent 1e70d73 commit bc84e67
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ Use an advice to enable ~fussy~.
(defun j-company-capf (f &rest args)
"Manage `completion-styles'."
(if (length= company-prefix 0)
;; Don't use `company' for 0 length prefixes.
;; Don't use `fussy' for 0 length prefixes.
(let ((completion-styles (remq 'fussy completion-styles)))
(apply f args))
(let ((fussy-max-candidate-limit 5000)
Expand All @@ -351,7 +351,7 @@ Use an advice to enable ~fussy~.
(defun j-company-transformers (f &rest args)
"Manage `company-transformers'."
(if (length= company-prefix 0)
;; Don't use `company' for 0 length prefixes.
;; Don't use `fussy' for 0 length prefixes.
(apply f args)
(let ((company-transformers '(fussy-company-sort-by-completion-score)))
(apply f args))))
Expand Down Expand Up @@ -614,7 +614,7 @@ former configuration, this section will be kept up to date with my ~init.el~.
(defun j-company-capf (f &rest args)
"Manage `completion-styles'."
(if (length= company-prefix 0)
;; Don't use `company' for 0 length prefixes.
;; Don't use `fussy' for 0 length prefixes.
(let ((completion-styles (remq 'fussy completion-styles)))
(apply f args))
(let ((fussy-max-candidate-limit 5000)
Expand All @@ -625,7 +625,7 @@ former configuration, this section will be kept up to date with my ~init.el~.
(defun j-company-transformers (f &rest args)
"Manage `company-transformers'."
(if (length= company-prefix 0)
;; Don't use `company' for 0 length prefixes.
;; Don't use `fussy' for 0 length prefixes.
(apply f args)
(let ((company-transformers '(fussy-company-sort-by-completion-score)))
(apply f args))))
Expand Down

0 comments on commit bc84e67

Please sign in to comment.