diff options
Diffstat (limited to 'lsp/dafny.lua')
| -rw-r--r-- | lsp/dafny.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lsp/dafny.lua b/lsp/dafny.lua new file mode 100644 index 00000000..c6396e8e --- /dev/null +++ b/lsp/dafny.lua @@ -0,0 +1,13 @@ +---@brief +--- +---Support for the Dafny language server. + +-- The default `cmd` uses "dafny server", which works on Dafny 4.0.0+. For +-- older versions of Dafny, you can compile the language server from source at +-- [dafny-lang/language-server-csharp](https://github.com/dafny-lang/language-server-csharp) +-- and set `cmd = {"dotnet", "<Path to your language server>"}`. +return { + cmd = { 'dafny', 'server' }, + filetypes = { 'dfy', 'dafny' }, + root_markers = { '.git' }, +} |
