diff --git a/manjaro.sh b/manjaro.sh index 73929db..15b9972 100755 --- a/manjaro.sh +++ b/manjaro.sh @@ -22,7 +22,7 @@ chsh -s /usr/bin/nu # nushell yay -S oh-my-posh argc git clone https://github.com/sigoden/argc-completions.git ~/.local/share/argc-completions/ -oh-my-posh init nu --config https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/refs/heads/main/themes/negligible.omp.json +oh-my-posh init nu --config https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/refs/heads/main/themes/peru.omp.json # code yay -S neovim tmux tig diff-so-fancy ripgrep nvimpager diff --git a/nushell/config.nu b/nushell/config.nu index 10fc671..d81ec88 100644 --- a/nushell/config.nu +++ b/nushell/config.nu @@ -29,7 +29,14 @@ $env.config = { { send: right } ] } - } + } + { + name: delete_one_word_backward + modifier: alt + keycode: backspace + mode: vi_insert + event: {edit: backspaceword} + } ] } source ~/.oh-my-posh.nu diff --git a/nvim/init.lua b/nvim/init.lua index 53708bd..0e757a9 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -444,8 +444,8 @@ local function makespec_lspconfig() analysis = { -- logLevel = "Trace", autoImportCompletions = false, - diagnosticMode = "openFilesOnly", - useLibraryCodeForTypes = false, + diagnosticMode = "workspace", + useLibraryCodeForTypes = true, logTypeEvaluationTime = true, typeEvaluationTimeThreshold = 2000, },