patch 9.1.1134: filetype: Guile init file not recognized

Commit: 
https://github.com/vim/vim/commit/41a6026f007facb1ada3ff2a63a054913432860c
Author: David Mandelberg <da...@mandelberg.org>
Date:   Fri Feb 21 20:13:54 2025 +0100

    patch 9.1.1134: filetype: Guile init file not recognized
    
    Problem:  filetype: Guile init file not recognized
    Solution: detect '.guile' file as scheme filetype
              (David Mandelberg)
    
    References:
    
    https://www.gnu.org/software/guile/manual/html_node/Init-File.html
    > When run interactively, Guile will load a local initialization file
    > from ~/.guile. This file should contain Scheme expressions for
    > evaluation.
    
    closes: #16683
    
    Signed-off-by: David Mandelberg <da...@mandelberg.org>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index b4207942e..0acd18718 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -2347,8 +2347,8 @@ au BufNewFile,BufRead *.zsh,*.zsh-theme,*.zunit           
setf zsh
 " Salt state files
 au BufNewFile,BufRead *.sls                    setf salt
 
-" Scheme, Supertux configuration, Lips.js history ("racket" patterns are now 
separate, see above)
-au BufNewFile,BufRead 
*.scm,*.ss,*.sld,*.stsg,*/supertux2/config,.lips_repl_history    setf scheme
+" Scheme, Supertux configuration, Lips.js history, Guile init file ("racket" 
patterns are now separate, see above)
+au BufNewFile,BufRead 
*.scm,*.ss,*.sld,*.stsg,*/supertux2/config,.lips_repl_history,.guile     setf 
scheme
 
 " Screen RC
 au BufNewFile,BufRead .screenrc,screenrc       setf screen
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim
index 6fe383d87..3196856c0 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -675,7 +675,7 @@ def s:GetFilenameChecks(): dict<list<string>>
     sass: ['file.sass'],
     sbt: ['file.sbt'],
     scala: ['file.scala', 'file.mill'],
-    scheme: ['file.scm', 'file.ss', 'file.sld', 'file.stsg', 
'any/local/share/supertux2/config', '.lips_repl_history'],
+    scheme: ['file.scm', 'file.ss', 'file.sld', 'file.stsg', 
'any/local/share/supertux2/config', '.lips_repl_history', '.guile'],
     scilab: ['file.sci', 'file.sce'],
     screen: ['.screenrc', 'screenrc'],
     scss: ['file.scss'],
diff --git a/src/version.c b/src/version.c
index f552a271d..620e7b26f 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1134,
 /**/
     1133,
 /**/

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1tlYip-004yqy-NQ%40256bit.org.

Raspunde prin e-mail lui