mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00
vim-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: vim/vim#16683
41a6026f00
Co-authored-by: David Mandelberg <david@mandelberg.org>
This commit is contained in:

committed by
Christian Clason

parent
010684e024
commit
228fe50087
@@ -1802,6 +1802,7 @@ local filename = {
|
||||
Vagrantfile = 'ruby',
|
||||
['smb.conf'] = 'samba',
|
||||
['.lips_repl_history'] = 'scheme',
|
||||
['.guile'] = 'scheme',
|
||||
screenrc = 'screen',
|
||||
['.screenrc'] = 'screen',
|
||||
['/etc/sensors3.conf'] = 'sensors',
|
||||
|
@@ -672,7 +672,7 @@ func s:GetFilenameChecks() abort
|
||||
\ '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'],
|
||||
|
Reference in New Issue
Block a user