patch 9.0.1907: No support for liquidsoap filetypes
Commit:
https://github.com/vim/vim/commit/6b5efcdd8e976d2ab2554b22c4220c5e88de4717
Author: Romain Beauxis <[email protected]>
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 <[email protected]>
Co-authored-by: Romain Beauxis <[email protected]>
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 9b7e698c2..4b5838123 100644
--- 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
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim
index 9e13777b7..79065a036 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -372,6 +372,7 @@ def s:GetFilenameChecks(): dict<list<string>>
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'],
diff --git a/src/version.c b/src/version.c
index f517b5b7e..655b1d1dd 100644
--- a/src/version.c
+++ b/src/version.c
@@ -699,6 +699,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1907,
/**/
1906,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/E1qhv7t-00GjH2-I6%40256bit.org.