mirror of https://github.com/wlcx/home.git
Compare commits
No commits in common. "2231683ffc85e0568284aa0c35424b99500cfe16" and "96396f67a751deaa10fc9652b1ca68b519f3d255" have entirely different histories.
2231683ffc
...
96396f67a7
|
@ -62,16 +62,16 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1672102598,
|
||||
"narHash": "sha256-7fzlPrDEpej/8ORSk7V4H4W6koOMD0juQ/M7whewNpk=",
|
||||
"lastModified": 1671040593,
|
||||
"narHash": "sha256-W5aZNwYBjaEaLifDWGEfecvnCiDkXjI26rHgidSftUM=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "93c0d5dcf02409fe705500e90af38b33d3a259d3",
|
||||
"rev": "170e39462b516bd1475ce9184f7bb93106d27c59",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "release-22.11",
|
||||
"ref": "nixos-22.11",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
description = "Samw's home environment, as managed by nix/home-manager.";
|
||||
inputs = {
|
||||
# Nixpkgs
|
||||
nixpkgs = {url = "github:nixos/nixpkgs/release-22.11";};
|
||||
nixpkgs = {url = "github:nixos/nixpkgs/nixos-22.11";};
|
||||
# Other modules
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/release-22.11";
|
||||
|
|
|
@ -32,7 +32,6 @@ in {
|
|||
dhall-vim
|
||||
kotlin-vim
|
||||
Jenkinsfile-vim-syntax
|
||||
html5-vim
|
||||
]
|
||||
# delve is unsupported on aarch64-linux and golangci-lint is broken on darwin
|
||||
# (see https://github.com/NixOS/nixpkgs/issues/168984).
|
||||
|
|
|
@ -62,20 +62,6 @@ require'lspconfig'.rnix.setup{
|
|||
require'lspconfig'.rust_analyzer.setup{
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
commands = {
|
||||
RustOpenDocs = {
|
||||
function()
|
||||
vim.lsp.buf_request(vim.api.nvim_get_current_buf(), 'experimental/externalDocs', vim.lsp.util.make_position_params(), function(err, url)
|
||||
if err then
|
||||
error(tostring(err))
|
||||
else
|
||||
vim.fn['netrw#BrowseX'](url, 0)
|
||||
end
|
||||
end)
|
||||
end,
|
||||
description = 'Open documentation for the symbol under the cursor in default browser',
|
||||
},
|
||||
},
|
||||
}
|
||||
require'lspconfig'.dhall_lsp_server.setup{
|
||||
on_attach = on_attach,
|
||||
|
|
Loading…
Reference in New Issue