Mercurial > vim
annotate runtime/ftplugin/tcsh.vim @ 35276:a513a0b170e1 default tip
runtime(debian): update Debian runtime files (#14849)
Commit: https://github.com/vim/vim/commit/0076ddc07dc1d97afcf3252fd361885abbaf23d5
Author: James McCoy <jamessan@debian.org>
Date: Sat May 25 14:56:49 2024 -0400
runtime(debian): update Debian runtime files (https://github.com/vim/vim/issues/14849)
* Add space in template for 'commentstring'
* Add 'comments' and 'commentstring' support to debcontrol
* debversions: Move Ubuntu releases outside of standard support to unsupported
Although trust, xenial, and bionic are not EOL yet, their standard support period has ended.
Reported-by: Riley Bruins <ribru17@gmail.com>
Co-authored-by: Riley Bruins <ribru17@gmail.com>
Signed-off-by: James McCoy <jamessan@debian.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 25 May 2024 21:00:03 +0200 |
parents | 8ae680be2a51 |
children |
rev | line source |
---|---|
7 | 1 " Vim filetype plugin file |
25973 | 2 " Language: tcsh |
3 " Maintainer: Doug Kearns <dougkearns@gmail.com> | |
28010 | 4 " Previous Maintainer: Dan Sharp |
34134
8ae680be2a51
runtime(ftplugin): Use "*" browsefilter pattern to match "All Files"
Christian Brabandt <cb@256bit.org>
parents:
33545
diff
changeset
|
5 " Last Change: 2024 Jan 14 |
7 | 6 |
33545
09e8f7ac05e0
runtime(tcsh): Update ftplugin (#13327)
Christian Brabandt <cb@256bit.org>
parents:
28010
diff
changeset
|
7 if exists("b:did_ftplugin") |
09e8f7ac05e0
runtime(tcsh): Update ftplugin (#13327)
Christian Brabandt <cb@256bit.org>
parents:
28010
diff
changeset
|
8 finish |
09e8f7ac05e0
runtime(tcsh): Update ftplugin (#13327)
Christian Brabandt <cb@256bit.org>
parents:
28010
diff
changeset
|
9 endif |
7 | 10 |
11 let s:save_cpo = &cpo | |
12 set cpo-=C | |
13 | |
14 " Define some defaults in case the included ftplugins don't set them. | |
15 let s:undo_ftplugin = "" | |
34134
8ae680be2a51
runtime(ftplugin): Use "*" browsefilter pattern to match "All Files"
Christian Brabandt <cb@256bit.org>
parents:
33545
diff
changeset
|
16 let s:browsefilter = "csh Files (*.csh)\t*.csh\n" |
8ae680be2a51
runtime(ftplugin): Use "*" browsefilter pattern to match "All Files"
Christian Brabandt <cb@256bit.org>
parents:
33545
diff
changeset
|
17 if has("win32") |
8ae680be2a51
runtime(ftplugin): Use "*" browsefilter pattern to match "All Files"
Christian Brabandt <cb@256bit.org>
parents:
33545
diff
changeset
|
18 let s:browsefilter ..= "All Files (*.*)\t*\n" |
8ae680be2a51
runtime(ftplugin): Use "*" browsefilter pattern to match "All Files"
Christian Brabandt <cb@256bit.org>
parents:
33545
diff
changeset
|
19 else |
8ae680be2a51
runtime(ftplugin): Use "*" browsefilter pattern to match "All Files"
Christian Brabandt <cb@256bit.org>
parents:
33545
diff
changeset
|
20 let s:browsefilter ..= "All Files (*)\t*\n" |
8ae680be2a51
runtime(ftplugin): Use "*" browsefilter pattern to match "All Files"
Christian Brabandt <cb@256bit.org>
parents:
33545
diff
changeset
|
21 endif |
7 | 22 |
23 runtime! ftplugin/csh.vim ftplugin/csh_*.vim ftplugin/csh/*.vim | |
24 let b:did_ftplugin = 1 | |
25 | |
26 " Override our defaults if these were set by an included ftplugin. | |
27 if exists("b:undo_ftplugin") | |
33545
09e8f7ac05e0
runtime(tcsh): Update ftplugin (#13327)
Christian Brabandt <cb@256bit.org>
parents:
28010
diff
changeset
|
28 let s:undo_ftplugin = b:undo_ftplugin |
7 | 29 endif |
30 if exists("b:browsefilter") | |
33545
09e8f7ac05e0
runtime(tcsh): Update ftplugin (#13327)
Christian Brabandt <cb@256bit.org>
parents:
28010
diff
changeset
|
31 let s:browsefilter = b:browsefilter |
7 | 32 endif |
33 | |
33545
09e8f7ac05e0
runtime(tcsh): Update ftplugin (#13327)
Christian Brabandt <cb@256bit.org>
parents:
28010
diff
changeset
|
34 if (has("gui_win32") || has("gui_gtk")) && |
09e8f7ac05e0
runtime(tcsh): Update ftplugin (#13327)
Christian Brabandt <cb@256bit.org>
parents:
28010
diff
changeset
|
35 \ (!exists("b:browsefilter") || exists("b:csh_set_browsefilter")) |
09e8f7ac05e0
runtime(tcsh): Update ftplugin (#13327)
Christian Brabandt <cb@256bit.org>
parents:
28010
diff
changeset
|
36 let b:browsefilter = "tcsh Scripts (*.tcsh)\t*.tcsh\n" .. s:browsefilter |
09e8f7ac05e0
runtime(tcsh): Update ftplugin (#13327)
Christian Brabandt <cb@256bit.org>
parents:
28010
diff
changeset
|
37 let s:undo_ftplugin = "unlet! b:browsefilter | " .. s:undo_ftplugin |
7 | 38 endif |
39 | |
33545
09e8f7ac05e0
runtime(tcsh): Update ftplugin (#13327)
Christian Brabandt <cb@256bit.org>
parents:
28010
diff
changeset
|
40 let b:undo_ftplugin = s:undo_ftplugin |
7 | 41 |
42 let &cpo = s:save_cpo | |
3410
94601b379f38
Updated runtime files. Add Dutch translations.
Bram Moolenaar <bram@vim.org>
parents:
2034
diff
changeset
|
43 unlet s:save_cpo |