summaryrefslogtreecommitdiffstats
path: root/doc/vim-go.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/vim-go.txt')
-rw-r--r--doc/vim-go.txt20
1 files changed, 19 insertions, 1 deletions
diff --git a/doc/vim-go.txt b/doc/vim-go.txt
index e00dec9b..b92ab5b9 100644
--- a/doc/vim-go.txt
+++ b/doc/vim-go.txt
@@ -802,7 +802,7 @@ CTRL-t
You can define a constant value instead of the default field based value.
For example the following command will add ``valid:"1"`` to all fields.
>
- :GoAddTags valid=1
+ :GoAddTags valid:1
<
*:GoRemoveTags*
:[range]GoRemoveTags [key],[option] [key1],[option1] ...
@@ -1876,6 +1876,24 @@ is `v:null`.
let g:go_gopls_local = v:null
<
+ *'g:go_gopls_gofumpt'*
+
+Specifies whether `gopls` should use `gofumpt` for formatting. When it is
+`v:null`, `gopls`' default will be used. By default it is `v:null`.
+>
+ let g:go_gopls_gofumpt = v:null
+<
+
+ *'g:go_gopls_settings'*
+
+Specifies `gopls` workspace settings for `gopls` that are not yet officially
+supported by vim-go. Any value in the dictionary will be overridden by values
+provided in the specific options supported by vim-go (e.g.
+g:go_gopls_staticcheck) or settings statically configured by vim-go to ensure
+expected behavior. By default it is `v:null`.
+>
+ let g:go_gopls_settings = v:null
+<
*'g:go_diagnostics_enabled'*
Specifies whether `gopls` diagnostics are enabled. Only the diagnostics for