nushell+nvim tweaks

This commit is contained in:
Henrik Bakken
2025-04-12 18:43:19 +02:00
parent beafa11ada
commit 9227de2678
3 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ chsh -s /usr/bin/nu
# nushell # nushell
yay -S oh-my-posh argc yay -S oh-my-posh argc
git clone https://github.com/sigoden/argc-completions.git ~/.local/share/argc-completions/ 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 # code
yay -S neovim tmux tig diff-so-fancy ripgrep nvimpager yay -S neovim tmux tig diff-so-fancy ripgrep nvimpager
+8 -1
View File
@@ -29,7 +29,14 @@ $env.config = {
{ send: right } { send: right }
] ]
} }
} }
{
name: delete_one_word_backward
modifier: alt
keycode: backspace
mode: vi_insert
event: {edit: backspaceword}
}
] ]
} }
source ~/.oh-my-posh.nu source ~/.oh-my-posh.nu
+2 -2
View File
@@ -444,8 +444,8 @@ local function makespec_lspconfig()
analysis = { analysis = {
-- logLevel = "Trace", -- logLevel = "Trace",
autoImportCompletions = false, autoImportCompletions = false,
diagnosticMode = "openFilesOnly", diagnosticMode = "workspace",
useLibraryCodeForTypes = false, useLibraryCodeForTypes = true,
logTypeEvaluationTime = true, logTypeEvaluationTime = true,
typeEvaluationTimeThreshold = 2000, typeEvaluationTimeThreshold = 2000,
}, },