lang/faust: fix unfiltered code completion

This commit is contained in:
Henrik Lissner 2019-10-24 19:22:15 -04:00
parent c649401a92
commit 7f44774c43
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -9,4 +9,5 @@
(prefix (and (derived-mode-p 'faust-mode) (prefix (and (derived-mode-p 'faust-mode)
(not (company-in-string-or-comment)) (not (company-in-string-or-comment))
(or (company-grab-symbol-cons "\\." 1) 'stop))) (or (company-grab-symbol-cons "\\." 1) 'stop)))
(candidates faust-keywords-all))) (candidates (cl-remove-if-not (lambda (c) (string-prefix-p arg c))
faust-keywords-all))))