view runtime/plugin/spellfile.vim @ 18430:0388e1991ec5 v8.1.2209

patch 8.1.2209: LF in escape codes may be expanded to CR-LF Commit: https://github.com/vim/vim/commit/ec6f7350129f8c7809fd061f58a9eb6790c445a8 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Oct 24 17:49:27 2019 +0200 patch 8.1.2209: LF in escape codes may be expanded to CR-LF Problem: LF in escape codes may be expanded to CR-LF. Solution: Do not expand LF in escape codes to CR-LF. (closes https://github.com/vim/vim/issues/5107)
author Bram Moolenaar <Bram@vim.org>
date Thu, 24 Oct 2019 18:00:04 +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>'))