More shells, and beautiful wlogout theming
This commit is contained in:
parent
7b4a8b2fa4
commit
16752e40d5
28 changed files with 434 additions and 119 deletions
dotfiles/neovim/lua/my
|
@ -41,7 +41,12 @@ function M.nmap(from, to, desc, silent, isLocal)
|
|||
isLocal = false
|
||||
end
|
||||
|
||||
vim.keymap.set("n", from, to, { desc = desc, silent = silent, buffer = isLocal })
|
||||
vim.keymap.set(
|
||||
"n",
|
||||
from,
|
||||
to,
|
||||
{ desc = desc, silent = silent, buffer = isLocal }
|
||||
)
|
||||
end
|
||||
|
||||
-- }}}
|
||||
|
@ -100,6 +105,16 @@ function M.setup()
|
|||
})
|
||||
-- }}}
|
||||
|
||||
-- {{{ Winblend
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = { "Telescope*" },
|
||||
group = vim.api.nvim_create_augroup("WinblendSettings", {}),
|
||||
callback = function()
|
||||
vim.opt.winblend = 0
|
||||
end,
|
||||
})
|
||||
-- }}}
|
||||
|
||||
return M
|
||||
end
|
||||
|
||||
|
|
|
@ -2,10 +2,11 @@ local M = {}
|
|||
|
||||
function M.setup()
|
||||
local default_length = 0.04
|
||||
vim.g.neovide_floating_blur_amount_x = 3.0
|
||||
vim.g.neovide_floating_blur_amount_y = 3.0
|
||||
vim.g.neovide_transparency = 1.0
|
||||
vim.g.pumblend = 30
|
||||
vim.g.neovide_floating_blur_amount_x = 10.0
|
||||
vim.g.neovide_floating_blur_amount_y = 10.0
|
||||
vim.g.neovide_transparency = 0.6
|
||||
-- vim.g.transparency = 0.6
|
||||
vim.g.pumblend = 100
|
||||
vim.g.neovide_cursor_animation_length = default_length
|
||||
vim.g.neovide_cursor_animate_in_insert_mode = false
|
||||
end
|
||||
|
|
|
@ -34,12 +34,13 @@ function M.config()
|
|||
|
||||
local options = {
|
||||
window = {
|
||||
completion = {
|
||||
documentation = cmp.config.window.bordered(),
|
||||
completion = cmp.config.window.bordered({
|
||||
winhighlight = "Normal:Pmenu,FloatBorder:Pmenu,Search:None",
|
||||
col_offset = -3,
|
||||
side_padding = 0,
|
||||
completeopt = "menu,menuone,noinsert",
|
||||
},
|
||||
}),
|
||||
},
|
||||
formatting = {
|
||||
fields = { "kind", "abbr", "menu" },
|
||||
|
@ -116,6 +117,7 @@ function M.config()
|
|||
{ name = "cmdline" },
|
||||
}),
|
||||
})
|
||||
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
|
@ -140,6 +140,7 @@ return {
|
|||
{
|
||||
-- show progress for lsp stuff
|
||||
"j-hui/fidget.nvim",
|
||||
tag = "legacy",
|
||||
event = "BufReadPre",
|
||||
cond = env.vscode.not_active(),
|
||||
config = true,
|
||||
|
|
|
@ -210,10 +210,10 @@ end
|
|||
function lspconfig.config()
|
||||
diagnostics_icons()
|
||||
-- -- {{{ Change on-hover borders
|
||||
-- vim.lsp.handlers["textDocument/hover"] =
|
||||
-- vim.lsp.with(vim.lsp.handlers.hover, { border = "single" })
|
||||
-- vim.lsp.handlers["textDocument/signatureHelp"] =
|
||||
-- vim.lsp.with(vim.lsp.handlers.signature_help, { border = "single" })
|
||||
vim.lsp.handlers["textDocument/hover"] =
|
||||
vim.lsp.with(vim.lsp.handlers.hover, { border = "single" })
|
||||
vim.lsp.handlers["textDocument/signatureHelp"] =
|
||||
vim.lsp.with(vim.lsp.handlers.signature_help, { border = "single" })
|
||||
-- -- }}}
|
||||
|
||||
local capabilities = M.capabilities()
|
||||
|
|
|
@ -13,7 +13,7 @@ function M.config()
|
|||
|
||||
catppuccin.setup({
|
||||
transparent_background = true,
|
||||
integrations = { nvimtree = true },
|
||||
integrations = { nvimtree = true, telescope = true },
|
||||
})
|
||||
|
||||
vim.cmd([[highlight NotifyINFOIcon guifg=#d6b20f]])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue