mirror of
https://github.com/neovim/neovim.git
synced 2026-05-27 15:25:33 +00:00
vim-patch:9.2.0371: filetype: ghostty config files are not recognized (#39267)
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
b30803b231
Co-authored-by: Bez Hermoso <bezalelhermoso@gmail.com>
Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
10
runtime/ftplugin/ghostty.vim
Normal file
10
runtime/ftplugin/ghostty.vim
Normal file
@@ -0,0 +1,10 @@
|
||||
" 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
|
||||
Reference in New Issue
Block a user