mirror of
https://github.com/neovim/nvim-lspconfig.git
synced 2026-05-05 08:36:09 +02:00
25 lines
507 B
Lua
25 lines
507 B
Lua
---@brief
|
|
---
|
|
--- https://github.com/ponylang/ponyc/tree/main/tools/pony-lsp
|
|
---
|
|
--- Language server for the Pony programming language
|
|
|
|
--- default settings for pony-lsp
|
|
local function default_settings()
|
|
---@type table{ defines: string[], ponypath: string[] }
|
|
return {
|
|
defines = {},
|
|
ponypath = {},
|
|
}
|
|
end
|
|
|
|
---@type vim.lsp.Config
|
|
return {
|
|
cmd = { 'pony-lsp' },
|
|
filetypes = { 'pony' },
|
|
root_markers = { 'corral.json', '.git' },
|
|
settings = {
|
|
['pony-lsp'] = default_settings(),
|
|
},
|
|
}
|