Mercurial > vim
comparison runtime/ftplugin/readline.vim @ 31430:e5e95e8c78a7
Update runtime files
Commit: https://github.com/vim/vim/commit/7db29e4b5c3a347d24ca5062ddaa5cf4c4d54b9c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Dec 11 15:53:04 2022 +0000
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 11 Dec 2022 17:00:05 +0100 |
parents | 1218c5353e2b |
children | d46f974fd69e 75c283beb74f |
comparison
equal
deleted
inserted
replaced
31429:5dbfb653d09b | 31430:e5e95e8c78a7 |
---|---|
1 " Vim filetype plugin file | 1 " Vim filetype plugin file |
2 " Language: readline(3) configuration file | 2 " Language: readline(3) configuration file |
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se> | 3 " Maintainer: Doug Kearns <dougkearns@gmail.com> |
4 " Latest Revision: 2008-07-09 | 4 " Previous Maintainer: Nikolai Weibull <now@bitwi.se> |
5 " Last Change: 2022 Dec 09 | |
5 | 6 |
6 if exists("b:did_ftplugin") | 7 if exists("b:did_ftplugin") |
7 finish | 8 finish |
8 endif | 9 endif |
9 let b:did_ftplugin = 1 | 10 let b:did_ftplugin = 1 |
10 | 11 |
11 let s:cpo_save = &cpo | 12 let s:cpo_save = &cpo |
12 set cpo&vim | 13 set cpo&vim |
13 | 14 |
15 setlocal comments=:# | |
16 setlocal commentstring=#\ %s | |
17 setlocal formatoptions-=t formatoptions+=croql | |
18 | |
14 let b:undo_ftplugin = "setl com< cms< fo<" | 19 let b:undo_ftplugin = "setl com< cms< fo<" |
15 | 20 |
16 setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql | 21 if exists("loaded_matchit") && !exists("b:match_words") |
22 let b:match_ignorecase = 0 | |
23 let b:match_words = '$if:$else:$endif' | |
24 let b:undo_ftplugin ..= " | unlet! b:match_ignorecase b:match_words" | |
25 endif | |
26 | |
27 if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") | |
28 let b:browsefilter = "Readline Intialization Files (inputrc .inputrc)\tinputrc;*.inputrc\n" .. | |
29 \ "All Files (*.*)\t*.*\n" | |
30 let b:undo_ftplugin ..= " | unlet! b:browsefilter" | |
31 endif | |
17 | 32 |
18 let &cpo = s:cpo_save | 33 let &cpo = s:cpo_save |
19 unlet s:cpo_save | 34 unlet s:cpo_save |
35 | |
36 " vim: nowrap sw=2 sts=2 ts=8 noet: |