add cj test

This commit is contained in:
xfy
2024-08-02 10:38:15 +08:00
parent b01d538808
commit 314a10a0b7

View File

@ -27,6 +27,15 @@ require("mason-lspconfig").setup_handlers({
end,
})
-- cj
vim.lsp.start({
cmd = { 'cjLSPServer' },
filetypes = { 'cj' },
root_dir = vim.fn.getcwd(),
settings = {},
})
vim.cmd([[autocmd BufRead,BufNewFile *.cj setfiletype cj]])
local rust_config = require("configs.rust_config")
lspconfig["rust_analyzer"].setup({
on_attach = on_attach,