changeset 33280:d36b39b5a394 v9.0.1907

patch 9.0.1907: No support for liquidsoap filetypes Commit: https://github.com/vim/vim/commit/6b5efcdd8e976d2ab2554b22c4220c5e88de4717 Author: Romain Beauxis <toots@rastageeks.org> Date: Sun Sep 17 18:49:20 2023 +0200 patch 9.0.1907: No support for liquidsoap filetypes Problem: No support for liquidsoap filetypes Solution: Add liquidsoap filetype detection code closes: #13111 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Romain Beauxis <toots@rastageeks.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 17 Sep 2023 19:00:05 +0200
parents a65ff959b1fe
children 3e78dea9ad87
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
@@ -1181,6 +1181,9 @@ endif
 " SBCL implementation of Common Lisp
 au BufNewFile,BufRead sbclrc,.sbclrc		setf lisp
 
+" Liquidsoap
+au BufNewFile,BufRead *.liq			setf liquidsoap
+
 " Liquid
 au BufNewFile,BufRead *.liquid			setf liquid
 
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -372,6 +372,7 @@ def s:GetFilenameChecks(): dict<list<str
     lilo: ['lilo.conf', 'lilo.conf-file'],
     lilypond: ['file.ly', 'file.ily'],
     limits: ['/etc/limits', '/etc/anylimits.conf', '/etc/anylimits.d/file.conf', '/etc/limits.conf', '/etc/limits.d/file.conf', '/etc/some-limits.conf', '/etc/some-limits.d/file.conf', 'any/etc/limits', 'any/etc/limits.conf', 'any/etc/limits.d/file.conf', 'any/etc/some-limits.conf', 'any/etc/some-limits.d/file.conf'],
+    liquidsoap: ['file.liq'],
     liquid: ['file.liquid'],
     lisp: ['file.lsp', 'file.lisp', 'file.asd', 'file.el', 'file.cl', '.emacs', '.sawfishrc', 'sbclrc', '.sbclrc'],
     lite: ['file.lite', 'file.lt'],
--- a/src/version.c
+++ b/src/version.c
@@ -700,6 +700,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1907,
+/**/
     1906,
 /**/
     1905,