Mercurial > vim
view runtime/plugin/spellfile.vim @ 8859:03250bc0c63a v7.4.1717
commit https://github.com/vim/vim/commit/0e4c1de5560c7f8b4cae539ec8cff0949daba3fc
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Apr 7 21:40:38 2016 +0200
patch 7.4.1717
Problem: Leaking memory when opening a channel fails.
Solution: Unreference partials in job options.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 07 Apr 2016 21:45:05 +0200 |
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>'))