File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed
packages/web/src/content/docs Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,16 @@ Let's look at some examples.
7070
7171### Disabling formatters
7272
73- To disable a specific formatter, set ` disabled ` to ` true ` :
73+ To disable ** all** formatters globally, set ` formatter ` to ` false ` :
74+
75+ ``` json title="opencode.json" {3}
76+ {
77+ "$schema" : " https://opencode.ai/config.json" ,
78+ "formatter" : false
79+ }
80+ ```
81+
82+ To disable a ** specific** formatter, set ` disabled ` to ` true ` :
7483
7584``` json title="opencode.json" {5}
7685{
Original file line number Diff line number Diff line change @@ -78,7 +78,16 @@ Let's look at some examples.
7878
7979### Disabling LSP servers
8080
81- To disable a specific LSP server, set ` disabled ` to ` true ` :
81+ To disable ** all** LSP servers globally, set ` lsp ` to ` false ` :
82+
83+ ``` json title="opencode.json" {3}
84+ {
85+ "$schema" : " https://opencode.ai/config.json" ,
86+ "lsp" : false
87+ }
88+ ```
89+
90+ To disable a ** specific** LSP server, set ` disabled ` to ` true ` :
8291
8392``` json title="opencode.json" {5}
8493{
You can’t perform that action at this time.
0 commit comments