Mercurial > vim
view runtime/ftplugin/xdefaults.vim @ 25658:483b40e87ca5 v8.2.3365
patch 8.2.3365: Vim9: cannot use option for all operations
Commit: https://github.com/vim/vim/commit/bf5f2878333da934a8bdc560bf0bcf9a88ff86a1
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 21 20:50:35 2021 +0200
patch 8.2.3365: Vim9: cannot use option for all operations
Problem: Vim9: cannot use option for all operations.
Solution: Recognize more operations. (closes https://github.com/vim/vim/issues/8779)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 21 Aug 2021 21:00:03 +0200 |
parents | 1218c5353e2b |
children | 7c7432a53a6c |
line wrap: on
line source
" Vim filetype plugin file " Language: X resources files like ~/.Xdefaults (xrdb) " Previous Maintainer: Nikolai Weibull <now@bitwi.se> " Latest Revision: 2008-07-09 if exists("b:did_ftplugin") finish endif let b:did_ftplugin = 1 let s:cpo_save = &cpo set cpo&vim let b:undo_ftplugin = "setl com< cms< inc< fo<" setlocal comments=s1:/*,mb:*,ex:*/,:! commentstring& inc& setlocal formatoptions-=t formatoptions+=croql let &cpo = s:cpo_save unlet s:cpo_save