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
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
+7
View File
@@ -30,6 +30,13 @@ $env.config = {
]
}
}
{
name: delete_one_word_backward
modifier: alt
keycode: backspace
mode: vi_insert
event: {edit: backspaceword}
}
]
}
source ~/.oh-my-posh.nu
+2 -2
View File
@@ -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,
},