Mercurial > vim
view runtime/compiler/dot.vim @ 10904:c68775848f5f v8.0.0341
patch 8.0.0341: undo does not work properly when using completion
commit https://github.com/vim/vim/commit/d56a79d3396cf70861b7f739a3c400db91ce7b70
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 19 15:26:18 2017 +0100
patch 8.0.0341: undo does not work properly when using completion
Problem: When using complete() and typing a character undo is saved after
the character was inserted. (Shougo)
Solution: Save for undo before inserting the character.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 19 Feb 2017 15:30:04 +0100 |
parents | 3fc0f57ecb91 |
children | 80a9b43d299b |
line wrap: on
line source
" Vim compiler file " Compiler: ATT dot " Maintainer: Marcos Macedo <bar4ka@bol.com.br> " Last Change: 2004 May 16 if exists("current_compiler") finish endif let current_compiler = "dot" if exists(":CompilerSet") != 2 " older Vim always used :setlocal command -nargs=* CompilerSet setlocal <args> endif CompilerSet makeprg=dot\ -T$*\ \"%:p\"\ -o\ \"%:p:r.$*\"