mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
patch 9.2.0562: filetype: SGF files are not recognized
Problem: filetype: SGF files are not recognized
Solution: Detect *.sgf as sgf filetype
(Borys Lykah)
Reference:
https://www.red-bean.com/sgf/index.html
closes: #20349
Signed-off-by: Borys Lykah <lykahb@fastmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
61ad44f4af
commit
dda45ba88f
Vendored
+2
@@ -2735,6 +2735,8 @@ const ft_from_ext = {
|
||||
"mill": "scala",
|
||||
# SBT - Scala Build Tool
|
||||
"sbt": "sbt",
|
||||
# SGF, Smart Game Format
|
||||
"sgf": "sgf",
|
||||
# Slang Shading Language
|
||||
"slang": "shaderslang",
|
||||
# Slint
|
||||
|
||||
@@ -741,6 +741,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
||||
services: ['/etc/services', 'any/etc/services'],
|
||||
setserial: ['/etc/serial.conf', 'any/etc/serial.conf'],
|
||||
sexplib: ['file.sexp'],
|
||||
sgf: ['file.sgf'],
|
||||
sh: ['.bashrc', '.bash_profile', '.bash-profile', '.bash_logout', '.bash-logout', '.bash_aliases', '.bash-aliases', '.bash_history', '.bash-history',
|
||||
'/tmp/bash-fc-3Ozjlw', '/tmp/bash-fc.3Ozjlw', 'PKGBUILD', 'file.bash', '/usr/share/doc/bash-completion/filter.sh',
|
||||
'/etc/udev/cdsymlinks.conf', 'any/etc/udev/cdsymlinks.conf', 'file.bats', '.ash_history', 'any/etc/neofetch/config.conf', '.xprofile',
|
||||
|
||||
@@ -729,6 +729,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
562,
|
||||
/**/
|
||||
561,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user