view runtime/ftplugin/expect.vim @ 31537:91924f1b59af v9.0.1101

patch 9.0.1101: unused global variable Commit: https://github.com/vim/vim/commit/b536540ab3c13db629432c411e92c05c4a3808ba Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 26 14:37:44 2022 +0000 patch 9.0.1101: unused global variable Problem: Unused global variable. Solution: Remove the variable. (closes https://github.com/vim/vim/issues/11752)
author Bram Moolenaar <Bram@vim.org>
date Mon, 26 Dec 2022 15:45:03 +0100
parents 67f31c24291b
children 8ae680be2a51
line wrap: on
line source

" Vim filetype plugin file
" Language:	Expect
" Maintainer:	Doug Kearns <dougkearns@gmail.com>
" Last Change:	2022 Jul 16

if exists("b:did_ftplugin")
  finish
endif

" Syntax is similar to Tcl
runtime! ftplugin/tcl.vim

let s:cpo_save = &cpo
set cpo&vim

if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter")
  let b:browsefilter = "Expect Command Files (*.exp)\t*.exp\n" ..
	\	       "All Files (*.*)\t*.*\n"
endif

let &cpo = s:cpo_save
unlet s:cpo_save

" vim: nowrap sw=2 sts=2 ts=8