lang/lua: conform hooks to new naming convention
This commit is contained in:
parent
e55ed59951
commit
49d86ae648
2 changed files with 4 additions and 4 deletions
|
@ -2,13 +2,13 @@
|
|||
;;;###if (featurep! +moonscript)
|
||||
|
||||
;;;###autoload
|
||||
(defun +lua|moonscript-fix-single-quotes ()
|
||||
(defun +lua-moonscript-fix-single-quotes-h ()
|
||||
"Single-quoted strings aren't treated as strings."
|
||||
;; (modify-syntax-entry ?\" "\"" moonscript-mode-syntax-table)
|
||||
(modify-syntax-entry ?\' "\"" moonscript-mode-syntax-table))
|
||||
|
||||
;;;###autoload
|
||||
(defun +lua|moonscript-fontify-interpolation ()
|
||||
(defun +lua-moonscript-fontify-interpolation-h ()
|
||||
"Highlight interpolated expressions in moonscript strings."
|
||||
(font-lock-add-keywords
|
||||
nil '(("#{\\([^}]+\\)}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue