From f0f49cf0fa8bbcb7f84e3ffe699a934142498b14 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Thu, 28 May 2020 11:12:25 +0200 Subject: Add support for ics, closes #492 --- ftdetect/polyglot.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ftdetect') 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 -- cgit v1.2.3