Mercurial > vim
view runtime/compiler/jshint.vim @ 29579:f7a64755dbe9 v9.0.0130
patch 9.0.0130: cursor position wrong when inserting around virtual text
Commit: https://github.com/vim/vim/commit/1f4ee19eefecd8f70b7cbe8ee9db8ace6352e23e
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Aug 1 15:52:55 2022 +0100
patch 9.0.0130: cursor position wrong when inserting around virtual text
Problem: Cursor position wrong when inserting around virtual text.
Solution: Update the cursor position properly.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 01 Aug 2022 17:00:04 +0200 |
parents | 0db0640e16e0 |
children | e1df51f68736 |
line wrap: on
line source
" Vim compiler file " Compiler: JSHint " Maintainer: Doug Kearns <dougkearns@gmail.com> " Last Change: 2019 Jul 10 if exists("current_compiler") finish endif let current_compiler = "jshint" if exists(":CompilerSet") != 2 " older Vim always used :setlocal command -nargs=* CompilerSet setlocal <args> endif let s:cpo_save = &cpo set cpo&vim " CompilerSet makeprg=npx\ jshint\ --verbose CompilerSet makeprg=jshint\ --verbose CompilerSet errorformat=%f:\ line\ %l\\,\ col\ %c\\,\ %m\ (%t%n), \%-G%.%# let &cpo = s:cpo_save unlet s:cpo_save