editor/fold: add hs support for nxml-mode
This commit is contained in:
parent
0ac3044606
commit
4e80ca7d23
1 changed files with 4 additions and 1 deletions
|
@ -53,7 +53,10 @@
|
||||||
enh-ruby-forward-sexp nil)
|
enh-ruby-forward-sexp nil)
|
||||||
(matlab-mode "if\\|switch\\|case\\|otherwise\\|while\\|for\\|try\\|catch"
|
(matlab-mode "if\\|switch\\|case\\|otherwise\\|while\\|for\\|try\\|catch"
|
||||||
"end"
|
"end"
|
||||||
nil (lambda (_arg) (matlab-forward-sexp))))
|
nil (lambda (_arg) (matlab-forward-sexp)))
|
||||||
|
(nxml-mode "<!--\\|<[^/>]*[^/]>"
|
||||||
|
"-->\\|</[^/>]*[^/]>"
|
||||||
|
"<!--" sgml-skip-tag-forward nil))
|
||||||
hs-special-modes-alist
|
hs-special-modes-alist
|
||||||
'((t))))))
|
'((t))))))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue