annotate runtime/ftplugin/fish.vim @ 34603:02fbe0bd9418 v9.1.0193

patch 9.1.0193: May leak memory in completion when ga_grow() fails Commit: https://github.com/vim/vim/commit/70e566b0bd29189b1baf3dc915b6a98de36fbded Author: zeertzjq <zeertzjq@outlook.com> Date: Thu Mar 21 07:11:58 2024 +0100 patch 9.1.0193: May leak memory in completion when ga_grow() fails Problem: May leak memory in completion when ga_grow() fails. Solution: Free "wca" when ga_grow() fails (zeertzjq). fixes: #14248 closes: #14249 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Thu, 21 Mar 2024 07:15:05 +0100
parents 02939ae3aaca
children 7c7432a53a6c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
32004
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Vim filetype plugin file
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Language: fish
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 " Maintainer: Nicholas Boyle (github.com/nickeb96)
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 " Repository: https://github.com/nickeb96/fish.vim
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5 " Last Change: February 1, 2023
33051
02939ae3aaca runtime: Set b:undo_ftplugin where missing (#12943)
Christian Brabandt <cb@256bit.org>
parents: 32004
diff changeset
6 " 2023 Aug 28 by Vim Project (undo_ftplugin)
32004
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 if exists("b:did_ftplugin")
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 finish
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 endif
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 let b:did_ftplugin = 1
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 setlocal iskeyword=@,48-57,_,192-255,-,.
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 setlocal comments=:#
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 setlocal commentstring=#%s
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16 setlocal formatoptions+=crjq
33051
02939ae3aaca runtime: Set b:undo_ftplugin where missing (#12943)
Christian Brabandt <cb@256bit.org>
parents: 32004
diff changeset
17
02939ae3aaca runtime: Set b:undo_ftplugin where missing (#12943)
Christian Brabandt <cb@256bit.org>
parents: 32004
diff changeset
18 let b:undo_ftplugin = "setl cms< com< fo< isk<"