Mercurial > vim
view runtime/plugin/spellfile.vim @ 8613:3dacf96b4020 v7.4.1596
commit https://github.com/vim/vim/commit/ba8cd122ef60a7c71a7723be0d635f0c2d4556ab
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 19 14:16:39 2016 +0100
patch 7.4.1596
Problem: Memory leak. (Coverity)
Solution: Free the pattern.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 19 Mar 2016 14:30:05 +0100 |
parents | 8157079cea85 |
children | 4027cefc2aab |
line wrap: on
line source
" Vim plugin for downloading spell files " Maintainer: Bram Moolenaar <Bram@vim.org> " Last Change: 2006 Feb 01 " Exit quickly when: " - this plugin was already loaded " - when 'compatible' is set " - some autocommands are already taking care of spell files if exists("loaded_spellfile_plugin") || &cp || exists("#SpellFileMissing") finish endif let loaded_spellfile_plugin = 1 " The function is in the autoload directory. autocmd SpellFileMissing * call spellfile#LoadFile(expand('<amatch>'))