Update modules/lang/*
This commit is contained in:
parent
f0adef1b01
commit
e14e25ecb4
68 changed files with 1487 additions and 750 deletions
20
modules/lang/web/autoload/evil.el
Normal file
20
modules/lang/web/autoload/evil.el
Normal file
|
@ -0,0 +1,20 @@
|
|||
;;; lang/html/autoload/evil.el
|
||||
|
||||
;;;###autoload (autoload '+html:encode-html-entities "lang/html/autoload/evil" nil t)
|
||||
(evil-define-operator +html:encode-html-entities (beg end &optional input)
|
||||
"Encodes HTML entities in the selected region."
|
||||
(interactive "<r><a>")
|
||||
(cond (input
|
||||
(insert (+html-encode-entities input)))
|
||||
((and beg end)
|
||||
(+html/encode-entities-region beg end))))
|
||||
|
||||
;;;###autoload (autoload '+html:decode-html-entities "lang/html/autoload/evil" nil t)
|
||||
(evil-define-operator +html:decode-html-entities (beg end &optional input)
|
||||
"Decodes HTML entities in the selected region."
|
||||
(interactive "<r><a>")
|
||||
(cond (input
|
||||
(insert (+html-decode-entities input)))
|
||||
((and beg end)
|
||||
(+html/decode-entities-region beg end))))
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue