mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-24 10:38:38 +00:00
(perl-imenu-generic-expression): Recognize packages.
This commit is contained in:
parent
9d69069393
commit
4d23eb4bd3
@ -154,6 +154,7 @@ The expansion is entirely correct because it uses the C preprocessor."
|
||||
(nil "^sub\\s-+\\([-A-Za-z0-9+_:]+\\)\\(\\s-\\|\n\\)*{" 1 )
|
||||
;;Variables
|
||||
("Variables" "^\\([$@%][-A-Za-z0-9+_:]+\\)\\s-*=" 1 )
|
||||
("Packages" "^package\\s-+\\([-A-Za-z0-9+_:]+\\);" 1 )
|
||||
)
|
||||
"Imenu generic expression for Perl mode. See `imenu-generic-expression'.")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user