(sh-font-lock-paren): Add [ and ] to the
set of chars allowed unquoted in a case pattern.
This commit is contained in:
parent
618b5ae40f
commit
d96da6c47a
1 changed files with 1 additions and 1 deletions
|
@ -904,7 +904,7 @@ be indented (i.e. a <<- was used rather than just <<)."
|
|||
;; Skip through one pattern
|
||||
(while
|
||||
(or (/= 0 (skip-syntax-backward "w_"))
|
||||
(/= 0 (skip-chars-backward "?*/\\"))
|
||||
(/= 0 (skip-chars-backward "?[]*/\\"))
|
||||
(and (sh-is-quoted-p (1- (point)))
|
||||
(goto-char (- (point) 2)))
|
||||
(when (memq (char-before) '(?\" ?\'))
|
||||
|
|
Loading…
Add table
Reference in a new issue