Move lsp config to local file structure
This commit is contained in:
parent
e5c3bb2492
commit
20801272fc
383 changed files with 11829 additions and 114 deletions
15
.config/nvim/lsp/dafny.lua
Normal file
15
.config/nvim/lsp/dafny.lua
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
---@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>"}`.
|
||||
|
||||
---@type vim.lsp.Config
|
||||
return {
|
||||
cmd = { 'dafny', 'server' },
|
||||
filetypes = { 'dfy', 'dafny' },
|
||||
root_markers = { '.git' },
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue