branch: externals/eglot
commit 550ffc2cbbc6da116dce6638b4760c807fae063c
Author: João Távora <[email protected]>
Commit: João Távora <[email protected]>

    Per #602: tweak glob-parsing grammar
    
    Alternative groups {} don't bork on forward slash.
    
    * eglot.el (eglot--glob-parse): Tweak {} grammar.
---
 eglot.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eglot.el b/eglot.el
index 9944b18..90d973c 100644
--- a/eglot.el
+++ b/eglot.el
@@ -2671,7 +2671,7 @@ at point.  With prefix argument, prompt for ACTION-KIND."
      with grammar = '((:**      "\\*\\*/?"              eglot--glob-emit-**)
                       (:*       "\\*"                   eglot--glob-emit-*)
                       (:?       "\\?"                   eglot--glob-emit-?)
-                      (:{}      "{[^][/*{}]+}"          eglot--glob-emit-{})
+                      (:{}      "{[^][*{}]+}"           eglot--glob-emit-{})
                       (:range   "\\[\\^?[^][/,*{}]+\\]" eglot--glob-emit-range)
                       (:literal "[^][,*?{}]+"           eglot--glob-emit-self))
      until (eobp)

Reply via email to