Mercurial > vim
view runtime/ftplugin/xs.vim @ 31481:7f79eb4ad11a v9.0.1073
patch 9.0.1073: using "xterm-kitty" for 'term' causes problems
Commit: https://github.com/vim/vim/commit/731d00770d9006e7dab6a66e2ea86603ed5ef212
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Dec 18 17:47:18 2022 +0000
patch 9.0.1073: using "xterm-kitty" for 'term' causes problems
Problem: Using "xterm-kitty" for 'term' causes problems.
Solution: Remove the "xterm-" part when 'term' is set from $TERM. Detect a
few kitty-specific properties based on the version response
instead of the terminal name.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 18 Dec 2022 19:00:06 +0100 |
parents | d1fe80fb35e6 |
children |
line wrap: on
line source
" Vim filetype plugin file " Language: XS (Perl extension interface language) " Maintainer: vim-perl <vim-perl@googlegroups.com> " Homepage: https://github.com/vim-perl/vim-perl " Bugs/requests: https://github.com/vim-perl/vim-perl/issues " License: Vim License (see :help license) " Last Change: 2018 Mar 28 " Only do this when not done yet for this buffer if exists("b:did_ftplugin") finish endif " Just use the C plugin for now. runtime! ftplugin/c.vim ftplugin/c_*.vim ftplugin/c/*.vim