mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-22 08:53:31 +02:00
add: custom theme tokyoniht background color
This commit is contained in:
parent
62e8d40e43
commit
ceb9038b6a
5 changed files with 11 additions and 8 deletions
|
@ -1 +1,4 @@
|
||||||
|
local opts = { noremap = true, silent = true }
|
||||||
|
local keymap = vim.api.nvim_set_keymap
|
||||||
|
|
||||||
|
keymap("n", "]h", '<cmd>lua print("Testing")<cr>', opts)
|
||||||
|
|
|
@ -80,7 +80,7 @@ return {
|
||||||
show_close_icon = true,
|
show_close_icon = true,
|
||||||
show_tab_indicators = true,
|
show_tab_indicators = true,
|
||||||
persist_buffer_sort = true, -- whether or not custom sorted buffers should persist
|
persist_buffer_sort = true, -- whether or not custom sorted buffers should persist
|
||||||
separator_style = { "", "" }, -- | "thick" | "thin" | { 'any', 'any' },
|
separator_style = "thin", -- | "thick" | "thin" | { 'any', 'any' },
|
||||||
enforce_regular_tabs = true,
|
enforce_regular_tabs = true,
|
||||||
always_show_bufferline = true,
|
always_show_bufferline = true,
|
||||||
},
|
},
|
||||||
|
|
|
@ -8,15 +8,15 @@ return {
|
||||||
-- Change '<C-g>' here to any keycode you like.
|
-- Change '<C-g>' here to any keycode you like.
|
||||||
vim.keymap.set("i", "<C-g>", function()
|
vim.keymap.set("i", "<C-g>", function()
|
||||||
return vim.fn["codeium#Accept"]()
|
return vim.fn["codeium#Accept"]()
|
||||||
end, { expr = true })
|
end, { expr = true, silent = true })
|
||||||
vim.keymap.set("i", "<c-;>", function()
|
vim.keymap.set("i", "<c-;>", function()
|
||||||
return vim.fn["codeium#CycleCompletions"](1)
|
return vim.fn["codeium#CycleCompletions"](1)
|
||||||
end, { expr = true })
|
end, { expr = true, silent = true })
|
||||||
vim.keymap.set("i", "<c-,>", function()
|
vim.keymap.set("i", "<c-,>", function()
|
||||||
return vim.fn["codeium#CycleCompletions"](-1)
|
return vim.fn["codeium#CycleCompletions"](-1)
|
||||||
end, { expr = true })
|
end, { expr = true, silent = true })
|
||||||
vim.keymap.set("i", "<c-x>", function()
|
vim.keymap.set("i", "<c-x>", function()
|
||||||
return vim.fn["codeium#Clear"]()
|
return vim.fn["codeium#Clear"]()
|
||||||
end, { expr = true })
|
end, { expr = true, silent = true })
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
|
@ -133,7 +133,7 @@ return {
|
||||||
if vim.b.gitsigns_head ~= nil then
|
if vim.b.gitsigns_head ~= nil then
|
||||||
return " " .. vim.b.gitsigns_head
|
return " " .. vim.b.gitsigns_head
|
||||||
else
|
else
|
||||||
return " " .. vim.fn.fnamemodify("null", ":t")
|
return "" .. vim.fn.fnamemodify("", ":t")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ return {
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
local transp = true
|
local transp = true
|
||||||
local sidebar = "transparent" --"dark , transparent, normal"
|
local sidebar = "normal" --"dark , transparent, normal"
|
||||||
tokyonight.setup({
|
tokyonight.setup({
|
||||||
-- your configuration comes here
|
-- your configuration comes here
|
||||||
-- or leave it empty to use the default settings
|
-- or leave it empty to use the default settings
|
||||||
|
@ -40,7 +40,7 @@ return {
|
||||||
--- function will be called with a ColorScheme table
|
--- function will be called with a ColorScheme table
|
||||||
-- @param colors ColorScheme
|
-- @param colors ColorScheme
|
||||||
on_colors = function(colors)
|
on_colors = function(colors)
|
||||||
colors.bg_statusline = colors.none
|
colors.bg_statusline = colors.bg
|
||||||
colors.bg_sidebar = colors.none
|
colors.bg_sidebar = colors.none
|
||||||
end,
|
end,
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue