mirror of
https://github.com/vim/vim.git
synced 2026-05-28 00:21:37 +02:00
patch 9.2.0371: filetype: ghostty config files are not recognized
Problem: filetype: ghostty config files are not recognized
Solution: Detect ghostty configuration files as ghostty filetype,
include a simple ghostty filetype plugin (Bez Hermoso)
closes: #20002
Co-authored-by: Christian Brabandt <cb@256bit.org>
Signed-off-by: Bez Hermoso <me@bez.dev>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
2c436be6f7
commit
b30803b231
Vendored
+4
-2
@@ -3,7 +3,7 @@ vim9script
|
||||
# Vim functions for file type detection
|
||||
#
|
||||
# Maintainer: The Vim Project <https://github.com/vim/vim>
|
||||
# Last Change: 2026 Apr 15
|
||||
# Last Change: 2026 Apr 20
|
||||
# Former Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
|
||||
# These functions are moved here from runtime/filetype.vim to make startup
|
||||
@@ -3113,7 +3113,9 @@ const ft_from_ext = {
|
||||
"bp": "bp",
|
||||
# Tiltfile
|
||||
"Tiltfile": "tiltfile",
|
||||
"tiltfile": "tiltfile"
|
||||
"tiltfile": "tiltfile",
|
||||
# Ghostty
|
||||
"ghostty": "ghostty",
|
||||
}
|
||||
# Key: file name (the final path component, excluding the drive and root)
|
||||
# Value: filetype
|
||||
|
||||
Reference in New Issue
Block a user