view runtime/plugin/spellfile.vim @ 22353:889143dbe2cd v8.2.1725

patch 8.2.1725: not all Pascal files are recognized Commit: https://github.com/vim/vim/commit/44aaf5416e0121500dd52b7cab306d7618b4fe53 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 22 19:15:31 2020 +0200 patch 8.2.1725: not all Pascal files are recognized Problem: Not all Pascal files are recognized. Solution: Add filetype patterns. (Doug Kearns)
author Bram Moolenaar <Bram@vim.org>
date Tue, 22 Sep 2020 19:30: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>'))