view runtime/syntax/scss.vim @ 20544:e8132bec4b0f v8.2.0826

patch 8.2.0826: Vim9: crash in :defcompile Commit: https://github.com/vim/vim/commit/ebc3de634f4c2893f34e41b4f8da1d59212e59ea Author: Bram Moolenaar <Bram@vim.org> Date: Tue May 26 11:08:28 2020 +0200 patch 8.2.0826: Vim9: crash in :defcompile Problem: Vim9: crash in :defcompile. Solution: Restart the loop after a call to compile_def_function() caused the hash table to resize.
author Bram Moolenaar <Bram@vim.org>
date Tue, 26 May 2020 11:15:04 +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: