annotate runtime/syntax/confini.vim @ 30970:6d6545c99597 v9.0.0820

patch 9.0.0820: memory leak with empty shell command Commit: https://github.com/vim/vim/commit/03d6e6f42b0deeb02d52c8a48c14abe431370c1c Author: Bram Moolenaar <Bram@vim.org> Date: Sat Oct 29 21:53:08 2022 +0100 patch 9.0.0820: memory leak with empty shell command Problem: Memory leak with empty shell command. Solution: Free the empty string.
author Bram Moolenaar <Bram@vim.org>
date Wed, 02 Nov 2022 11:18:50 +0100
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'