Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,43 @@ lspconfig.fortls = add_lsp {
verbose = false
}

---# F# - fsautocomplete
--- __Status__: Works
--- __Site__: https://github.com/ionide/FsAutoComplete
--- __Installation__: Install .NET then run dotnet tool install --global fsautocomplete
--- then add ~/.dotnet/tools to PATH
lspconfig.fsharp = add_lsp {
name = "fsac",
language = "fsharp",
file_patterns = { "%.fs$", "%.fsx$", "%.fsi$" },
command = { "fsautocomplete", "--adaptive-lsp-server-enabled" },
verbose = false,

init_options = {
AutomaticWorkspaceInit = true,
},
settings = {
FSharp = {
keywordsAutocomplete = true,
ExternalAutocomplete = false,
Linter = true,
UnionCaseStubGeneration = true,
UnionCaseStubGenerationBody = 'failwith "Not Implemented"',
RecordStubGeneration = true,
RecordStubGenerationBody = 'failwith "Not Implemented"',
InterfaceStubGeneration = true,
InterfaceStubGenerationObjectIdentifier = 'this',
InterfaceStubGenerationMethodBody = 'failwith "Not Implemented"',
UnusedOpensAnalyzer = true,
UnusedDeclarationsAnalyzer = true,
UseSdkScripts = true,
SimplifyNameAnalyzer = true,
ResolveNamespaces = true,
EnableReferenceCodeLens = true,
},
},
}

---# Gleam
--- __Status__: Works (the gleam lsp itself acts kinda weird)
--- __Site__: https://gleam.run/
Expand Down