Mercurial > vim
annotate runtime/ftplugin/scss.vim @ 26974:fceb494e22de v8.2.4016
patch 8.2.4016: Vim9: incorrect error for argument that is shadowing var
Commit: https://github.com/vim/vim/commit/58493cfae255adec2d5b407593b82d07abcc0975
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 6 12:23:30 2022 +0000
patch 8.2.4016: Vim9: incorrect error for argument that is shadowing var
Problem: Vim9: incorrect error for argument that is shadowing var.
Solution: Ignore variable that is not in block where the function was
defined.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 06 Jan 2022 13:30:04 +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: |