1
0
mirror of https://github.com/amix/vimrc synced 2025-07-27 23:45:00 +08:00

Update Coc.nvim

This commit is contained in:
Kurtis Moxley
2022-05-27 15:57:56 +08:00
parent 15599f5565
commit 71e3f2fa49
18 changed files with 1247 additions and 542 deletions

View File

@ -2,7 +2,7 @@ scriptencoding utf-8
let s:root = expand('<sfile>:h:h:h')
let s:is_win = has('win32') || has('win64')
let s:is_vim = !has('nvim')
let s:vim_api_version = 29
let s:vim_api_version = 30
function! coc#util#remote_fns(name)
let fns = ['init', 'complete', 'should_complete', 'refresh', 'get_startcol', 'on_complete', 'on_enter']
@ -135,8 +135,8 @@ function! coc#util#diagnostic_info(bufnr, checkInsert) abort
endfunction
function! coc#util#open_file(cmd, file)
let file = fnameescape(a:file)
execute a:cmd .' '.file
execute a:cmd .' '.fnameescape(fnamemodify(a:file, ':~:.'))
return bufnr('%')
endfunction
function! coc#util#job_command()