File tree 1 file changed +8
-5
lines changed
1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 32
32
:group 'lsp-mode
33
33
:package-version '(lsp-mode . " 6.1" ))
34
34
35
+ (defcustom lsp-fsharp-server-dll-path nil
36
+ " Path to a self-built fsautocomplete dll. Useful for debugging."
35
37
:group 'lsp-fsharp
36
- :risky t
37
- :type 'directory
38
- :package-version '(lsp-mode . " 6.1" ))
38
+ :type 'file
39
+ :package-version '(lsp-mode . " 8.0.1" ))
39
40
40
41
(defcustom lsp-fsharp-server-args nil
41
42
" Extra arguments for the F# language server."
@@ -201,9 +202,11 @@ available, else the globally installed tool."
201
202
(list " /bin/ksh" " -c" ))
202
203
203
204
(t nil )))
204
- (fsautocomplete-exec (lsp-fsharp--fsac-cmd)))
205
+ (fsautocomplete-cmd (if lsp-fsharp-server-dll-path
206
+ (list " dotnet" (expand-file-name lsp-fsharp-server-dll-path))
207
+ (list (lsp-fsharp--fsac-cmd)))))
205
208
(append startup-wrapper
206
- ( list fsautocomplete-exec)
209
+ fsautocomplete-cmd
207
210
lsp-fsharp-server-args)))
208
211
209
212
(defun lsp-fsharp--test-fsautocomplete-present ()
You can’t perform that action at this time.
0 commit comments