1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-12-04 23:40:32 +00:00

Compare commits

...

2 commits

Author SHA1 Message Date
0013ea1d91 Add rustup update 2022-10-16 17:21:26 +02:00
2197fc6e6e Fix cmp-nvim-lsp 2022-10-16 17:21:15 +02:00
2 changed files with 2 additions and 3 deletions

View file

@ -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")

View file

@ -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()