add: custom theme tokyoniht background color

This commit is contained in:
asep komarudin 2024-03-06 19:16:30 +07:00
parent 62e8d40e43
commit ceb9038b6a
5 changed files with 11 additions and 8 deletions

View file

@ -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)

View file

@ -80,7 +80,7 @@ return {
show_close_icon = true,
show_tab_indicators = true,
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,
always_show_bufferline = true,
},

View file

@ -8,15 +8,15 @@ return {
-- Change '<C-g>' here to any keycode you like.
vim.keymap.set("i", "<C-g>", function()
return vim.fn["codeium#Accept"]()
end, { expr = true })
end, { expr = true, silent = true })
vim.keymap.set("i", "<c-;>", function()
return vim.fn["codeium#CycleCompletions"](1)
end, { expr = true })
end, { expr = true, silent = true })
vim.keymap.set("i", "<c-,>", function()
return vim.fn["codeium#CycleCompletions"](-1)
end, { expr = true })
end, { expr = true, silent = true })
vim.keymap.set("i", "<c-x>", function()
return vim.fn["codeium#Clear"]()
end, { expr = true })
end, { expr = true, silent = true })
end,
}

View file

@ -133,7 +133,7 @@ return {
if vim.b.gitsigns_head ~= nil then
return "" .. vim.b.gitsigns_head
else
return " " .. vim.fn.fnamemodify("null", ":t")
return "" .. vim.fn.fnamemodify("", ":t")
end
end

View file

@ -10,7 +10,7 @@ return {
return
end
local transp = true
local sidebar = "transparent" --"dark , transparent, normal"
local sidebar = "normal" --"dark , transparent, normal"
tokyonight.setup({
-- your configuration comes here
-- or leave it empty to use the default settings
@ -40,7 +40,7 @@ return {
--- function will be called with a ColorScheme table
-- @param colors ColorScheme
on_colors = function(colors)
colors.bg_statusline = colors.none
colors.bg_statusline = colors.bg
colors.bg_sidebar = colors.none
end,