Mercurial > vim
annotate runtime/ftplugin/css.vim @ 34188:6315b95cba59 v9.1.0045
patch 9.1.0045: --remote-* does not ignore `wilidignore`
Commit: https://github.com/vim/vim/commit/cc979b49dcb2392a2c6767d3a7e05a6e07ed7201
Author: Christian Brabandt <cb@256bit.org>
Date: Tue Jan 23 21:13:58 2024 +0100
patch 9.1.0045: --remote-* does not ignore `wilidignore`
Problem: --remote-silent applies the wildignore option
to each argument, which may result in "E479: No match"
(hebaronson)
Solution: temporarily reset 'wildignore' setting when building
the :drop command
closes: #13835
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 23 Jan 2024 21:30:03 +0100 |
parents | fab58304f77d |
children | 7c7432a53a6c |
rev | line source |
---|---|
7 | 1 " Vim filetype plugin file |
21825 | 2 " Language: CSS |
3 " Maintainer: Doug Kearns <dougkearns@gmail.com> | |
4 " Previous Maintainer: Nikolai Weibull <now@bitwi.se> | |
23305 | 5 " Last Change: 2020 Dec 21 |
7 | 6 |
7 if exists("b:did_ftplugin") | |
8 finish | |
9 endif | |
10 let b:did_ftplugin = 1 | |
11 | |
1698 | 12 let s:cpo_save = &cpo |
13 set cpo&vim | |
14 | |
23305 | 15 let b:undo_ftplugin = "setl com< cms< inc< fo< ofu< isk<" |
7 | 16 |
375 | 17 setlocal comments=s1:/*,mb:*,ex:*/ commentstring& |
389 | 18 setlocal formatoptions-=t formatoptions+=croql |
1220 | 19 setlocal omnifunc=csscomplete#CompleteCSS |
23305 | 20 setlocal iskeyword+=- |
7 | 21 |
375 | 22 let &l:include = '^\s*@import\s\+\%(url(\)\=' |
1698 | 23 |
24 let &cpo = s:cpo_save | |
25 unlet s:cpo_save |