Mercurial > vim
view runtime/syntax/scss.vim @ 22276:753452747ae5 v8.2.1687
patch 8.2.1687: Vim9: out of bounds error
Commit: https://github.com/vim/vim/commit/9b123d859053ad1fb91d38334726b9f24da39930
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Sep 14 22:39:11 2020 +0200
patch 8.2.1687: Vim9: out of bounds error
Problem: Vim9: out of bounds error.
Solution: Check that cmdidx is not negative.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 14 Sep 2020 22:45:03 +0200 |
parents | 5c40013d45ee |
children |
line wrap: on
line source
" Vim syntax file " Language: SCSS " Maintainer: Tim Pope <vimNOSPAM@tpope.org> " Filenames: *.scss " Last Change: 2019 Dec 05 if exists("b:current_syntax") finish endif runtime! syntax/sass.vim syn clear sassComment syn clear sassCssComment syn clear sassEndOfLineComment syn match scssComment "//.*" contains=sassTodo,@Spell syn region scssCssComment start="/\*" end="\*/" contains=sassTodo,@Spell hi def link scssCssComment scssComment hi def link scssComment Comment let b:current_syntax = "scss" " vim:set sw=2: