emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master a8d5d6f 24/40: company-files: Recognize file names right a


From: Dmitry Gutov
Subject: [elpa] master a8d5d6f 24/40: company-files: Recognize file names right after [
Date: Thu, 2 Jan 2020 18:57:03 -0500 (EST)

branch: master
commit a8d5d6f491bbf19e23bc5f2cc2fc49206c6f1245
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    company-files: Recognize file names right after [
    
    #869
---
 company-files.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/company-files.el b/company-files.el
index c6102a1..91de1c6 100644
--- a/company-files.el
+++ b/company-files.el
@@ -70,7 +70,7 @@ The values should use the same format as 
`completion-ignored-extensions'."
          (begin (concat "\\(?:\\.\\{1,2\\}/\\|~/\\|" root "\\)")))
     (list (concat "\"\\(" begin "[^\"\n]*\\)")
           (concat "\'\\(" begin "[^\'\n]*\\)")
-          (concat "\\(?:[ \t=]\\|^\\)\\(" begin "[^ \t\n]*\\)"))))
+          (concat "\\(?:[ \t=\[]\\|^\\)\\(" begin "[^ \t\n]*\\)"))))
 
 (defun company-files--grab-existing-name ()
   ;; Grab the file name.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]