mirror of
https://github.com/neovim/neovim.git
synced 2026-05-06 16:29:57 -04:00
32e249dfa6
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: vim/vim#20002
https://github.com/vim/vim/commit/b30803b231beea13e2efa42fefc04be71a4e9bb5
Co-authored-by: Bez Hermoso <bezalelhermoso@gmail.com>
Co-authored-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
|