56
56
:type '(repeat string))
57
57
58
58
(defcustom eglot-fsharp-fsautocomplete-args '(
59
- :automaticWorkspaceInit t
60
- :keywordsAutocomplete t
61
- :externalAutocomplete nil
62
- :linter t
63
- :unionCaseStubGeneration t
64
- :recordStubGeneration t
65
- :interfaceStubGeneration t
66
- :interfaceStubGenerationObjectIdentifier " this"
67
- :unusedOpensAnalyzer t
68
- :unusedDeclarationsAnalyzer t
69
- :useSdkScripts t
70
- :simplifyNameAnalyzer nil
71
- :resolveNamespaces t
72
- :enableReferenceCodeLens t )
73
- " Arguments for the fsautocomplete initialization."
74
- :group 'eglot-fsharp
75
- :risky t
59
+ :automaticWorkspaceInit t
60
+ :abstractClassStubGeneration t
61
+ :abstractClassStubGenerationMethodBody
62
+ " failwith \" Not Implemented\" "
63
+ :abstractClassStubGenerationObjectIdentifier " this"
64
+ :addFsiWatcher nil
65
+ :codeLenses (:references (:enabled t )
66
+ :signature (:enabled t ))
67
+ :disableFailedProjectNotifications nil
68
+ :dotnetRoot " "
69
+ :enableAdaptiveLspServer t
70
+ :enableAnalyzers nil
71
+ :enableMSBuildProjectGraph nil
72
+ :enableReferenceCodeLens t
73
+ :excludeProjectDirectories [" .git" " paket-files" " .fable" " packages" " node_modules" ]
74
+ :externalAutocomplete nil
75
+ :fsac (:attachDebugger nil
76
+ :cachedTypeCheckCount 200
77
+ :conserveMemory nil
78
+ :dotnetArgs nil
79
+ :netCoreDllPath " "
80
+ :parallelReferenceResolution nil
81
+ :silencedLogs nil )
82
+ :fsiExtraParameters nil
83
+ :fsiSdkFilePath " "
84
+ :generateBinlog nil
85
+ :indentationSize 4
86
+ :inlayHints (:disableLongTooltip nil
87
+ :enabled t
88
+ :parameterNames t
89
+ :typeAnnotations t )
90
+ :inlineValues (:enabled nil
91
+ :prefix " //" )
92
+ :interfaceStubGeneration t
93
+ :interfaceStubGenerationMethodBody " failwith \" Not Implemented\" "
94
+ :interfaceStubGenerationObjectIdentifier " this"
95
+ :keywordsAutocomplete t
96
+ :lineLens (:enabled " replaceCodeLens"
97
+ :prefix " // " )
98
+ :linter t
99
+ :pipelineHints (:enabled t
100
+ :prefix " // " )
101
+ :recordStubGeneration t
102
+ :recordStubGenerationBody " failwith \" Not Implemented\" "
103
+ :resolveNamespaces t
104
+ :saveOnSendLastSelection nil
105
+ :simplifyNameAnalyzer t
106
+ :smartIndent nil
107
+ :suggestGitignore t
108
+ :suggestSdkScripts t
109
+ :unionCaseStubGeneration t
110
+ :unionCaseStubGenerationBody " failwith \" Not Implemented\" "
111
+ :unusedDeclarationsAnalyzer t
112
+ :unusedOpensAnalyzer t
113
+ :verboseLogging nil
114
+ :workspaceModePeekDeepLevel 4
115
+ :workspacePath " " )
116
+ " Arguments for the fsautocomplete workspace configuration."
117
+ :group 'eglot-fsharp
118
+ :risky t
76
119
)
77
120
78
121
(defun eglot-fsharp--path-to-server ()
142
185
(unless (eglot-fsharp-current-version-p version)
143
186
(eglot-fsharp--install-core version))))
144
187
145
- ; ;;###autoload
188
+ ;;;### autoload
146
189
(defun eglot-fsharp (interactive )
147
- " Return `eglot' contact when FsAutoComplete is installed.
190
+ " Return `eglot' contact when FsAutoComplete is installed.
148
191
Ensure FsAutoComplete is installed (when called INTERACTIVE)."
149
192
(when interactive (eglot-fsharp--maybe-install))
150
193
(cons 'eglot-fsautocomplete
@@ -159,7 +202,7 @@ Ensure FsAutoComplete is installed (when called INTERACTIVE)."
159
202
160
203
(cl-defmethod eglot-initialization-options ((_server eglot-fsautocomplete))
161
204
" Passes through required FsAutoComplete initialization options."
162
- `( :fSharp , eglot-fsharp-fsautocomplete-args) )
205
+ eglot-fsharp-fsautocomplete-args)
163
206
164
207
; ; FIXME: this should be fixed in FsAutocomplete
165
208
(cl-defmethod xref-backend-definitions :around ((_type symbol) _identifier)
0 commit comments