Mercurial > vim
view runtime/compiler/fortran_F.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 | e1df51f68736 |
line wrap: on
line source
" Vim compiler file " Compiler: Fortran Company/NAGWare F compiler " URL: http://www.unb.ca/chem/ajit/compiler/fortran_F.vim " Maintainer: Ajit J. Thakkar (ajit AT unb.ca); <http://www.unb.ca/chem/ajit/> " Version: 0.2 " Last Change: 2004 Mar 27 if exists("current_compiler") finish endif let current_compiler = "fortran_F" if exists(":CompilerSet") != 2 " older Vim always used :setlocal command -nargs=* CompilerSet setlocal <args> endif let s:cposet=&cpoptions set cpoptions-=C CompilerSet errorformat=%trror:\ %f\\,\ line\ %l:%m, \%tarning:\ %f\\,\ line\ %l:%m, \%tatal\ Error:\ %f\\,\ line\ %l:%m, \%-G%.%# CompilerSet makeprg=F let &cpoptions=s:cposet unlet s:cposet