annotate runtime/syntax/confini.vim @ 30423:221cca379bd5 v9.0.0547

patch 9.0.0547: looping over empty out_loop[] entries Commit: https://github.com/vim/vim/commit/6d313bec535d9ccc24f6f82025280a61caad7416 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Sep 22 16:36:25 2022 +0100 patch 9.0.0547: looping over empty out_loop[] entries Problem: Looping over empty out_loop[] entries. Solution: Store the array size.
author Bram Moolenaar <Bram@vim.org>
date Thu, 22 Sep 2022 17:45:03 +0200
parents f8e9d5023bf6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
29066
f8e9d5023bf6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Vim syntax file
f8e9d5023bf6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Language: confini
f8e9d5023bf6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3
f8e9d5023bf6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 " Quit if a syntax file was already loaded
f8e9d5023bf6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5 if exists("b:current_syntax")
f8e9d5023bf6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 finish
f8e9d5023bf6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 endif
f8e9d5023bf6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8
f8e9d5023bf6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 " Use the cfg syntax for now, it's similar.
f8e9d5023bf6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 runtime! syntax/cfg.vim
f8e9d5023bf6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11
f8e9d5023bf6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 let b:current_syntax = 'confini'