Mercurial > vim
annotate runtime/ftplugin/scss.vim @ 31412:742b7bf2fefc v9.0.1039
patch 9.0.1039: using a <Cmd> mapping CmdlineChanged may be triggered twice
Commit: https://github.com/vim/vim/commit/bb393d8259af8aec095e96d81624a16ed9f25005
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Dec 9 12:21:50 2022 +0000
patch 9.0.1039: using a <Cmd> mapping CmdlineChanged may be triggered twice
Problem: Using a <Cmd> mapping CmdlineChanged may be triggered twice.
Solution: Count the number of times CmdlineChanged is triggered and avoid
doing it twice. (closes #116820
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 09 Dec 2022 13:30:05 +0100 |
parents | 43efa4f5a8ea |
children |
rev | line source |
---|---|
2415 | 1 " Vim filetype plugin |
2 " Language: SCSS | |
3 " Maintainer: Tim Pope <vimNOSPAM@tpope.org> | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
2415
diff
changeset
|
4 " Last Change: 2016 Aug 29 |
2415 | 5 |
6 if exists("b:did_ftplugin") | |
7 finish | |
8 endif | |
9 | |
10 runtime! ftplugin/sass.vim | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
2415
diff
changeset
|
11 setlocal comments=s1:/*,mb:*,ex:*/,:// |
2415 | 12 |
13 " vim:set sw=2: |