Skip to content

Commit 20a1d74

Browse files
baronfelrwols
authored andcommitted
Update F# guidance
The current docs install FSAC as a global tool, but invoke it as a local tool. Invoking it as a global tool means executing the globally-installed shim (which is installed to a global path by default).
1 parent 4b0889b commit 20a1d74

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/src/language_servers.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ Follow installation instructions on [LSP-elm](https://github.com/sublimelsp/LSP-
129129
"clients": {
130130
"fsautocomplete": {
131131
"enabled": true,
132-
"command": ["dotnet", "fsautocomplete", "--background-service-enabled"],
132+
"command": ["fsautocomplete", "--background-service-enabled"],
133133
"selector": "source.fsharp",
134134
"initializationOptions": {
135135
"AutomaticWorkspaceInit": true
@@ -139,6 +139,9 @@ Follow installation instructions on [LSP-elm](https://github.com/sublimelsp/LSP-
139139
}
140140
```
141141

142+
!!! info "A note about .NET Tools and $PATH"
143+
If the `fsautocomplete` executable isn't on your $PATH after installing it globally, ensure the .NET global tools location (by default `$HOME/.dotnet/tools`) is on your $PATH.
144+
142145
## Fortran
143146

144147
1. Install the [ Fortran](https://packagecontrol.io/packages/Fortran) package from Package Control for syntax highlighting.

0 commit comments

Comments
 (0)