Leave only filetype detection for man, #576

This commit is contained in:
Adam Stankiewicz
2020-10-18 12:24:33 +02:00
parent 1fc249bafd
commit c9f2aa9ae0
6 changed files with 40 additions and 331 deletions

View File

@@ -1902,8 +1902,12 @@ When it is `v:null`, `gopls`' default will be used. By default it is `v:null`.
*'g:go_gopls_local'*
Specifies the prefix for imports that `gopls` should consider group
separately.
Specifies the prefix for imports that `gopls` should group separately.
The value can either be a string or a dictionary. When it is a string, all
workspaces will use the same value. When it is a dictionary, the key should be
the absolute path of the workspace and the value is the prefix to use for
local imports within that workspace.
When it is `v:null`, `gopls`' default will be used. By default it is `v:null`.
>
@@ -1933,21 +1937,20 @@ default it is `v:null`.
<
*'g:go_diagnostics_enabled'*
Specifies whether `gopls` diagnostics are enabled. Only the diagnostics for
the current buffer will be processed when it is not set; all others will be
ignored.
By default it is disabled.
Deprecated. See `'g:go_diagnostics_level'`. Specifies whether `gopls`
diagnostics are enabled. Only the diagnostics for the current buffer will be
processed when it is not set; all others will be ignored. By default it is
disabled.
>
let g:go_diagnostics_enabled = 0
<
*'g:go_diagnostics_ignore_warnings'*
*'g:go_diagnostics_level'*
Specifies whether warnings from `gopls` diagnostics are ignored.
By default it is disabled.
Specifies the `gopls` diagnostics level. Valid values are 0, 1, and 2. 0
ignores `gopls` diagnostics, 1 is for errors only, and 2 is for errors and
warnings. By default it is 2.
>
let g:go_diagnostics_ignore_warnings = 0
let g:go_diagnostics_level = 2
<
*'g:go_template_autocreate'*