summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-05-28 11:12:25 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-05-28 11:12:25 +0200
commitf0f49cf0fa8bbcb7f84e3ffe699a934142498b14 (patch)
treeba8ed8905a9f23c7d26de6da1b0592aa32ea9018 /ftdetect
parent224a6348f99167c9d72b5922686d388ae872ff7e (diff)
downloadvim-polyglot-f0f49cf0fa8bbcb7f84e3ffe699a934142498b14.tar.gz
vim-polyglot-f0f49cf0fa8bbcb7f84e3ffe699a934142498b14.zip
Add support for ics, closes #492
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index b22d1ee0..229905ba 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -276,6 +276,10 @@ if index(g:polyglot_disabled, 'i3') == -1
au BufNewFile,BufRead .i3.config,i3.config,*.i3config,*.i3.config set ft=i3config
endif
+if index(g:polyglot_disabled, 'icalendar') == -1
+ au BufNewFile,BufRead *.ics set ft=icalendar
+endif
+
if index(g:polyglot_disabled, 'idris') == -1
au BufNewFile,BufRead *.idr set ft=idris
au BufNewFile,BufRead idris-response set ft=idris