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