Actually the restart command isn't that great.
This commit is contained in:
parent
9a39d0d4f1
commit
9293dee5eb
@ -375,8 +375,3 @@ vim.keymap.set("n", "<Leader>rr", vim.lsp.codelens.run)
|
||||
|
||||
-- Show whatever errors we have in our trouble pane
|
||||
vim.keymap.set("n", "<Leader>se", "<cmd>TroubleToggle<cr>", { silent = true, noremap = true })
|
||||
|
||||
vim.api.nvim_create_user_command("LspRestart", function()
|
||||
vim.lsp.stop_client(vim.lsp.get_active_clients())
|
||||
vim.cmd("edit")
|
||||
end, {})
|
||||
|
6
nix/darwin/flake.lock
generated
6
nix/darwin/flake.lock
generated
@ -34,12 +34,12 @@
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1,
|
||||
"narHash": "sha256-XK2JhfLtXZTNOvCsQneGtoMTJ+1OypeZuTwqe4Vfj5o=",
|
||||
"path": "/nix/store/c42xfjgbyhii3n7djvmfkzn5ic6yimj1-source/nix/base-system",
|
||||
"narHash": "sha256-NrEKLtKqw6lOwfxz2f8OAScfVPzdsZz849sAceUrOk4=",
|
||||
"path": "/nix/store/6s1z7nf9wb66a3gcx0fvjdbhm05bmcx4-source/nix/base-system",
|
||||
"type": "path"
|
||||
},
|
||||
"original": {
|
||||
"path": "/nix/store/c42xfjgbyhii3n7djvmfkzn5ic6yimj1-source/nix/base-system",
|
||||
"path": "/nix/store/6s1z7nf9wb66a3gcx0fvjdbhm05bmcx4-source/nix/base-system",
|
||||
"type": "path"
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user