Mercurial > vim
view runtime/plugin/spellfile.vim @ 18348:9ea364ccf216 v8.1.2168
patch 8.1.2168: heredoc assignment not skipped in if block
Commit: https://github.com/vim/vim/commit/b1ba9abcb385b0a5355788a7eefef78ec68d2f65
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Oct 16 23:34:42 2019 +0200
patch 8.1.2168: heredoc assignment not skipped in if block
Problem: Heredoc assignment not skipped in if block.
Solution: Check if "skip" is set. (closes https://github.com/vim/vim/issues/5063)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 16 Oct 2019 23:45:03 +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>'))