nushell+nvim tweaks
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
+8
-1
@@ -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
|
||||
|
||||
+2
-2
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user