feat(neovim): add nix-store.nvim and change old calls
This commit is contained in:
parent
34ad9056ca
commit
39e987678c
6 changed files with 206 additions and 219 deletions
|
@ -0,0 +1,9 @@
|
|||
---@type LazySpec
|
||||
return {
|
||||
"wizardlink/nix-store.nvim",
|
||||
priority = 999999,
|
||||
lazy = false,
|
||||
opts = {
|
||||
allow_unfree = true,
|
||||
},
|
||||
}
|
|
@ -32,7 +32,7 @@ return {
|
|||
dap.adapters.cppdbg = {
|
||||
id = "cppdbg",
|
||||
type = "executable",
|
||||
command = vim.fn.getnixpath "vscode-extensions.ms-vscode.cpptools"
|
||||
command = vim.fn.get_nix_store "vscode-extensions.ms-vscode.cpptools"
|
||||
.. "/share/vscode/extensions/ms-vscode.cpptools/debugAdapters/bin/OpenDebugAD7",
|
||||
}
|
||||
|
||||
|
|
|
@ -7,14 +7,18 @@ return {
|
|||
dependencies = {
|
||||
{
|
||||
"tris203/rzls.nvim",
|
||||
opts = {
|
||||
capabilities = vim.lsp.protocol.make_client_capabilities(),
|
||||
path = vim.fn.getnixpath "rzls" .. "/bin/rzls",
|
||||
},
|
||||
opts = function(_, opts)
|
||||
opts = {
|
||||
capabilities = vim.lsp.protocol.make_client_capabilities(),
|
||||
path = vim.fn.get_nix_store "rzls" .. "/bin/rzls",
|
||||
}
|
||||
|
||||
return opts
|
||||
end,
|
||||
},
|
||||
},
|
||||
opts = function(_, opts)
|
||||
local rzlspath = vim.fn.getnixpath "rzls"
|
||||
local rzlspath = vim.fn.get_nix_store "rzls"
|
||||
require("roslyn.config").get()
|
||||
|
||||
opts = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue