mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-04 05:00:03 +08:00
19 lines
535 B
Lua
19 lines
535 B
Lua
|
local util = require 'lspconfig.util'
|
||
|
|
||
|
return {
|
||
|
default_config = {
|
||
|
cmd = { 'buddy-lsp-server' },
|
||
|
filetypes = { 'mlir' },
|
||
|
root_dir = util.find_git_ancestor,
|
||
|
single_file_support = true,
|
||
|
},
|
||
|
docs = {
|
||
|
description = [[
|
||
|
https://github.com/buddy-compiler/buddy-mlir#buddy-lsp-server
|
||
|
The Language Server for the buddy-mlir, a drop-in replacement for mlir-lsp-server,
|
||
|
supporting new dialects defined in buddy-mlir.
|
||
|
`buddy-lsp-server` can be installed at the buddy-mlir repository (buddy-compiler/buddy-mlir)
|
||
|
]],
|
||
|
},
|
||
|
}
|