1

Update generated neovim config

This commit is contained in:
2024-09-22 20:41:25 +02:00
parent 1743764e48
commit aa1271c42c
1247 changed files with 26512 additions and 15067 deletions

View File

@ -1,6 +1,5 @@
const { languages, commands, workspace, wait, CancellationTokenSource, Disposable } = require('coc.nvim')
exports.activate = async context => {
let { logger, subscriptions } = context
let nvim = workspace.nvim
@ -9,7 +8,13 @@ exports.activate = async context => {
if (!doc || !doc.attached) {
await wait(50)
doc = workspace.getDocument(bufnr)
if (!doc || !doc.attached) {
if (!doc) {
return
}
if (!doc.attached) {
if (doc.notAttachReason.match('coc_enabled')) {
throw 'UfoFallbackException'
}
return
}
}