summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-09-25 00:09:44 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-09-25 00:09:44 +0200
commit4f36a638131a2d08929f3cf22df243c22bddf3fe (patch)
tree850164f07e894ab3f1e684a9a991cd385eb11473 /ftdetect
parentd6479bbf0baeeedaa183c1f3e11679246ca20138 (diff)
downloadvim-polyglot-4f36a638131a2d08929f3cf22df243c22bddf3fe.tar.gz
vim-polyglot-4f36a638131a2d08929f3cf22df243c22bddf3fe.zip
Update filenames for gitignore
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index 0f7159c3..ff17e516 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -2024,6 +2024,8 @@ if !has_key(s:disabled_packages, 'tads')
endif
if !has_key(s:disabled_packages, 'gitignore')
+ au BufNewFile,BufRead *.git/info/exclude set ft=gitignore
+ au BufNewFile,BufRead */.config/git/ignore set ft=gitignore
au BufNewFile,BufRead {.,}gitignore set ft=gitignore
endif