annotate runtime/ftplugin/masm.vim @ 27464:a14c4d3e3260 v8.2.4260

patch 8.2.4260: Vim9: can still use a global function without g: Commit: https://github.com/vim/vim/commit/848faddb870f3ba4d84fcacd1cccb5cdbbfd9c41 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 30 15:28:30 2022 +0000 patch 8.2.4260: Vim9: can still use a global function without g: Problem: Vim9: can still use a global function without g: at the script level. Solution: Also check for g: at the script level. (issue #9637)
author Bram Moolenaar <Bram@vim.org>
date Sun, 30 Jan 2022 16:30:04 +0100
parents 7f88f6a3ed4c
children 4d76b3e07c07
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
20379
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Vim filetype plugin file
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Language: Microsoft Macro Assembler (80x86)
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 " Maintainer: Wu Yongwei <wuyongwei@gmail.com>
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 " Last Change: 2020-05-09 23:02:05 +0800
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 if exists("b:did_ftplugin")
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 finish
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 endif
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 let b:did_ftplugin = 1
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 let s:cpo_save = &cpo
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 set cpo&vim
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 let b:undo_ftplugin = "setl iskeyword<"
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16 setlocal iskeyword=@,48-57,_,36,60,62,63,@-@
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18 let &cpo = s:cpo_save
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
19 unlet s:cpo_save