From: Amaan Qureshi Date: Wed, 8 Mar 2023 16:39:21 +0000 (+0000) Subject: patch 9.0.1393: Cairo files are not recognized X-Git-Tag: v9.0.1393 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff226d49fed2d8fc668084324c7b0f00117c5e74;p=vim patch 9.0.1393: Cairo files are not recognized Problem: Cairo files are not recognized. Solution: Add a pattern for Cairo files. (Amaan Qureshi, closes #12118) --- diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 88956422a..59cb06c3c 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -277,6 +277,9 @@ endif au BufNewFile,BufRead *.c call dist#ft#FTlpc() au BufNewFile,BufRead *.lpc,*.ulpc setf lpc +" Cairo +au BufNewFile,BufRead *.cairo setf cairo + " Calendar au BufNewFile,BufRead calendar setf calendar diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index ff438bb85..042c25df2 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -96,6 +96,7 @@ let s:filename_checks = { \ 'cabal': ['file.cabal'], \ 'cabalconfig': ['cabal.config'], \ 'cabalproject': ['cabal.project', 'cabal.project.local'], + \ 'cairo': ['file.cairo'], \ 'calendar': ['calendar', '/.calendar/file', '/share/calendar/any/calendar.file', '/share/calendar/calendar.file', 'any/share/calendar/any/calendar.file', 'any/share/calendar/calendar.file'], \ 'capnp': ['file.capnp'], \ 'catalog': ['catalog', 'sgml.catalogfile', 'sgml.catalog', 'sgml.catalog-file'], diff --git a/src/version.c b/src/version.c index 9689d8b2d..3a2ff57c9 100644 --- a/src/version.c +++ b/src/version.c @@ -695,6 +695,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1393, /**/ 1392, /**/