summaryrefslogtreecommitdiffstats
path: root/doc/vim-go.txt
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-09-10 10:30:32 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-09-10 10:30:32 +0200
commitfb7cf8a9ab782d67db5aa71bffac67e63fcc0c4c (patch)
tree9b41186c43daaacf5b6d1cee71f8bde4dbc8edf2 /doc/vim-go.txt
parent19a69cf77d521d6f3856d2f5c1a2faa678b937ba (diff)
downloadvim-polyglot-fb7cf8a9ab782d67db5aa71bffac67e63fcc0c4c.tar.gz
vim-polyglot-fb7cf8a9ab782d67db5aa71bffac67e63fcc0c4c.zip
Update
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