Mercurial > vim
annotate runtime/ftplugin/xs.vim @ 24303:17b49af76766 v8.2.2692
patch 8.2.2692: Vim9: locked script variable can be changed
Commit: https://github.com/vim/vim/commit/f5906aa7807e9a14159cbc09a141138a2a068ab2
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Apr 2 14:35:15 2021 +0200
patch 8.2.2692: Vim9: locked script variable can be changed
Problem: Vim9: locked script variable can be changed.
Solution: Check for locked value. (closes https://github.com/vim/vim/issues/8031)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 02 Apr 2021 14:45:06 +0200 |
parents | 42bf9264e64e |
children | d1fe80fb35e6 |
rev | line source |
---|---|
7 | 1 " Vim filetype plugin file |
4681
2eb30f341e8d
Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2531
diff
changeset
|
2 " Language: XS (Perl extension interface language) |
2eb30f341e8d
Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2531
diff
changeset
|
3 " Maintainer: vim-perl <vim-perl@googlegroups.com> |
2eb30f341e8d
Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2531
diff
changeset
|
4 " Homepage: http://github.com/vim-perl/vim-perl |
2eb30f341e8d
Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2531
diff
changeset
|
5 " Bugs/requests: http://github.com/vim-perl/vim-perl/issues |
5277 | 6 " Last Change: 2013-07-21 |
7 | 7 |
8 " Only do this when not done yet for this buffer | |
9 if exists("b:did_ftplugin") | |
2531 | 10 finish |
7 | 11 endif |
12 | |
13 " Just use the C plugin for now. | |
14 runtime! ftplugin/c.vim ftplugin/c_*.vim ftplugin/c/*.vim |