fix: Terminal popup
This commit is contained in:
parent
1e7350bd27
commit
090314c4e5
11 changed files with 122 additions and 20 deletions
|
|
@ -50,7 +50,7 @@ return {
|
|||
marksman = {},
|
||||
asm_lsp = {},
|
||||
csharp_ls = {
|
||||
cmd = { "/home/dashie/.dotnet/tools/csharp-ls" },
|
||||
cmd = { "/home/dashie/.local/share/nvim/mason/bin/csharp-ls" },
|
||||
filetypes = { "cs" },
|
||||
init_options = {
|
||||
AutomaticWorkspaceInit = true,
|
||||
|
|
@ -115,6 +115,9 @@ return {
|
|||
jdtls = function()
|
||||
return true
|
||||
end,
|
||||
rust_analyzer = function()
|
||||
return true
|
||||
end,
|
||||
},
|
||||
},
|
||||
config = function(plugin, opts)
|
||||
|
|
@ -148,7 +151,6 @@ return {
|
|||
on_attach = on_attach,
|
||||
vim.lsp.diagnostic.on_publish_diagnostics,
|
||||
{
|
||||
-- Disable virtual_text
|
||||
virtual_text = true,
|
||||
},
|
||||
}, servers[server] or {})
|
||||
|
|
|
|||
|
|
@ -158,4 +158,18 @@ return {
|
|||
require("neoscroll.config").set_mappings(t)
|
||||
end,
|
||||
},
|
||||
{
|
||||
"simrat39/rust-tools.nvim",
|
||||
lazy = true,
|
||||
event = "FileType rust",
|
||||
dependencies = { "neovim/nvim-lspconfig", "nvim-lua/plenary.nvim", "mfussenegger/nvim-dap" },
|
||||
opts = function()
|
||||
local extension_path = vim.env.HOME .. "/.local/share/nvim/mason/packages/codelldb/extension/"
|
||||
local codelldb_path = extension_path .. "adapter/codelldb"
|
||||
local liblldb_path = extension_path .. "lldb/lib/liblldb.dylib"
|
||||
return {
|
||||
dap = { adapter = require("rust-tools.dap").get_codelldb_adapter(codelldb_path, liblldb_path) },
|
||||
}
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue