mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +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
@@ -1,7 +1,7 @@
|
||||
" Vim support file to detect file types
|
||||
"
|
||||
" Maintainer: The Vim Project <https://github.com/vim/vim>
|
||||
" Last Change: 2026 Apr 08
|
||||
" Last Change: 2026 Apr 20
|
||||
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
|
||||
" If the filetype can be detected from extension or file name(the final path component),
|
||||
@@ -1617,6 +1617,10 @@ au BufNewFile,BufRead *.txt
|
||||
\| setf text
|
||||
\| endif
|
||||
|
||||
" Ghostty configuration
|
||||
au BufNewFile,BufRead */ghostty/config setf ghostty
|
||||
au BufNewFile,BufRead */ghostty/themes/* call s:StarSetf('ghostty')
|
||||
au BufNewFile,BufRead */com.mitchellh.ghostty/config setf ghostty
|
||||
|
||||
|
||||
" Generic log file
|
||||
|
||||
Reference in New Issue
Block a user