Mercurial > vim
view runtime/ftplugin/toml.vim @ 28749:4a9fdf708575 v8.2.4899
patch 8.2.4899: with latin1 encoding CTRL-W might go before the cmdline
Commit: https://github.com/vim/vim/commit/ef02f16609ff0a26ffc6e20263523424980898fe
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 7 10:49:10 2022 +0100
patch 8.2.4899: with latin1 encoding CTRL-W might go before the cmdline
Problem: With latin1 encoding CTRL-W might go before the start of the
command line.
Solution: Check already being at the start of the command line.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 07 May 2022 12:00:03 +0200 |
parents | 3b34837f4538 |
children | ef1c4fa8fc11 |
line wrap: on
line source
" Vim filetype plugin " Language: TOML " Homepage: https://github.com/cespare/vim-toml " Maintainer: Aman Verma " Author: Kevin Ballard <kevin@sb.org> " Last Change: Sep 21, 2021 if exists('b:did_ftplugin') finish endif let b:did_ftplugin = 1 let s:save_cpo = &cpo set cpo&vim let b:undo_ftplugin = 'setlocal commentstring< comments<' setlocal commentstring=#\ %s setlocal comments=:# let &cpo = s:save_cpo unlet s:save_cpo " vim: et sw=2 sts=2