@@ -271,7 +271,7 @@ You can use tcp to connect to LSP servers that don't support stdio. Set host
271
271
and port to tcp. The Godot game engine uses 6008 as its LSP port and godot
272
272
ftplugins define gdscript or gdscript3 filetype: >
273
273
274
- au User lsp_setup
274
+ au User lsp_setup
275
275
\ call lsp#register_server({
276
276
\ 'name': 'godot',
277
277
\ 'tcp': "localhost:6008",
@@ -290,7 +290,7 @@ vim-lsp supports the |:CheckHealth| command which can be useful when debugging
290
290
lsp configuration issues.
291
291
292
292
This command is implemented in vim with the
293
- [vim-healthcheck](https://github.com/rhysd/vim-healthcheck ) plugin.
293
+ [vim-healthcheck](https://github.com/rhysd/vim-healthcheck ) plugin.
294
294
295
295
WIKI *vim-lsp-configure-wiki*
296
296
For documentation on how to configure other language servers refer
@@ -905,7 +905,7 @@ g:lsp_max_buffer_size *g:lsp_max_buffer_size*
905
905
`g: lsp_max_buffer_size ` (measured in bytes), the following features
906
906
are disabled:
907
907
* Semantic highlighting
908
-
908
+
909
909
This functionality can be disabled by setting `g: lsp_max_buffer_size `
910
910
to a negative value.
911
911
@@ -1402,6 +1402,13 @@ The vim |dict| containing information about the server.
1402
1402
Example: >
1403
1403
'config': { 'diagnostics': v:false }
1404
1404
<
1405
+ * env:
1406
+ optional vim | dict |
1407
+ Used to pass environment variables to the cmd.
1408
+ Example: >
1409
+ 'env': { 'GOFLAGS': '-tags=wireinject' }
1410
+ <
1411
+
1405
1412
refresh_pattern *vim-lsp-refresh_pattern*
1406
1413
Type: | String | (| pattern | )
1407
1414
Default: `' \k*$' `
@@ -2245,7 +2252,7 @@ Popup Formatting *vim-lsp-popup-format*
2245
2252
2246
2253
Popup windows use the | gq | operator for formatting content to the window.
2247
2254
2248
- For customization, see
2255
+ For customization, see
2249
2256
| formatprg | .
2250
2257
2251
2258
==============================================================================
0 commit comments