annotate runtime/ftplugin/tcsh.vim @ 28451:e015d650ea9f v8.2.4750

patch 8.2.4750: small pieces of dead code Commit: https://github.com/vim/vim/commit/b836658a04ee5456deca2ee523de9efe51252da3 Author: =?UTF-8?q?Dundar=20G=C3=B6c?= <gocdundar@gmail.com> Date: Thu Apr 14 20:43:56 2022 +0100 patch 8.2.4750: small pieces of dead code Problem: Small pieces of dead code. Solution: Remove the dead code. (Goc Dundar, closes https://github.com/vim/vim/issues/10190) Rename the qftf_cb struct member to avoid confusion.
author Bram Moolenaar <Bram@vim.org>
date Thu, 14 Apr 2022 21:45:02 +0200
parents c968191a8557
children 09e8f7ac05e0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim filetype plugin file
25973
3b34837f4538 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 3410
diff changeset
2 " Language: tcsh
3b34837f4538 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 3410
diff changeset
3 " Maintainer: Doug Kearns <dougkearns@gmail.com>
28010
c968191a8557 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 25973
diff changeset
4 " Previous Maintainer: Dan Sharp
25973
3b34837f4538 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 3410
diff changeset
5 " Last Change: 2021 Oct 15
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 if exists("b:did_ftplugin") | finish | endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 let s:save_cpo = &cpo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 set cpo-=C
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 " Define some defaults in case the included ftplugins don't set them.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 let s:undo_ftplugin = ""
25973
3b34837f4538 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 3410
diff changeset
14 let s:browsefilter = "csh Files (*.csh)\t*.csh\n" ..
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 \ "All Files (*.*)\t*.*\n"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 runtime! ftplugin/csh.vim ftplugin/csh_*.vim ftplugin/csh/*.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 let b:did_ftplugin = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 " Override our defaults if these were set by an included ftplugin.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 if exists("b:undo_ftplugin")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 let s:undo_ftplugin = b:undo_ftplugin
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 if exists("b:browsefilter")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 let s:browsefilter = b:browsefilter
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27
25973
3b34837f4538 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 3410
diff changeset
28 if (has("gui_win32") || has("gui_gtk"))
3b34837f4538 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 3410
diff changeset
29 let b:browsefilter="tcsh Scripts (*.tcsh)\t*.tcsh\n" .. s:browsefilter
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31
25973
3b34837f4538 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 3410
diff changeset
32 let b:undo_ftplugin = "unlet! b:browsefilter | " .. s:undo_ftplugin
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 let &cpo = s:save_cpo
3410
94601b379f38 Updated runtime files. Add Dutch translations.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
35 unlet s:save_cpo