Make xref work better on variables in shell-script-mode

* lisp/progmodes/sh-script.el (sh-mode-syntax-table): Classify "/"
as punctuation so that `M-.' on $foo/bar works on the $foo part
(bug#25585).
This commit is contained in:
Dmitry Gutov 2020-10-02 07:11:56 +02:00 committed by Lars Ingebrigtsen
parent 3f5f3dd604
commit f6277911eb

View file

@ -386,6 +386,7 @@ name symbol."
?~ "_"
?, "_"
?= "."
?/ "."
?\; "."
?| "."
?& "."