nvim updates
This commit is contained in:
parent
da76882362
commit
b587626f7f
3 changed files with 19 additions and 2 deletions
|
@ -32,8 +32,9 @@ require("lazy").setup({
|
|||
{ import = "plugins.language.misc" },
|
||||
{ import = "plugins.language.nim" },
|
||||
{ import = "plugins.language.nix" },
|
||||
{ import = "plugins.language.nu" },
|
||||
require("util").if_exe("nu", { { import = "plugins.language.nu" } }),
|
||||
{ import = "plugins.language.python" },
|
||||
|
||||
-- { import = "plugins.language.roc" },
|
||||
{ import = "plugins.language.rust" },
|
||||
{ import = "plugins.language.shell" },
|
||||
|
|
|
@ -2,7 +2,8 @@ vim.opt.listchars = {
|
|||
tab = "│→",
|
||||
extends = "⟩",
|
||||
precedes = "⟨",
|
||||
trail = "·",
|
||||
-- trail = "·",
|
||||
trail = "␣",
|
||||
nbsp = "␣",
|
||||
}
|
||||
vim.opt.foldenable = false
|
||||
|
@ -20,3 +21,7 @@ vim.api.nvim_create_autocmd({ "BufEnter", "BufWinEnter" }, {
|
|||
vim.g.zig_fmt_autosave = 0
|
||||
|
||||
vim.lsp.set_log_level("off")
|
||||
|
||||
vim.api.nvim_create_user_command("Shrug", function()
|
||||
vim.api.nvim_put({ "¯\\_(ツ)_/¯" }, "", false, true)
|
||||
end, {})
|
||||
|
|
|
@ -24,4 +24,15 @@ return {
|
|||
})
|
||||
end,
|
||||
},
|
||||
{
|
||||
"saghen/blink.cmp",
|
||||
opts = {
|
||||
-- 'default' for mappings similar to built-in completion
|
||||
-- 'super-tab' for mappings similar to vscode (tab to accept, arrow keys to navigate)
|
||||
-- 'enter' for mappings similar to 'super-tab' but with 'enter' to accept
|
||||
-- see the "default configuration" section below for full documentation on how to define
|
||||
-- your own keymap.
|
||||
keymap = { preset = "default" },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue