Mercurial > vim
view runtime/ftplugin/css.vim @ 31479:0c0b78aa7ae3 v9.0.1072
patch 9.0.1072: screenpos() column result in fold may be too small
Commit: https://github.com/vim/vim/commit/ba2d19193201277397c25c1f5a134ea042542555
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sun Dec 18 12:28:59 2022 +0000
patch 9.0.1072: screenpos() column result in fold may be too small
Problem: screenpos() column result in fold may be too small.
Solution: Add space of 'number', sign column, etc. (closes https://github.com/vim/vim/issues/11715)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 18 Dec 2022 13:30:05 +0100 |
parents | fab58304f77d |
children | 7c7432a53a6c |
line wrap: on
line source
" Vim filetype plugin file " Language: CSS " Maintainer: Doug Kearns <dougkearns@gmail.com> " Previous Maintainer: Nikolai Weibull <now@bitwi.se> " Last Change: 2020 Dec 21 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< isk<" setlocal comments=s1:/*,mb:*,ex:*/ commentstring& setlocal formatoptions-=t formatoptions+=croql setlocal omnifunc=csscomplete#CompleteCSS setlocal iskeyword+=- let &l:include = '^\s*@import\s\+\%(url(\)\=' let &cpo = s:cpo_save unlet s:cpo_save