plugins/dropbar: fix ill-defined escape

This commit is contained in:
Sizhe Zhao 2026-02-13 19:16:38 +08:00 committed by Gaétan Lepage
parent 28c58bf023
commit 2b9f8e1d65

View file

@ -463,7 +463,7 @@ in
json files).
'';
name_regex = defaultNullOpts.mkStr "[=[[#~!@\*&.]*[[:keyword:]]\+!\?\(\(\(->\)\+\|-\+\|\.\+\|:\+\|\s\+\)\?[#~!@\*&.]*[[:keyword:]]\+!\?\)*]=]" ''
name_regex = defaultNullOpts.mkStr "[=[[#~!@\\*&.]*[[:keyword:]]\\+!\\?\\(\\(\\(->\\)\\+\\|-\\+\\|\\.\\+\\|:\\+\\|\\s\\+\\)\\?[#~!@\\*&.]*[[:keyword:]]\\+!\\?\\)*]=]" ''
Vim regex used to extract a short name from the node text.
'';