From 05892a2455bfd0d0d0f84933f12af1332ed3f953 Mon Sep 17 00:00:00 2001 From: statiolake Date: Mon, 12 Aug 2024 22:33:51 +0900 Subject: [PATCH] docs: add coc.preferences.formatterExtension to coc-config.txt --- data/schema.json | 2 +- doc/coc-config.txt | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/data/schema.json b/data/schema.json index 0bb9dec611b..07244c3b583 100644 --- a/data/schema.json +++ b/data/schema.json @@ -634,7 +634,7 @@ "type": ["null", "string"], "default": null, "scope": "language-overridable", - "description": "Extension used for formatting documents, defaulting to the formatter with highest priority." + "description": "Extension used for formatting documents. When set to null, the formatter with highest priority is used." }, "coc.preferences.jumpCommand": { "anyOf": [ diff --git a/doc/coc-config.txt b/doc/coc-config.txt index 0a8d2274ac3..89d91d7aa30 100644 --- a/doc/coc-config.txt +++ b/doc/coc-config.txt @@ -1624,6 +1624,12 @@ Preferences~ Scope: `language-overridable`, default: `false` +"coc.preferences.formatterExtension" *coc-preferences-formatterExtension* + + Extension used for formatting documents. When set to null, the formatter with highest priority is used. + + Scope: `language-overridable`, default: `null` + "coc.preferences.jumpCommand" *coc-preferences-jumpCommand* Command used for location jump, like goto definition, goto references