Mercurial > vim
view runtime/syntax/scss.vim @ 28133:373f1afadfa3 v8.2.4591
patch 8.2.4591: cursor line not updated when a callback moves the cursor
Commit: https://github.com/vim/vim/commit/e7a74d53754765f22ef8ce71c915bb669d5f7f3f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 19 11:10:15 2022 +0000
patch 8.2.4591: cursor line not updated when a callback moves the cursor
Problem: Cursor line not updated when a callback moves the cursor.
Solution: Check if the cursor moved. (closes https://github.com/vim/vim/issues/9970)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 19 Mar 2022 12:15:04 +0100 |
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: