]> granicus.if.org Git - vim/commitdiff
patch 9.0.1261: Elsa files are not recognized v9.0.1261
authorAmaan Qureshi <amaanq12@gmail.com>
Sun, 29 Jan 2023 17:50:14 +0000 (17:50 +0000)
committerBram Moolenaar <Bram@vim.org>
Sun, 29 Jan 2023 17:50:14 +0000 (17:50 +0000)
Problem:    Elsa files are not recognized.
Solution:   Add a pattern for Elsa files. (Amaan Qureshi, closes #11908)

runtime/filetype.vim
src/testdir/test_filetype.vim
src/version.c

index 9f221409436da85d84bb5d7530c21e065e4a60e1..8654362af8e08b09f23358d111a84248685bfe81 100644 (file)
@@ -629,6 +629,9 @@ au BufNewFile,BufRead *.elm                 setf elm
 " Elm Filter Rules file
 au BufNewFile,BufRead filter-rules             setf elmfilt
 
+" Elsa - https://github.com/ucsd-progsys/elsa
+au BufNewFile,BufRead *.lc                     setf elsa
+
 " ESMTP rc file
 au BufNewFile,BufRead *esmtprc                 setf esmtprc
 
index 3eef5a09d2fd50e37603e64b638359f6c5ca493a..a6d87aef2045af83f9b24069aa9f8e3595b99976 100644 (file)
@@ -179,6 +179,7 @@ let s:filename_checks = {
     \ 'elixir': ['file.ex', 'file.exs', 'mix.lock'],
     \ 'elm': ['file.elm'],
     \ 'elmfilt': ['filter-rules'],
+    \ 'elsa': ['file.lc'],
     \ 'elvish': ['file.elv'],
     \ 'epuppet': ['file.epp'],
     \ 'erlang': ['file.erl', 'file.hrl', 'file.yaws'],
index 2324ff2138aed01683f31f17c0f02efd35dc151a..3dcac436c1da24a467135e98868d7ca22b7efc8a 100644 (file)
@@ -695,6 +695,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1261,
 /**/
     1260,
 /**/