Mercurial > vim
view src/testdir/test_eval_func.vim @ 18390:c34ee31d0878 v8.1.2189
patch 8.1.2189: syntax highlighting wrong for tab
Commit: https://github.com/vim/vim/commit/82260afb0ec358f50df9816511f480d455a1cdac
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Oct 20 13:16:22 2019 +0200
patch 8.1.2189: syntax highlighting wrong for tab
Problem: Syntax highlighting wrong for tab.
Solution: Don't clear syntax attribute n_extra is non-zero.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 20 Oct 2019 13:30:04 +0200 |
parents | 63b02fcf1361 |
children |
line wrap: on
line source
" Vim script used in test_eval.in. Needed for script-local function. func s:Testje() return "foo" endfunc let Bar = function('s:Testje') $put ='s:Testje exists: ' . exists('s:Testje') $put ='func s:Testje exists: ' . exists('*s:Testje') $put ='Bar exists: ' . exists('Bar') $put ='func Bar exists: ' . exists('*Bar')