changeset 31857:a9d97517ac27 v9.0.1261

patch 9.0.1261: Elsa files are not recognized Commit: https://github.com/vim/vim/commit/2a99fe6c41efcd5d1eb47823e7e73cf391e230ba Author: Amaan Qureshi <amaanq12@gmail.com> Date: Sun Jan 29 17:50:14 2023 +0000 patch 9.0.1261: Elsa files are not recognized Problem: Elsa files are not recognized. Solution: Add a pattern for Elsa files. (Amaan Qureshi, closes https://github.com/vim/vim/issues/11908)
author Bram Moolenaar <Bram@vim.org>
date Sun, 29 Jan 2023 19:00:02 +0100
parents 6d67ab084e42
children 42a6cf1933f9
files runtime/filetype.vim src/testdir/test_filetype.vim src/version.c
diffstat 3 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -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
 
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -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'],
--- a/src/version.c
+++ b/src/version.c
@@ -696,6 +696,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1261,
+/**/
     1260,
 /**/
     1259,