branch: master
commit a8d5d6f491bbf19e23bc5f2cc2fc49206c6f1245
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>
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.