Function: cape-keyword
cape-keyword is an autoloaded, interactive and byte-compiled function
defined in cape-keyword.el.
Signature
(cape-keyword &optional INTERACTIVE)
Documentation
Complete programming language keyword at point.
See the variable cape-keyword-list.
If INTERACTIVE is nil the function acts like a capf.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/cape-20260804.2303/cape-keyword.el
;;;###autoload
(defun cape-keyword (&optional interactive)
"Complete programming language keyword at point.
See the variable `cape-keyword-list'.
If INTERACTIVE is nil the function acts like a capf."
(interactive (list t))
(if interactive
(cape-interactive #'cape-keyword)
(when-let* ((keywords (cape--keyword-list))
(bounds (cape--bounds 'symbol)))
`(,(car bounds) ,(cdr bounds) ,keywords ,@cape--keyword-properties))))