Mercurial > vim
view runtime/ftplugin/css.vim @ 15914:c94b46f98b1a v8.1.0963
patch 8.1.0963: illegal memory access when using 'incsearch'
commit https://github.com/vim/vim/commit/4a7d2d3b407ed695450bb7f43166e2f2722a6836
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Feb 21 16:25:50 2019 +0100
patch 8.1.0963: illegal memory access when using 'incsearch'
Problem: Illegal memory access when using 'incsearch'.
Solution: Reset highlight_match when changing text. (closes https://github.com/vim/vim/issues/4022)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 21 Feb 2019 16:30:15 +0100 |
parents | 1218c5353e2b |
children | 0db0640e16e0 |
line wrap: on
line source
" Vim filetype plugin file " Language: CSS " 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< ofu<" setlocal comments=s1:/*,mb:*,ex:*/ commentstring& setlocal formatoptions-=t formatoptions+=croql setlocal omnifunc=csscomplete#CompleteCSS let &l:include = '^\s*@import\s\+\%(url(\)\=' let &cpo = s:cpo_save unlet s:cpo_save