mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
chore(completion/copilot): improve filename matching of predicate function
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
(or (string-prefix-p ".env" base)
|
||||
(string-match-p "\/\.ansible\/tmp\/ansible-local-.+$" dir)
|
||||
(string-suffix-p ".kube/config" full)))
|
||||
(let ((name (buffer-name)))
|
||||
(let ((name (string-trim (buffer-name))))
|
||||
(or (string-prefix-p "*temp*" name)
|
||||
(string-match-p "*scratch*" name)))))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user