mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Add lang/faust module (#1898)
This commit is contained in:
committed by
Henrik Lissner
parent
25acbd29d5
commit
3f60e40f40
12
modules/lang/faust/autoload.el
Normal file
12
modules/lang/faust/autoload.el
Normal file
@ -0,0 +1,12 @@
|
||||
;;; lang/faust/autoload.el -*- lexical-binding: t; -*-
|
||||
|
||||
;;;###autoload
|
||||
(defun +faust-company-backend (command &optional arg &rest ignored)
|
||||
"`company-mode' completion back-end for `faust-mode'."
|
||||
(interactive (list 'interactive))
|
||||
(cl-case command
|
||||
(interactive (company-begin-backend '+faust-company-backend))
|
||||
(prefix (and (derived-mode-p 'faust-mode)
|
||||
(not (company-in-string-or-comment))
|
||||
(or (company-grab-symbol-cons "\\." 1) 'stop)))
|
||||
(candidates faust-keywords-all)))
|
Reference in New Issue
Block a user