mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
Update emacs ignore patterns (#5903)
Currently the emacs ignore patterns include `**/.#*` (lock files), but doesn't include `**/#*#` (autosave files; https://www.emacswiki.org/emacs/AutoSave, not to be confused with `**/*~` backup files which are ignored.) Add autosave files.
This commit is contained in:
parent
dd5ea044bb
commit
6fae6a41f9
@ -18,7 +18,7 @@ var EphemeralPathMatcher = initEphemeralPathMatcher()
|
||||
|
||||
func initEphemeralPathMatcher() model.PathMatcher {
|
||||
golandPatterns := []string{"**/*___jb_old___", "**/*___jb_tmp___", "**/.idea/**"}
|
||||
emacsPatterns := []string{"**/.#*"}
|
||||
emacsPatterns := []string{"**/.#*", "**/#*#"}
|
||||
// if .swp is taken (presumably because multiple vims are running in that dir),
|
||||
// vim will go with .swo, .swn, etc, and then even .svz, .svy!
|
||||
// https://github.com/vim/vim/blob/ea781459b9617aa47335061fcc78403495260315/src/memline.c#L5076
|
||||
|
Loading…
x
Reference in New Issue
Block a user