Mercurial > vim
view runtime/syntax/confini.vim @ 29208:b8dc0a76911e v8.2.5123
patch 8.2.5123: using invalid index when looking for spell suggestions
Commit: https://github.com/vim/vim/commit/156d3911952d73b03d7420dc3540215247db0fe8
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 18 14:09:08 2022 +0100
patch 8.2.5123: using invalid index when looking for spell suggestions
Problem: Using invalid index when looking for spell suggestions.
Solution: Do not decrement the index when it is zero.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 18 Jun 2022 15:15:04 +0200 |
parents | f8e9d5023bf6 |
children |
line wrap: on
line source
" Vim syntax file " Language: confini " Quit if a syntax file was already loaded if exists("b:current_syntax") finish endif " Use the cfg syntax for now, it's similar. runtime! syntax/cfg.vim let b:current_syntax = 'confini'