mirror of
https://github.com/vim/vim.git
synced 2026-05-06 12:26:58 -04:00
b30803b231
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>
11 lines
206 B
VimL
11 lines
206 B
VimL
" Vim filetype plugin file
|
|
" Language: ghostty
|
|
|
|
" Quit if a ftplugin file was already loaded
|
|
if exists("b:did_ftplugin")
|
|
finish
|
|
endif
|
|
|
|
" Use the cfg plugin, it's similar enough.
|
|
runtime! ftplugin/cfg.vim
|