history.md
Notable changes of coc.nvim:
extensionDependencies support, declare dependencies on other extensions: "extensionDependencies": ["extension-1", "extension-2"]:CocList notificationsSnippetTextEdit interface and namespace.TextDocumentEdit.edits array now allows SnippetTextEdit.workspace.applyEdits() now accepts SnippetTextEdit.StringValue to represent snippet strings (kind: 'snippet', value: string).:h coc-inlineCompletion
InlineCompletionItem InlineCompletionList interface and namespace.InlineCompletionTriggerKind.InlineCompletionContext InlineCompletionItemProvider.languages.registerInlineCompletionItemProvider().LanguageClient.getFeature('textDocument/inlineCompletion').Middleware.provideInlineCompletionItems.metadata to ApplyWorkspaceEditParams.metadata parameter to workspace.applyEdit().ErrorHandler.error() and ErrorHandler.closed() return types
ErrorHandlerResult and CloseHandlerResult (include
action, optional message, optional handled flag)error() and closed() may now return these richer results instead of bare enums.traceOutputChannel to LanguageClientOptions.sendRequest and sendNotification.textSynchronization.delayOpenNotifications was added to
LanguageClientOptions so that didOpen can wait until a document is
actually visible (or until another message is sent).middleware.provideTextDocumentContent of LanguageClient.LanguageClient.getFeature('workspace/textDocumentContent').transport of Executable server option. Transport could be
pipe and socketeditor.codeActionsOnSave, the same as
VSCode.winid (current window ID) to CursorHold and CursorHoldI events handler.ModeChanged event and mode property to events.start_incl and end_incl options works on neovim.coc#ui#open_terminal, close the terminal window on
terminal finish, make the behavior on vim9 the same as nvim.snippetManager.insertBufferSnippets().coc#pum#select(), see :h coc#pum#select(), functions used as expr
key-mappings should be not affected.suggest.segmentChinese replaced with
suggest.segmenterLocales, see :h coc-config-suggest-segmenterLocales.CompleteStart event to events module.-level argument support to diagnostics list.inlayHint.maximumLength, default to 0WindowVisible event to events.onVisible() support to BufferSyncItem.coc#vtext#set() for set multiple virtual texts.WindowVisible event.nvim.createAugroup(), nvim.createAutocmd() and nvim.deleteAutocmd().buffer once and nested support to workspace.registerAutocmd().editor.autocmdTimeout.$COC_VIM_CHANNEL_ENABLE for enable channel log on vim9.nvim.callVim(), nvim.evalVim() and nvim.exVim().suggest.floatConfig and suggest.pumFloatConfig.CocStatusChange autocmd to avoid cursor vanish caused by redraws.coc#compat#call for call api functions on vim or neovim.special to interface KeymapOption (vim9 only).cmd option to interface KeymapOption.KeymapOption support to workspace.registerLocalKeymap()right_gravity property to VirtualTextOption.disposables argument to workspace.registerAutocmd()window.getVisibleRanges() to typings.w:cocViewId to upper case letters, see :h w:cocViewIdworkspace.removeEmptyWorkspaceFolder default to false.editor.codeActionsOnSave, similar to VSCode.placeHolderto placeholder for QuickPickOptions like VSCode (old
option still works).DocumentSelector, could also be DocumentFilter or
string, not only array of them.context.extensionUri like VSCode.document property to DidChangeTextDocumentParams, like VSCode.before() and after() methods to LinkedMap, same as VSCode.onFocus and match() to DiagnosticPullOptions.onFocus to DiagnosticPullMode and export DiagnosticPullModeInlineValuesProvider, DiagnosticProvider to typings.LanguageClient class, including
createDefaultErrorHandler(), state middleware isInDebugMode
isRunning() dispose() getFeature()bufnr to WinScrolled event.:h coc-snippets and #5282.coc.preferences.autoApplySingleQuickfix configurationextensions.recommendations configuration.t m s.workspace.fixWin32unixFilepath for filepath convert.document.enableInlayHint and document.disableInlayHint.workbench.action.openSettingsJson.workspace.isTrusted property.workspace.openLocalConfig.:h coc-config-fileSystemWatch.CocJumpPlaceholder call CocActionAsync('showSignatureHelp') not exists.global.formatFilepath function for customize filepath displayed in symbols & location list.Use extensions section for extension related configurations. Deprecated configuration sections: coc.preferences.extensionUpdateCheck, coc.preferences.extensionUpdateUIInTab and coc.preferences.silentAutoupdate.
diagnostic.displayByVimDiagnostic configuration, set diagnostics to vim.diagnostic on nvim, and prevent coc.nvim's handler to display in virtualText/sign/floating etc.diagnostic.floatConfigensureDocument and hasProvider support to accept specified bufnrg:coc_highlight_maximum_count default to 500 for better performance.uriConverter.code2Protocol for extensionscodeLens.displayCocAction('removeWorkspaceFolder').coc.preferences.formatterExtension configurationNVIM_APPNAME supportinlayHint.position configuration, with inline and eol optionscoc.preferences.extensionUpdateUIInTab to open CocUpdate UI in tabsuggest.reTriggerAfterIndent to control re-trigger or not after indent changesCocInstall to install extension from Github in development modelanguage-overridable--workspace-folder argument for diagnostics lists--buffer argument for diagnostics listsg:coc_highlight_maximum_count default to 200CocSem + type to CocSemType + typeCocSem + modifier + type to CocSemTypeMod + type + modifieroutline.autoHide configuration to automatically hide the outline window when an item is clickedg:coc_disable_mappings_check to disable key-mappings checkingsuggest.chineseSegments configuration to control whether to divide Chinese sentences into segments or notg:coc_list_preview_filetype.inlayHint.subSeparatorinlayHint.typeSeparatorinlayHint.parameterSeparatorcancellable progress as notification without check
notification.statusLineProgress.source actions when request code actions with range.coc#status().encoding and CancellationToken support for runCommand function.vscode.open command work with file uri.workspace.registerExprKeymap().suggest.filterOnBackspace configuration.maxRestartCount configuration for configured language server.URI as param for API workspace.jumpTo().CocSem highlight group, replace invalid character of token types
and token modifiers with underline.Buffer.setKeymap and Buffer.deleteKeymap with vim and neovim support.workspace.registerLocalKeymap accept bufnr argument.window scoped used by folder configuration file, like
VSCode.getHover action.switchConsole method to LanguageClientsuggest.insertMode.workspace.jumpTo().g:coc_open_url_command.contributes.configuration from extension as array.g:coc_channel_timeout.InputBox and QuickPick.triggerOnly option property for vim completion source.getExtensionById from extensions module.Use CTRL-R expression instead of timer for pum related functions:
coc#pum#insert()coc#pum#one_more()coc#pum#next()coc#pum#prev()coc#pum#stop()coc#pum#cancel()coc#pum#confirm()links.enable and links.highlight.luaeval.document.toggleCodeLens.CocAction('addWorkspaceFolder').codeLens.subseparator default changed to |, like VSCode.coc.preferences.enableGFMBreaksInMarkdownDocument, default to true<Plug>(coc-codeaction-selected) and <Plug>(coc-codeaction-refactor-selected).suggest.fixInsertedWord, insert word would always
be fixed.suggest.invalidInsertCharacters default to line break
characters.<esc> on float preview window.feedkeys! to list.list.floatPreview.CocAction('snippetInsert') for snippet insert from vim plugin.isSnippet to be
true and insertText to be snippet text, when on_complete function exists,
the snippet expand should be handled completion source.window.createQuickPick() API that show QuickPick by default, call show()colors.enable, mark colors.filetypes deprecated.document.toggleColors for toggle colors of current buffer.suggest.filterGracefulsuggest.enableFloat back.workspace.rootPatterns replace coc.preferences.rootPatterns, old
configuration still works when exists.--height support to CocList."snippet.choicesMenuPicker"coc#complete_indent() and
coc#_do_complete()coc#string#character_index() coc#string#byte_index() and
coc#string#character_length().coc#pum#one_more()suggest.maxCompleteItemCount default to 256.g:coc_service_initialized to 0 before service restart.workspace.getDisplayWidth.inlayHint.display.CocFloatActive for highlight active parameters.${name} for ultisnip snippets the same behavior as
Ultisnip.vim.binarySearch and isFalsyOrEmpty functions for array.suggest.localityBonus works like VSCode, using selection ranges.workspace.computeWordRanges.onDidChangeConfiguration event fired when workspace folder changed.suggest.detailMaxLength, use suggest.labelMaxLength instead.inlayHint.filetypes, use inlayHint.enable with scoped languages instead.semanticTokens.filetypes, use semanticTokens.enable with scoped languages instead.workspaceFolderValue instead of workspaceValue for ConfigurationInspect returned by WorkspaceConfiguration.inspect().onDidFilterStateChange and onDidCursorMoved to TreeView.autoPreview for outline.diagnostic.virtualTextFormat.workspace.writeHeapSnapshot.b:coc_force_attach.DiagnosticSign* highlight groups when possible.DiagnosticUnderline* highlight groups when possible.LineBuilder class.doQuickfix action.CocFloating, use border and Normal highlight when reversed.CocInlayHint use background of SignColumn.document.toggleInlayHint.CocMenuSel use background of PmenuSel."list.smartCase"EasyMotion#is_active, use autocmd to disable linting.completeOpt from workspace.env."diagnostic.virtualTextAlign".inlayHint.filetypes.RelativePattern support for workspace.createFileSystemWatcher().relativePatternSupport for DidChangeWatchedFiles (LSP 3.17).doComplete().window.createFloatFactory(), deprecated FloatFactory class.labelDetails field of CompleteItem(LSP 3.17).triggerKind to CodeActionContext, export CodeActionTriggerKind.:h coc-pullDiagnostics.CocAction('codeAction').suggest.selection.suggest.selection, like VSCode.CocMenuSel.CocListLine and CocListSearch.workspace.openOutputCommand.g:node_client_debug enabled.progressOnInitialization for language client by default.repeat#set for commands that make changes only.workspace.applyEdits().workspace.undo and workspace.redo.coc.preferences.promptWorkspaceEdit.CocAction and CocFix.content support to window.showMenuPicker()QuickPick module.window.showQuickPick() and window.createQuickPick().title, loading & borderhighlight to InputBoxInputOption support to window.requestInputwindow.createInputBox().notification.minProgressWidthnotification.preferMenuPickersource in notification windows.outline.switchSortKey, default to <C-s>.outline.detailAsDescription, default to true.g:coc_max_treeview_width.position: 'center' support to window.showMenuPicker()window.showQuickpick().outline.autoWidth, default to true.window.showDialog()) on neovim.languages.registerInlayHintsProvider() for inlay hint support.LinkedEditing supportWinScrolled event to events.recentUsedByPrefix.coc#snippet#prev() and coc#snippet#next().document.checkBuffer.region param to window.diffHighlights().workspace.onDidOpenTextDocument fire contentChanges as empty array when
document changed with same lines.CompleteDone cancel next completion.<C-n> and <C-p> during completion.joinUndo and move with document.applyEdits().suggest.triggerCompletionWait default to 0.TextChangedP.suggest.echodocSupport.<C-e>.coc.source.around.firstMatch and coc.source.buffer.firstMatch.coc.source.buffer.ignoreGitignore not works<sapce><bs> for cancel completion.WinClosed event fires on CursorHold to support vim8.TabNew and TabClose.snippetManager.insertSnippet() and
snippetManager.resolveSnippet()./a (ascii option).$0, $1 etc.\u \l \U \L \E \n \t(?no:text:other text)workspace.ignoredFiletypes default value to []window.activeTextEditor, window.visibleTextEditors.window.onDidChangeActiveTextEditor window.onDidChangeVisibleTextEditors.RelativePattern.workspace.findFiles().workspace.openTextDocument()Workspace.getRelativePath().window.terminals window.onDidOpenTerminal window.onDidCloseTerminal
and window.createTerminal.exitStatus property to Terminal.strictEnv in TerminalOptions on neovim.workspace.createTerminal(),
workspace.onDidOpenTerminal and workspace.onDidCloseTerminalhighlights for Documentation in float window.diagnostic.highlightOffset.events.race.suggest.triggerCompletionWait to 50.pumvisible property to events.window.showMenuPicker().dialog.shortcutHighlight for shortcut highlight.list.menuAction for choose action by menu picker.nvim_error_event.nvim.lua() which replace nvim.executeLua() to typings.d.ts.MenuItem with disabled property for window.showMenuPicker:CocLocalConfig to open configuration file of current workspace
folder.version from textDocument/publishDiagnostics notification's parameter.codeDescription of diagnostics by add href to float window.showDocument request from language server.label from DocumentSymbolOptions in outline tree.openLink action.activeParameter from signature information.trimTrailingWhitespace, insertFinalNewline and trimFinalNewlines to FormattingOptions.links.tooltip, default to false.--reverse option to list.<esc> key-mapping to cancel list in preview window (neovim only).disableWorkspaceFolders disableDiagnostics and disableCompletion
from language client option.documentHighlight.timeout.tabPersist option to ListAction.refactor to LocationListdiagnostics.virtualTextLevel.suggest.numberSelectnvim_buf_set_text when possible to keep extmarks.workspace.getSelectedRange workspace.selectRange to window
module, show deprecated warning when using old methods.gravity with api nvim_buf_set_extmark because highlight bug, wait neovim fix.CocSem_ to CocSem.semanticTokens.filetypessemanticTokens.filetypes.semanticTokens.highlightPriority.semanticTokens.incrementTypes.semanticTokens.combinedModifiers.workspace.ignoredFolders.workspace.workspaceFolderFallbackCwd.semanticTokens.refreshCurrent.semanticTokens.inspect.inspectSemanticToken.semanticTokens.checkCurrent to show highlight information.workspace.resolveRootFolder.buffer.updateHighlights to support priority, combine, start_incl and end_incl.diagnostic.highlightPriority.colors.filetypes and colors.highlightPriority.codeLens.position.suggest.selection.codeLens.separator now defaults to "" and will be placed above lines on neovim >= 0.6.0 .extensions.forceUpdateAll.<Plug>(coc-refactor) for refactor windowg:coc_extension_rootg:coc_quickfix_open_commandCocHighlightText link to CursorColumn by default.$XDG_RUNTIME_DIR when exists.<PageUp> and <PageDown> support for list, #825.coc#add_command().disableDiagnostics & disableCompletion to languageclient configuration.signature.triggerSignatureWait configuration.codeAction support.prompt.paste action to list.codeAction action.suggest.floatEnable configuration.editor.action.organizeImport command.:CocAction and :CocFix commands.codeActions action.<Plug> keymaps.CocRegistNotification() function.suggest.disableMenuShortcut configuration.<esc> keymap to list window.list.previewSplitRight configuration.triggerOnly property to source.workspace.renameCurrentFile command.FloatBuffer, FloatFactory and URI to exports.resolveItem support to list.additionalSchemes for configured language server.diagnostic.level not work.--strictMatch option of list renamed to --strictsuggest.reloadPumOnInsertChar support removed.Task module.getCurrentFunctionSymbol action.list.source.outline.ctagsFiletypes setting.suggest.disableMenu and suggest.disableMenu settings.equal support for complete items.selectionRanges of LSP.coc#on_enter() for formatOnType and add new lines on enter.BufWritePre.<Plug>_ to <Plug>CocRefresh.workspace.resolveRootFolder.diagnostic.joinMessageLines setting.suggest.completionItemKindLabels setting.memento support for extension.workspace.getSelectedRange.Terminal module.workbench.action.reloadWindow.diagnostic.checkCurrentLine.signature.target not work.signature.commands.executeCommand return promise.coc.preferences.signatureHelpTarget.diagnostic.maxWindowHeight & signature.maxWindowHeight.diagnostic.enableSign.$COC_NO_PLUGINS.<Plug>(coc-float-hide) and <Plug>(coc-float-jump).coc.preferences.enableFloatHighlight.CocHighlightText.b:coc_suggest_disable.b:coc_suggest_blacklist.diagnostic.messageTarget.workspace.applyEdits.suggest.reloadPumOnInsertChar to enable it.nvim_select_popupmenu_item for number select completion.coc#on_enter() for notify enter pressed.coc.preferences.useQuickfixForLocations.g:coc_watch_extensions for automatic reload extensions.editor.action.doCodeAction.workspace.registerKeymap.<esc> of CocList can't be remapped any more.yarnpkg command instead of yarn when possible.noinsert is removed from completeopt when noselect is
enabled, <CR> would break line by default.diagnostic.refreshAfterSave.suggest.detailMaxLength changed to 100.workspace.registerKeymap changed.suggest.detailField.coc-snippets-expand-jumpsource option for completion start.sources.createSource method.completeopt according to suggest.enablePreview.-sync option for :CocInstallcoc#util#clearmatches signature changed.CursorHoldI.coc#util#install changed to synchronize by default.coc.preferences.openResourceCommand.:CocUpdateSync.coc.preferences.detailMaxLength for slice detail on completion menu.ctags as fallback of document symbols list.disableSyntaxes support for completion sources.isProgress of StatusBarItemCocUpdatecoc.preferences.previewAutoClose, default true.workspace.add registerAutocmd.coc.preferences.diagnostic.virtualTextLines.coc.preferences.diagnostic.echoMessage changed to enum.coc.preferences.diagnostic.refreshOnInsertModeMru module.filterLabel.findLocations not work with nest locations.coc.preferences.diagnostic.virtualText.&rtp change.g:coc_user_config and g:coc_global_extensionsg:coc_start_at_startup support.coc.preferences.invalidInsertCharacters.coc.preferences.snippetStatusText.coc#_insert_key() for insert keymap.workspace.registerExprKeymap().vim-node-rpc abnormal exist.requireRootPattern to languageserver configuration.righleft set to 1 on neovim.g:rooter_patterns is removed.coc.preferences.rootPatternsTM_SELECTED_TEXT and CLIPBOARD support for snippets.coc-snippets for
extension snippets.coc.action.insertSnippetformatOnType.CocJumpPlaceholder not firedenv opinion for registered command languageserver.coc#_select_confirm() for trigger select and confirm.coc.preferences.numberSelect.workspace.watchGlobal and workspace.watchOption methods.TextChangedP with vim.labelOffsetSupport wrong position.workspace.clearWatchman.quickfixs, doCodeAction and doQuickfix actions.g:vim_node_rpc_args for debug purpose.coc#add_extension() for specify extensions to install.execArgv and runtime not work for node language server.nvim_call_atomic.vim-node-rpc now upgrade in background.ignoredRootPaths to languageserver option.client.vim for create clients.completeResolve.set virtualedit=all.fixInsertedWord fix inserted word which ends with word
after.onCompleteSelect is removed.workspace.registerKeymap for register keymap.RevealOutputChannelOn not default to never.additionalTextEdits on neovimRevealOutputChannelOn of language client default to
never.displayByAle not clearing diagnostics.vim-node-rpc update on vim.Resolver module.WorkspaceEdit, support 0 as document version and merge
edits for same document.CocJumpPlaceholder autocmd.rootPatterns to languageserver config.coc.preferences.hoverTarget, support use echo.coc.preferences.diagnostic.displayByAle for use ale to display errors.coc.preferences.extensionUpdateCheck for control update check of
extensions.coc#config for set configuration in vim.tabSize by use shiftwidth option.documentColors request.vim-node-rpc service not work on windows vim.codeLens not works.open_terminal not works on vim.:CocInfo command.formatexprapplyAdditionalLEdits on item selected by <esc>coc.preferences.useQuickfixForLocationscoc.preferences.messageLevelg:coc_denite_quickfix_actioncommitCharacter.data of complete item conflict.coc.preferences.diagnostic.locationlist not work.coc.preference.preferCompleteThanJumpPlaceholder.workspace.jumpTo not work sometime.signatureHelp and onTypeFormat.around, buffer or file are extracted
as extensions.coc.preferences.preferCompleteThanJumpPlaceholder to make jump
placeholder behavior as confirm completion when possible.CocDiagnosticChange autocmd for force statusline update.onDidUnloadExtension event on extension unload.getDiagnosticsInRange, consider all interactive ranges.data on complete item is string.commitCharacters not works.renameFile, deleteFile and resolveRoot.:CocUninstall and :CocOpenLogcoc.preferences.fixInsertedWord to make complete item replace current word.vim-node-rpc.doc/coc.txtInsertLeave, use
<esc> in normal mode to cancel.inComplete completion result.editor.action.rename not works.g:coc_node_path not working.coc-json when not found.javascript.jsx would changed to javascriptreact as languageId.typescript.tsx would changed to typescriptreact as languageId.commitCharacters and coc.preferences.acceptSuggestionOnCommitCharacter.coc.preferences.diagnostic.level.g:coc_filetype_map for customize mapping between filetype and languageId.g:coc_node_path for custom node executable.workspaceFolders feature to language client.~ to complete item of snippet source.onDidChangeWorkspaceFolder eventeol issue by check eol option.workspace.document could be null.workspaceFolder could be null.coc.preferences.rootPathsortText on filter for better result.&filetype split by ..textEdit for snippet.startcol of CompleteResult not working.workspaceConfiguration.toJSON return invalid result.workspace.readFile not synchronized with buffer.workspace.rootPath not resolved as expected.CompletionItem resolved multiple times.latestInsert on completion.formatOnType possible add unnecessary indent.redraw after g:coc_status changed.virtualedit option of snippet.implementation and typeDefinition of language client not working.diffLines return wrong range.setqflist and setloclist not works on vim.additionalTextEdits not works on vim.TextDocumentIdentifier not handled.workspace.registerTextDocumentContentProvider for handle custom uri.workspace.createStatusBarItem method.triggerAfterInsertEnter now respect minTriggerInputLength.coc.preferences.minTriggerInputLength.:CocCommand.position of provideCompletionItems.outputChannel wrong buftype.textEdit add new lines.noselect is disableddiff module.uri for all buffer types.renameProviderCocRequestAsync not work.workspace.openResource error with wildignore option.vscode.open and editor.action.restart.workspace.requestInput method.g:rooter_patternsstoragePath to ExtensionContextworkspace.env property.workspace.resoleModule only does resolve.Denite coc-symbolsworkspace.applyEditsconsole.log throws in extension.workspace.root with custom buffer schema.workspace.jumpTo and workspace.openResourceworkspace.findUp for find up file of current buffer.env option for custom language server config.CocRequest and CocRequestAsync for send request to
language server in vim.coc.preferences.parseKeywordsLimitLines and coc.preferences.hyphenAsKeyword
for buffer parse.workspace.onDidChangeConfiguration emit ConfigurationChangeEvent now.position to function coc#util#open_terminal.iskeyword option, consider @-@.didChange before trigger completion.coc.preferences.triggerCompletionWait, default 60.iskeyword change.rootPath of language server.coc.preferences.rootPathrevealOutputChannelOn to language server.coc.preferences.formatOnType default to false.string and comment.Denite coc-commandiskeyword, support character range.triggerKind of completion.:CocDisable disabled all events from vim.coc.preferences.formatOnType option.coc.preferences.snippets.enable option.insertText.signatureHelp with showcmd disabled.:lopen.:CocDisablehighlight action.CursorMove instead of CursorHold for diagnostic
message.<esc> any more.insertLeave when onTypeFormat is supported.uninstall action for Denite coc-extension.<Plug>(coc-diagnostic-info) for show diagnostic message without
truncate.new Buffer.coc.preferences.formatOnSaveFiletypesDenite coc-extension for manage extensions.toggleExtension reloadExtension
deactivateExtensionconfigurationSection should be null if none was specified.textDocumentSync option not work when received as object.CursorHold for show diagnostic message.coc.preferences.enableMessage to disable showing of diagnostic
message.prepareRename.CodeActionOptionstriggerKind from VSCode.<Plug>(coc-openlink) for open link.typescript.jsx as valid typescript type.documentLink supportdocumentHighlight supportfoldingRange supportdocumentSelector same as VSCodekeepfocus option for open_terminal.onTypeFormat feature for language serveronTypeFormat support for tsserver.window/showMessageRequest request.callAsync for async request to vim.CocActionAsync function send async request to server.Fix exists terminal buffer not watched.
Fix buffer not attached after edit!.
Fix clean diagnostics of tsserver.watchBuild command.
Fix refresh of buffer.
Fix document not found on BufEnter.
Use rpcrequest for BufCreate
Fix no permission of log file.
Disable create log file for root user.
Add more command for tsserver:
tsserver.reloadProjectstsserver.openTsServerLogtsserver.goToProjectConfigtsserver.restartAdd test for workspace.
Improved for tsserver:
watchBuild command for build current project with watch in terminal.projectRootPathFix detach error of document.
Fix trigger characters not works for some source.
Fix document possible not sync before save.
Fix denite errors with 0 as result.
Fix wrong arguments of tsserver refactor command.
Use drop for workspace openResource.
Add clear coc signs on :CocRestart.
Break change all buffer types except nofile help and quickfix are
watched for changes.
Fix filter of completion items on fast input.
Fix sometimes fails of include & neosnippet source.
Fix sometimes fails to find global modules.
Improve complete source initialization.
Add ability to start standalone coc service for debugging.
NVIM_LISTEN_ADDRESS=/tmp/nvim nvim to start
neovim.node bin/server.jsAdd ability to recover from unload buffer.
Sometimes bufReadPost BufEnter could be not be fired on buffer create,
check buffer on CursorHold and TextChanged to fix this issue.
Add tsserver features: tsserver.formatOnSave and tsserver.organizeImportOnSave
Both default to false.
Add tests for completion sources.
tslint.lintProject command.coc.preferences.maxCompleteItemCount.g:coc_auto_copen, default to 1.:CocRefresh replaced with call CocAction('refreshSource').Fix configuration content not saved on change.
Fix thrown error on watchman not found.
Fix incompatible options of child_process.
Fix location list for diagnostics.
BufWinEnter.Fix signature help behaviour, truncate messages to not overlap.
Reworks sources use async import.
addWillSaveUntilListener.startcol for json server.javascriptreact for tsserver.coc#util#install for installation.install.cmd for windows.Improved location list for diagnostics.
Add internal option to command.
Commands registered by server are internal.
Add support for multiple save wait until requests.
forceFullSync to language server option.Fix order of document symbols.
Fix completion snippet with $variable.
Add feature: expand snippet on confirm.
Add feature: <Plug>(coc-complete-custom) for complete custom sources.
Default customs sources: emoji, include and word
Break change emoji include used for all filetypes by default.
:CocErrors for debug.DocumentSymbol for 'textDocument/documentSymbol'Fix error of language client with unsupported schema.
No document event fired for unsupported schema (eg: fugitive://)
Fix update empty configuration not works.
runCommand function.sudo for npm install on Linux.Break change all servers are decoupled from coc.nvim
A prompt for download is shown when server not found.
Break change vim-node-rpc decoupled from coc.nvim
A prompt would be shown to help user install vim-node-rpc in vim.
Add command CocConfig
:.~ as user home.Prompt user for download server module with big extension like vetur and wxml-langserver
Break change, section of settings changed: cssserver.[languageId] moved to [languageId]
For example: cssserver.css section is moved to css section.
This makes coc settings of css languages the same as VSCode.
Break change, stylelint extension is disabled by default, add
"stylelint.enable": true,
to your coc-settings.json to enable it.
User will be prompted to download server if stylelint-langserver is not
installed globally.
Break change, triggerAfterInsertEnter is always true, add
"coc.preferences.triggerAfterInsertEnter": false,
to your coc-settings.json to disable it.
Break change, when autoTrigger is always completion would be triggered
after completion item select.
CocAutocmd and CocResult are removed.completeopt.neosnippet.gocode.isFile check.coc.preference.jumpCommand to settings.runCommand action.workspace.showOutput.[extension].trace.server setting for trace server communication.preselect of complete item.workspace.diffDocument coc command.diagnostic in setting.json changed to diagnostic.data/schema.json for coc-settings.json.:keepjumps.