mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 16:39:04 +02:00
add: update config neovide
This commit is contained in:
parent
d1e7d99d27
commit
f00aeb3add
7 changed files with 250 additions and 253 deletions
6
.stylua.toml
Normal file
6
.stylua.toml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
column_width = 120
|
||||||
|
line_endings = "Unix"
|
||||||
|
indent_type = "Spaces"
|
||||||
|
indent_width = 2
|
||||||
|
quote_style = "AutoPreferDouble"
|
||||||
|
no_call_parentheses = true
|
18
init.lua
18
init.lua
|
@ -1,14 +1,14 @@
|
||||||
if vim.g.vscode then
|
if vim.g.vscode then
|
||||||
-- config vscode
|
-- config vscode
|
||||||
Map = vim.keymap.set
|
Map = vim.keymap.set
|
||||||
Cmd = vim.cmd
|
Cmd = vim.cmd
|
||||||
|
|
||||||
VSCodeNotify = vim.fn.VSCodeNotify
|
VSCodeNotify = vim.fn.VSCodeNotify
|
||||||
VSCodeCall = vim.fn.VSCodeCall
|
VSCodeCall = vim.fn.VSCodeCall
|
||||||
|
|
||||||
require("vscode.functions")
|
require "vscode.functions"
|
||||||
require("vscode.mappings")
|
require "vscode.mappings"
|
||||||
else
|
else
|
||||||
-- config neovim
|
-- config neovim
|
||||||
require("core")
|
require "core"
|
||||||
end
|
end
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
"nvim-autopairs": { "branch": "master", "commit": "c15de7e7981f1111642e7e53799e1211d4606cb9" },
|
"nvim-autopairs": { "branch": "master", "commit": "c15de7e7981f1111642e7e53799e1211d4606cb9" },
|
||||||
"nvim-cmp": { "branch": "main", "commit": "5260e5e8ecadaf13e6b82cf867a909f54e15fd07" },
|
"nvim-cmp": { "branch": "main", "commit": "5260e5e8ecadaf13e6b82cf867a909f54e15fd07" },
|
||||||
"nvim-colorizer.lua": { "branch": "master", "commit": "85855b38011114929f4058efc97af1059ab3e41d" },
|
"nvim-colorizer.lua": { "branch": "master", "commit": "85855b38011114929f4058efc97af1059ab3e41d" },
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "cf3dd4a290084a868fac0e2e876039321d57111c" },
|
"nvim-lspconfig": { "branch": "master", "commit": "0b8165cf95806bc4bb8f745bb0c92021b2ed4b98" },
|
||||||
"nvim-material-icon": { "branch": "main", "commit": "7a8893417c6947925d00946d16b81b56574796a9" },
|
"nvim-material-icon": { "branch": "main", "commit": "7a8893417c6947925d00946d16b81b56574796a9" },
|
||||||
"nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" },
|
"nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" },
|
||||||
"nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" },
|
"nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" },
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
"nvim-tree.lua": { "branch": "master", "commit": "2bc725a3ebc23f0172fb0ab4d1134b81bcc13812" },
|
"nvim-tree.lua": { "branch": "master", "commit": "2bc725a3ebc23f0172fb0ab4d1134b81bcc13812" },
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "73fb37ed77b18ac357ca8e6e35835a8db6602332" },
|
"nvim-treesitter": { "branch": "master", "commit": "73fb37ed77b18ac357ca8e6e35835a8db6602332" },
|
||||||
"nvim-treesitter-textobjects": { "branch": "master", "commit": "5f9bf4b1ead7707e4e74e5319ee56bdc81fb73db" },
|
"nvim-treesitter-textobjects": { "branch": "master", "commit": "5f9bf4b1ead7707e4e74e5319ee56bdc81fb73db" },
|
||||||
"nvim-ts-autotag": { "branch": "main", "commit": "cb57b07803476ee902c89412aeff219a9a58be13" },
|
"nvim-ts-autotag": { "branch": "main", "commit": "6f38e4231c34497259121a007c61a0fd2f16403e" },
|
||||||
"nvim-ts-context-commentstring": { "branch": "main", "commit": "cbab9ad88036915beebd13b47e100743ff2ed2d5" },
|
"nvim-ts-context-commentstring": { "branch": "main", "commit": "cbab9ad88036915beebd13b47e100743ff2ed2d5" },
|
||||||
"nvim-ufo": { "branch": "main", "commit": "a5390706f510d39951dd581f6d2a972741b3fa26" },
|
"nvim-ufo": { "branch": "main", "commit": "a5390706f510d39951dd581f6d2a972741b3fa26" },
|
||||||
"nvim-web-devicons": { "branch": "master", "commit": "5b9067899ee6a2538891573500e8fd6ff008440f" },
|
"nvim-web-devicons": { "branch": "master", "commit": "5b9067899ee6a2538891573500e8fd6ff008440f" },
|
||||||
|
|
|
@ -1,75 +1,66 @@
|
||||||
if vim.g.neovide then
|
if vim.g.neovide then
|
||||||
local opts = { noremap = true, silent = true }
|
local opts = { noremap = true, silent = true }
|
||||||
vim.g.neovide_input_use_logo = 1 -- enable use of the logo (cmd) key
|
vim.g.neovide_input_use_logo = 1 -- enable use of the logo (cmd) key
|
||||||
vim.keymap.set("n", "<c-s>", ":w<CR>", opts) -- Save
|
vim.keymap.set("n", "<c-s>", ":w<CR>", opts) -- Save
|
||||||
vim.keymap.set("v", "<c-c>", '"+y', opts) -- Copy
|
vim.keymap.set("v", "<c-c>", '"+y', opts) -- Copy
|
||||||
vim.keymap.set("n", "<c-v>", '"+P', opts) -- Paste normal mode
|
vim.keymap.set("n", "<c-v>", '"+P', opts) -- Paste normal mode
|
||||||
vim.keymap.set("v", "<c-v>", '"+P', opts) -- Paste visual mode
|
vim.keymap.set("v", "<c-v>", '"+P', opts) -- Paste visual mode
|
||||||
vim.keymap.set("x", "<c-v>", '"+P', opts) -- Paste visual mode
|
vim.keymap.set("x", "<c-v>", '"+P', opts) -- Paste visual mode
|
||||||
vim.keymap.set("c", "<c-v>", "<C-R>+", opts) -- Paste command mode
|
vim.keymap.set("c", "<sc-v>", "<C-R>+", { noremap = true }) -- Paste command mode
|
||||||
vim.keymap.set("c", "<c-v>", '"+P', opts) -- Paste command mode
|
vim.keymap.set("i", "<c-v>", '<ESC>l"+Pli', opts) -- Paste insert mode
|
||||||
vim.keymap.set("i", "<c-v>", '<ESC>l"+Pli', opts) -- Paste insert mode
|
vim.keymap.set(
|
||||||
vim.keymap.set(
|
"n",
|
||||||
"n",
|
"<c-/>",
|
||||||
"<c-/>",
|
"<esc><cmd>lua require('Comment.api').toggle.linewise.current()<cr>$i<Right><leader>",
|
||||||
"<esc><cmd>lua require('Comment.api').toggle.linewise.current()<cr>$i<Right><leader>",
|
opts
|
||||||
opts
|
)
|
||||||
)
|
vim.keymap.set(
|
||||||
vim.keymap.set(
|
"i",
|
||||||
"i",
|
"<c-/>",
|
||||||
"<c-/>",
|
"<esc><cmd>lua require('Comment.api').toggle.linewise.current()<cr>$i<Right><leader>",
|
||||||
"<esc><cmd>lua require('Comment.api').toggle.linewise.current()<cr>$i<Right><leader>",
|
opts
|
||||||
opts
|
)
|
||||||
)
|
vim.keymap.set("v", "<c-/>", "<esc><cmd>lua require('Comment.api').toggle.linewise(vim.fn.visualmode())<cr>", opts)
|
||||||
vim.keymap.set("v", "<c-/>", "<esc><cmd>lua require('Comment.api').toggle.linewise(vim.fn.visualmode())<cr>", opts)
|
|
||||||
|
|
||||||
-- vim.keymap.set("n", "<C-s>", ":w<CR>", opts) -- Save
|
vim.o.guifont = "Hasklug_Nerd_Font:h15"
|
||||||
-- vim.keymap.set("v", "<C-c>", '"+y', opts) -- Copy
|
vim.g.neovide_padding_top = 0
|
||||||
-- vim.keymap.set("n", "<C-v>", '"+P', opts) -- Paste normal mode
|
vim.g.neovide_padding_bottom = 1
|
||||||
-- vim.keymap.set("v", "<C-v>", '"+P', opts) -- Paste visual mode
|
vim.g.neovide_padding_right = 1
|
||||||
-- vim.keymap.set("c", "<C-v>", "<C-R>+", opts) -- Paste command mode
|
vim.g.neovide_padding_left = 1
|
||||||
-- vim.keymap.set("i", "<C-v>", '<ESC>l"+Pli', opts) -- Paste insert mode
|
|
||||||
-- vim.keymap.set("t", "<C-v>", '<C-\\><C-n>"+Pi', opts)
|
|
||||||
|
|
||||||
vim.o.guifont = "Hasklug_Nerd_Font:h15"
|
-- config for transparent
|
||||||
vim.g.neovide_padding_top = 0
|
vim.g.neovide_transparency = 1
|
||||||
vim.g.neovide_padding_bottom = 1
|
vim.g.neovide_hide_mouse_when_typing = false
|
||||||
vim.g.neovide_padding_right = 1
|
vim.g.neovide_underline_automatic_scaling = false
|
||||||
vim.g.neovide_padding_left = 1
|
vim.g.neovide_refresh_rate_idle = 5
|
||||||
|
vim.g.neovide_no_idle = true
|
||||||
|
vim.g.neovide_remember_window_size = true
|
||||||
|
vim.g.neovide_touch_drag_timeout = 0.17
|
||||||
|
vim.g.neovide_show_border = false
|
||||||
|
vim.g.neovide_theme = "auto"
|
||||||
|
vim.g.neovide_confirm_quit = true
|
||||||
|
vim.g.neovide_remember_window_size = true
|
||||||
|
vim.g.neovide_cursor_smooth_blink = true
|
||||||
|
-- animation config
|
||||||
|
--vim.g.neovide_scroll_animation_length = 0.3
|
||||||
|
--vim.g.neovide_cursor_animation_length = 0.13
|
||||||
|
vim.g.neovide_cursor_trail_size = 0.8
|
||||||
|
vim.g.neovide_cursor_antialiasing = true
|
||||||
|
vim.g.neovide_cursor_animate_in_insert_mode = true
|
||||||
|
vim.g.neovide_cursor_vfx_mode = "torpedo"
|
||||||
|
|
||||||
-- config for transparent
|
vim.opt.linespace = 0
|
||||||
vim.g.neovide_transparency = 1
|
vim.g.neovide_scale_factor = 1
|
||||||
vim.g.neovide_hide_mouse_when_typing = false
|
vim.opt.cmdheight = 0
|
||||||
vim.g.neovide_underline_automatic_scaling = false
|
vim.opt.spell = false
|
||||||
vim.g.neovide_refresh_rate_idle = 5
|
|
||||||
vim.g.neovide_no_idle = true
|
|
||||||
vim.g.neovide_remember_window_size = true
|
|
||||||
vim.g.neovide_touch_drag_timeout = 0.17
|
|
||||||
vim.g.neovide_show_border = false
|
|
||||||
vim.g.neovide_theme = "auto"
|
|
||||||
vim.g.neovide_confirm_quit = true
|
|
||||||
vim.g.neovide_remember_window_size = true
|
|
||||||
vim.g.neovide_cursor_smooth_blink = true
|
|
||||||
-- animation config
|
|
||||||
--vim.g.neovide_scroll_animation_length = 0.3
|
|
||||||
--vim.g.neovide_cursor_animation_length = 0.13
|
|
||||||
vim.g.neovide_cursor_trail_size = 0.8
|
|
||||||
vim.g.neovide_cursor_antialiasing = true
|
|
||||||
vim.g.neovide_cursor_animate_in_insert_mode = true
|
|
||||||
vim.g.neovide_cursor_vfx_mode = "torpedo"
|
|
||||||
|
|
||||||
vim.opt.linespace = 0
|
vim.g.neovide_window_blurred = true
|
||||||
vim.g.neovide_scale_factor = 1
|
vim.g.neovide_floating_blur_amount_x = 2.0
|
||||||
vim.opt.cmdheight = 0
|
vim.g.neovide_floating_blur_amount_y = 2.0
|
||||||
vim.opt.spell = false
|
vim.g.neovide_floating_shadow = false
|
||||||
|
vim.g.neovide_floating_z_height = 10
|
||||||
vim.g.neovide_window_blurred = true
|
vim.g.neovide_light_angle_degrees = 45
|
||||||
vim.g.neovide_floating_blur_amount_x = 2.0
|
vim.g.neovide_light_radius = 5
|
||||||
vim.g.neovide_floating_blur_amount_y = 2.0
|
|
||||||
vim.g.neovide_floating_shadow = false
|
|
||||||
vim.g.neovide_floating_z_height = 10
|
|
||||||
vim.g.neovide_light_angle_degrees = 45
|
|
||||||
vim.g.neovide_light_radius = 5
|
|
||||||
end
|
end
|
||||||
|
|
||||||
-- -- Allow clipboard copy paste in neovim
|
-- -- Allow clipboard copy paste in neovim
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
return {
|
return {
|
||||||
-- dashboard
|
-- dashboard
|
||||||
{
|
{
|
||||||
"goolord/alpha-nvim",
|
"goolord/alpha-nvim",
|
||||||
lazy = true,
|
lazy = true,
|
||||||
event = "VimEnter",
|
event = "VimEnter",
|
||||||
config = function()
|
config = function()
|
||||||
require("user.alpha")
|
require "user.alpha"
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
return {
|
return {
|
||||||
"SmiteshP/nvim-navic",
|
"SmiteshP/nvim-navic",
|
||||||
lazy = true,
|
lazy = true,
|
||||||
dependencies = "neovim/nvim-lspconfig",
|
dependencies = "neovim/nvim-lspconfig",
|
||||||
event = "InsertEnter",
|
event = "InsertEnter",
|
||||||
config = function()
|
config = function()
|
||||||
require("user.breadcrumb")
|
require "user.breadcrumb"
|
||||||
require("user.winbar")
|
require "user.winbar"
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,168 +1,168 @@
|
||||||
return {
|
return {
|
||||||
"akinsho/bufferline.nvim",
|
"akinsho/bufferline.nvim",
|
||||||
branch = "main",
|
branch = "main",
|
||||||
event = { "BufRead", "InsertEnter", "BufNewFile" },
|
event = { "BufRead", "InsertEnter", "BufNewFile" },
|
||||||
config = function()
|
config = function()
|
||||||
local status_ok, bufferline = pcall(require, "bufferline")
|
local status_ok, bufferline = pcall(require, "bufferline")
|
||||||
if not status_ok then
|
if not status_ok then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
local icons = vim.g.pcode_icons
|
local icons = vim.g.pcode_icons
|
||||||
local use_icons = true
|
local use_icons = true
|
||||||
|
|
||||||
-- get folder name from current directory
|
-- get folder name from current directory
|
||||||
local _get_folder_name = function()
|
local _get_folder_name = function()
|
||||||
local str = vim.fn.fnamemodify(vim.fn.getcwd(), ":t")
|
local str = vim.fn.fnamemodify(vim.fn.getcwd(), ":t")
|
||||||
return " " .. icons.ui.ProjekFolder .. " " .. str:lower():gsub("^%l", string.upper) .. " "
|
return " " .. icons.ui.ProjekFolder .. " " .. str:lower():gsub("^%l", string.upper) .. " "
|
||||||
end
|
end
|
||||||
|
|
||||||
local function diagnostics_indicator(num, _, diagnostics, _)
|
local function diagnostics_indicator(num, _, diagnostics, _)
|
||||||
local result = {}
|
local result = {}
|
||||||
local symbols = {
|
local symbols = {
|
||||||
error = icons.diagnostics.Error,
|
error = icons.diagnostics.Error,
|
||||||
warning = icons.diagnostics.Warning,
|
warning = icons.diagnostics.Warning,
|
||||||
info = icons.diagnostics.Information,
|
info = icons.diagnostics.Information,
|
||||||
}
|
}
|
||||||
if not use_icons then
|
if not use_icons then
|
||||||
return "(" .. num .. ")"
|
return "(" .. num .. ")"
|
||||||
end
|
end
|
||||||
for name, count in pairs(diagnostics) do
|
for name, count in pairs(diagnostics) do
|
||||||
if symbols[name] and count > 0 then
|
if symbols[name] and count > 0 then
|
||||||
table.insert(result, symbols[name] .. " " .. count)
|
table.insert(result, symbols[name] .. " " .. count)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
result = table.concat(result, " ")
|
result = table.concat(result, " ")
|
||||||
return #result > 0 and result or ""
|
return #result > 0 and result or ""
|
||||||
end
|
end
|
||||||
|
|
||||||
vim.opt.termguicolors = true
|
vim.opt.termguicolors = true
|
||||||
|
|
||||||
bufferline.setup({
|
bufferline.setup {
|
||||||
options = {
|
options = {
|
||||||
color_icons = true,
|
color_icons = true,
|
||||||
numbers = "none", -- | "ordinal" | "buffer_id" | "both" | function({ ordinal, id, lower, raise }): string,
|
numbers = "none", -- | "ordinal" | "buffer_id" | "both" | function({ ordinal, id, lower, raise }): string,
|
||||||
close_command = function(bufnum)
|
close_command = function(bufnum)
|
||||||
require("user.utils.bufferline").bufremove(bufnum)
|
require("user.utils.bufferline").bufremove(bufnum)
|
||||||
end,
|
end,
|
||||||
right_mouse_command = function(bufnum)
|
right_mouse_command = function(bufnum)
|
||||||
require("user.utils.bufferline").bufremove(bufnum)
|
require("user.utils.bufferline").bufremove(bufnum)
|
||||||
end,
|
end,
|
||||||
-- close_command = "bdelete! %d",
|
-- close_command = "bdelete! %d",
|
||||||
-- right_mouse_command = "bdelete! %d",
|
-- right_mouse_command = "bdelete! %d",
|
||||||
left_mouse_command = "buffer %d",
|
left_mouse_command = "buffer %d",
|
||||||
middle_mouse_command = nil,
|
middle_mouse_command = nil,
|
||||||
|
|
||||||
indicator_icon = nil,
|
indicator_icon = nil,
|
||||||
indicator = { style = "icon", icon = icons.ui.BoldLineLeft },
|
indicator = { style = "icon", icon = icons.ui.BoldLineLeft },
|
||||||
buffer_close_icon = icons.ui.Close,
|
buffer_close_icon = icons.ui.Close,
|
||||||
modified_icon = icons.ui.Circle,
|
modified_icon = icons.ui.Circle,
|
||||||
close_icon = icons.ui.BoldClose,
|
close_icon = icons.ui.BoldClose,
|
||||||
left_trunc_marker = icons.ui.ArrowCircleLeft,
|
left_trunc_marker = icons.ui.ArrowCircleLeft,
|
||||||
right_trunc_marker = icons.ui.ArrowCircleRight,
|
right_trunc_marker = icons.ui.ArrowCircleRight,
|
||||||
max_name_length = 30,
|
max_name_length = 30,
|
||||||
max_prefix_length = 30,
|
max_prefix_length = 30,
|
||||||
tab_size = 21,
|
tab_size = 21,
|
||||||
diagnostics = false, -- | "nvim_lsp" | "coc",
|
diagnostics = false, -- | "nvim_lsp" | "coc",
|
||||||
diagnostics_update_in_insert = false,
|
diagnostics_update_in_insert = false,
|
||||||
diagnostics_indicator = diagnostics_indicator,
|
diagnostics_indicator = diagnostics_indicator,
|
||||||
offsets = {
|
offsets = {
|
||||||
{
|
{
|
||||||
filetype = "NvimTree",
|
filetype = "NvimTree",
|
||||||
text = _get_folder_name(),
|
text = _get_folder_name(),
|
||||||
highlight = "Directory",
|
highlight = "Directory",
|
||||||
text_align = "left",
|
text_align = "left",
|
||||||
padding = 1,
|
padding = 1,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
filetype = "neo-tree",
|
filetype = "neo-tree",
|
||||||
text = _get_folder_name(),
|
text = _get_folder_name(),
|
||||||
highlight = "Directory",
|
highlight = "Directory",
|
||||||
text_align = "left",
|
text_align = "left",
|
||||||
padding = 1,
|
padding = 1,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
show_buffer_icons = true,
|
show_buffer_icons = true,
|
||||||
show_buffer_close_icons = true,
|
show_buffer_close_icons = true,
|
||||||
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 = { "", "" }, -- | "thick" | "thin" | { 'any', 'any' },
|
||||||
enforce_regular_tabs = true,
|
enforce_regular_tabs = true,
|
||||||
always_show_bufferline = true,
|
always_show_bufferline = true,
|
||||||
},
|
},
|
||||||
highlights = {
|
highlights = {
|
||||||
background = {
|
background = {
|
||||||
fg = { attribute = "fg", highlight = "TabLine" },
|
fg = { attribute = "fg", highlight = "TabLine" },
|
||||||
bg = { attribute = "none", highlight = "TabLine" },
|
bg = { attribute = "none", highlight = "TabLine" },
|
||||||
},
|
},
|
||||||
buffer_visible = {
|
buffer_visible = {
|
||||||
fg = { attribute = "fg", highlight = "TabLine" },
|
fg = { attribute = "fg", highlight = "TabLine" },
|
||||||
bg = { attribute = "none", highlight = "TabLine" },
|
bg = { attribute = "none", highlight = "TabLine" },
|
||||||
},
|
},
|
||||||
close_button = {
|
close_button = {
|
||||||
fg = { attribute = "fg", highlight = "TabLine" },
|
fg = { attribute = "fg", highlight = "TabLine" },
|
||||||
bg = { attribute = "none", highlight = "TabLine" },
|
bg = { attribute = "none", highlight = "TabLine" },
|
||||||
},
|
},
|
||||||
close_button_visible = {
|
close_button_visible = {
|
||||||
fg = { attribute = "fg", highlight = "TabLine" },
|
fg = { attribute = "fg", highlight = "TabLine" },
|
||||||
bg = { attribute = "none", highlight = "TabLine" },
|
bg = { attribute = "none", highlight = "TabLine" },
|
||||||
},
|
},
|
||||||
tab_selected = {
|
tab_selected = {
|
||||||
fg = { attribute = "fg", highlight = "Normal" },
|
fg = { attribute = "fg", highlight = "Normal" },
|
||||||
bg = { attribute = "bg", highlight = "Normal" },
|
bg = { attribute = "bg", highlight = "Normal" },
|
||||||
},
|
},
|
||||||
tab = {
|
tab = {
|
||||||
fg = { attribute = "fg", highlight = "TabLine" },
|
fg = { attribute = "fg", highlight = "TabLine" },
|
||||||
bg = { attribute = "bg", highlight = "TabLine" },
|
bg = { attribute = "bg", highlight = "TabLine" },
|
||||||
},
|
},
|
||||||
tab_close = {
|
tab_close = {
|
||||||
-- fg = {attribute='fg',highlight='LspDiagnosticsDefaultError'},
|
-- fg = {attribute='fg',highlight='LspDiagnosticsDefaultError'},
|
||||||
fg = { attribute = "fg", highlight = "TabLineSel" },
|
fg = { attribute = "fg", highlight = "TabLineSel" },
|
||||||
bg = { attribute = "bg", highlight = "Normal" },
|
bg = { attribute = "bg", highlight = "Normal" },
|
||||||
},
|
},
|
||||||
duplicate_selected = {
|
duplicate_selected = {
|
||||||
fg = { attribute = "fg", highlight = "TabLineSel" },
|
fg = { attribute = "fg", highlight = "TabLineSel" },
|
||||||
bg = { attribute = "bg", highlight = "TabLineSel" },
|
bg = { attribute = "bg", highlight = "TabLineSel" },
|
||||||
underline = true,
|
underline = true,
|
||||||
},
|
},
|
||||||
duplicate_visible = {
|
duplicate_visible = {
|
||||||
fg = { attribute = "fg", highlight = "TabLine" },
|
fg = { attribute = "fg", highlight = "TabLine" },
|
||||||
bg = { attribute = "bg", highlight = "TabLine" },
|
bg = { attribute = "bg", highlight = "TabLine" },
|
||||||
underline = true,
|
underline = true,
|
||||||
},
|
},
|
||||||
duplicate = {
|
duplicate = {
|
||||||
fg = { attribute = "fg", highlight = "TabLine" },
|
fg = { attribute = "fg", highlight = "TabLine" },
|
||||||
bg = { attribute = "bg", highlight = "TabLine" },
|
bg = { attribute = "bg", highlight = "TabLine" },
|
||||||
underline = true,
|
underline = true,
|
||||||
},
|
},
|
||||||
|
|
||||||
modified = {
|
modified = {
|
||||||
fg = { attribute = "fg", highlight = "TabLine" },
|
fg = { attribute = "fg", highlight = "TabLine" },
|
||||||
bg = { attribute = "bg", highlight = "TabLine" },
|
bg = { attribute = "bg", highlight = "TabLine" },
|
||||||
},
|
},
|
||||||
modified_selected = {
|
modified_selected = {
|
||||||
fg = { attribute = "fg", highlight = "Normal" },
|
fg = { attribute = "fg", highlight = "Normal" },
|
||||||
bg = { attribute = "bg", highlight = "Normal" },
|
bg = { attribute = "bg", highlight = "Normal" },
|
||||||
},
|
},
|
||||||
modified_visible = {
|
modified_visible = {
|
||||||
fg = { attribute = "fg", highlight = "TabLine" },
|
fg = { attribute = "fg", highlight = "TabLine" },
|
||||||
bg = { attribute = "bg", highlight = "TabLine" },
|
bg = { attribute = "bg", highlight = "TabLine" },
|
||||||
},
|
},
|
||||||
|
|
||||||
separator = {
|
separator = {
|
||||||
fg = { attribute = "bg", highlight = "TabLine" },
|
fg = { attribute = "bg", highlight = "TabLine" },
|
||||||
bg = { attribute = "bg", highlight = "TabLine" },
|
bg = { attribute = "bg", highlight = "TabLine" },
|
||||||
},
|
},
|
||||||
separator_selected = {
|
separator_selected = {
|
||||||
fg = { attribute = "bg", highlight = "Normal" },
|
fg = { attribute = "bg", highlight = "Normal" },
|
||||||
bg = { attribute = "bg", highlight = "Normal" },
|
bg = { attribute = "bg", highlight = "Normal" },
|
||||||
},
|
},
|
||||||
indicator_selected = {
|
indicator_selected = {
|
||||||
fg = { attribute = "fg", highlight = "LspDiagnosticsDefaultHint" },
|
fg = { attribute = "fg", highlight = "LspDiagnosticsDefaultHint" },
|
||||||
bg = { attribute = "bg", highlight = "Normal" },
|
bg = { attribute = "bg", highlight = "Normal" },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
}
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue