mirror of
https://github.com/DefectingCat/nvim
synced 2025-07-16 01:01:34 +00:00
fix lsp setup error
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
local rust_settings = require("rua.config.rust-analyzer")
|
||||
local rok, rust_settings = pcall(require, "rua.config.rust-analyzer")
|
||||
|
||||
return {
|
||||
{
|
||||
|
@ -5,7 +5,9 @@ return {
|
||||
{ "hrsh7th/cmp-nvim-lsp" },
|
||||
{ "antosha417/nvim-lsp-file-operations", config = true },
|
||||
{ "folke/neodev.nvim", opts = {} },
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
},
|
||||
event = "VeryLazy",
|
||||
opts = { document_highlight = { enabled = false } },
|
||||
config = function()
|
||||
local lspconfig = require("lspconfig")
|
||||
|
Reference in New Issue
Block a user