mirror of
https://codeberg.org/Mo8it/dotfiles.git
synced 2024-12-04 23:40:32 +00:00
Compare commits
2 commits
a7c87991bf
...
0013ea1d91
Author | SHA1 | Date | |
---|---|---|---|
0013ea1d91 | |||
2197fc6e6e |
2 changed files with 2 additions and 3 deletions
|
@ -1,6 +1,5 @@
|
|||
-- Add additional capabilities supported by nvim-cmp
|
||||
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
||||
capabilities = require("cmp_nvim_lsp").update_capabilities(capabilities)
|
||||
local capabilities = require("cmp_nvim_lsp").default_capabilities()
|
||||
|
||||
local lspconfig = require("lspconfig")
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ def update_flatpak():
|
|||
|
||||
|
||||
def update_cargo():
|
||||
lines = cap_live_lines("cargo install-update -a")
|
||||
lines = cap_live_lines("rustup update && cargo install-update -a")
|
||||
|
||||
if "no packages need updating" not in lines[-2].lower():
|
||||
press_to_exit()
|
||||
|
|
Loading…
Reference in a new issue