mirror of
https://github.com/DefectingCat/nvim
synced 2025-07-15 16:51:33 +00:00
add cj test
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user