annotate runtime/ftplugin/ch.vim @ 17638:9ffec4eb8d33
v8.1.1816
patch 8.1.1816: cannot use a user defined function as a method
commit https://github.com/vim/vim/commit/fcfe1a9b8950b8b211ab3b24d84b17c6847ea43f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 4 23:04:39 2019 +0200
patch 8.1.1816: cannot use a user defined function as a method
Problem: Cannot use a user defined function as a method.
Solution: Pass the base as the first argument to the user defined function
after "->". (partly by FUJIWARA Takuya)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Sun, 04 Aug 2019 23:15:05 +0200 |
parents |
3fc0f57ecb91 |
children |
|
rev |
line source |
7
|
1 " Vim filetype plugin file
|
|
2 " Language: Ch
|
|
3 " Maintainer: SoftIntegration, Inc. <info@softintegration.com>
|
|
4 " URL: http://www.softintegration.com/download/vim/ftplugin/ch.vim
|
|
5 " Last change: 2004 May 16
|
|
6 " Created based on cpp.vim
|
|
7 "
|
|
8 " Ch is a C/C++ interpreter with many high level extensions
|
|
9 "
|
|
10
|
|
11 " Only do this when not done yet for this buffer
|
|
12 if exists("b:did_ftplugin")
|
|
13 finish
|
|
14 endif
|
|
15
|
|
16 " Behaves just like C
|
|
17 runtime! ftplugin/c.vim ftplugin/c_*.vim ftplugin/c/*.vim
|