diff --git a/lazy-lock.json b/lazy-lock.json index 2f90d5c..1bab449 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -18,7 +18,7 @@ "lazy.nvim": { "branch": "main", "commit": "bef521ac89c8d423f9d092e37b58e8af0c099309" }, "lsp-progress.nvim": { "branch": "main", "commit": "83b16a9791fa788c0a7ca90374118ed15d2c09ed" }, "lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" }, - "mason-lspconfig.nvim": { "branch": "main", "commit": "2ba17cecfde8b8c7c7c287909a1e4de895223df6" }, + "mason-lspconfig.nvim": { "branch": "main", "commit": "1a14770dc8c7cb29643870ac79788eec6f7ce1f8" }, "mason-null-ls.nvim": { "branch": "main", "commit": "2b8433f76598397fcc97318d410e0c4f7a4bea6a" }, "mason.nvim": { "branch": "main", "commit": "c43eeb5614a09dc17c03a7fb49de2e05de203924" }, "noice.nvim": { "branch": "main", "commit": "0cbe3f88d038320bdbda3c4c5c95f43a13c3aa12" }, @@ -26,10 +26,10 @@ "none-ls.nvim": { "branch": "main", "commit": "88821b67e6007041f43b802f58e3d9fa9bfce684" }, "nui.nvim": { "branch": "main", "commit": "a0fd35fcbb4cb479366f1dc5f20145fd718a3733" }, "nvim-autopairs": { "branch": "master", "commit": "4f41e5940bc0443fdbe5f995e2a596847215cd2a" }, - "nvim-cmp": { "branch": "main", "commit": "ce16de5665c766f39c271705b17fff06f7bcb84f" }, + "nvim-cmp": { "branch": "main", "commit": "8f3c541407e691af6163e2447f3af1bd6e17f9a3" }, "nvim-colorizer.lua": { "branch": "master", "commit": "85855b38011114929f4058efc97af1059ab3e41d" }, "nvim-lspconfig": { "branch": "master", "commit": "cf3dd4a290084a868fac0e2e876039321d57111c" }, - "nvim-material-icon": { "branch": "main", "commit": "602088c2682e61cbebd7191de7dc88bfa90c6890" }, + "nvim-material-icon": { "branch": "main", "commit": "ee3d4f54a3bf9716b7f8ad5eefcaa53afebd24a1" }, "nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" }, "nvim-notify": { "branch": "master", "commit": "5371f4bfc1f6d3adf4fe9d62cd3a9d44356bfd15" }, "nvim-scrollview": { "branch": "main", "commit": "c29c5f69d37040a1fac88cbea7f5e6f06f0aff4d" }, @@ -46,7 +46,7 @@ "smart-splits.nvim": { "branch": "master", "commit": "f6fcb79527872e9330c554915af2ca511c388390" }, "statuscol.nvim": { "branch": "main", "commit": "483b9a596dfd63d541db1aa51ee6ee9a1441c4cc" }, "telescope.nvim": { "branch": "master", "commit": "7d1698f3d88b448e0639974248cc17f49b7b8acf" }, - "toggleterm.nvim": { "branch": "main", "commit": "193786e0371e3286d3bc9aa0079da1cd41beaa62" }, + "toggleterm.nvim": { "branch": "main", "commit": "066cccf48a43553a80a210eb3be89a15d789d6e6" }, "vim-illuminate": { "branch": "master", "commit": "e522e0dd742a83506db0a72e1ced68c9c130f185" }, "vim-startuptime": { "branch": "master", "commit": "97a88e688482a09c3c4b777d07b509b328a5ec29" }, "vim-visual-multi": { "branch": "master", "commit": "1c9207b28c8898ab01b54e6d6b61b0b820a814bc" }, diff --git a/lua/custom/plugins/lualine.lua b/lua/custom/plugins/lualine.lua deleted file mode 100644 index 1422577..0000000 --- a/lua/custom/plugins/lualine.lua +++ /dev/null @@ -1,282 +0,0 @@ -return { - -- { - -- "nvim-lualine/lualine.nvim", - -- event = "insertEnter", - -- config = function() - -- local hide_in_width = function() - -- return vim.fn.winwidth(0) > 80 - -- end - -- local icons = require("user.icons") - -- - -- -- start for lsp - -- local list_registered_providers_names = function(filetype) - -- local s = require("null-ls.sources") - -- local available_sources = s.get_available(filetype) - -- local registered = {} - -- for _, source in ipairs(available_sources) do - -- for method in pairs(source.methods) do - -- registered[method] = registered[method] or {} - -- table.insert(registered[method], source.name) - -- end - -- end - -- return registered - -- end - -- - -- local null_ls = require("null-ls") - -- -- for formatter - -- local list_registered = function(filetype) - -- local method = null_ls.methods.FORMATTING - -- local registered_providers = list_registered_providers_names(filetype) - -- return registered_providers[method] or {} - -- end - -- - -- --- for linter - -- local alternative_methods = { - -- null_ls.methods.DIAGNOSTICS, - -- null_ls.methods.DIAGNOSTICS_ON_OPEN, - -- null_ls.methods.DIAGNOSTICS_ON_SAVE, - -- } - -- - -- local linter_list_registered = function(filetype) - -- local registered_providers = list_registered_providers_names(filetype) - -- local providers_for_methods = vim.tbl_flatten(vim.tbl_map(function(m) - -- return registered_providers[m] or {} - -- end, alternative_methods)) - -- - -- return providers_for_methods - -- end - -- -- end for lsp - -- - -- local lsp_info = { - -- function() - -- local msg = "LS Inactive" - -- local buf_ft = vim.bo.filetype - -- local clients = vim.lsp.get_active_clients() - -- -- start register - -- local buf_clients = vim.lsp.buf_get_clients() - -- local buf_client_names = {} - -- if next(buf_clients) == nil then - -- -- TODO: clean up this if statement - -- if type(msg) == "boolean" or #msg == 0 then - -- return "LS Inactive" - -- end - -- return msg - -- end - -- -- add client - -- for _, client in pairs(buf_clients) do - -- if client.name ~= "null-ls" and client.name ~= "copilot" then - -- table.insert(buf_client_names, client.name) - -- end - -- end - -- -- add formatter - -- local supported_formatters = list_registered(buf_ft) - -- vim.list_extend(buf_client_names, supported_formatters) - -- -- add linter - -- local supported_linters = linter_list_registered(buf_ft) - -- vim.list_extend(buf_client_names, supported_linters) - -- -- decomple - -- local unique_client_names = vim.fn.uniq(buf_client_names) - -- local msg = table.concat(unique_client_names, ", ") - -- return msg - -- end, - -- --icon = " ", - -- icon = icons.ui.Gear .. "", - -- padding = 1, - -- } - -- - -- local diagnostics = { - -- "diagnostics", - -- sources = { "nvim_diagnostic" }, - -- sections = { "error", "warn" }, - -- -- symbols = { error = " ", warn = " " }, - -- symbols = { - -- error = icons.diagnostics.BoldError .. " ", - -- warn = icons.diagnostics.BoldWarning .. " ", - -- }, - -- colored = true, - -- update_in_insert = false, - -- always_visible = false, - -- } - -- - -- local diff = { - -- "diff", - -- colored = true, - -- -- symbols = { added = " ", modified = " ", removed = " " }, -- changes diff symbols - -- symbols = { - -- added = icons.git.LineAdded .. " ", - -- modified = icons.git.LineModified .. " ", - -- removed = icons.git.LineRemoved .. " ", - -- }, -- changes diff symbols - -- cond = hide_in_width, - -- } - -- - -- local spaces = function() - -- -- return " " .. vim.api.nvim_buf_get_option(0, "shiftwidth") - -- return icons.ui.Tab .. " " .. vim.api.nvim_buf_get_option(0, "shiftwidth") - -- end - -- - -- local mode = { - -- "mode", - -- padding = 1, - -- separator = { left = " " }, - -- -- right_padding = 3, - -- fmt = function(str) - -- return icons.ui.Neovim .. " " .. str - -- end, - -- } - -- local branch = { - -- "branch", - -- padding = 1, - -- } - -- - -- local get_branch = function() - -- if vim.b.gitsigns_head ~= nil then - -- return " " .. vim.b.gitsigns_head - -- else - -- return "" .. vim.fn.fnamemodify("", ":t") - -- end - -- end - -- - -- local lsp_progress = {} - -- local data_ok, lspprogress = pcall(require, "lsp-progress") - -- if data_ok then - -- lsp_progress = lspprogress.progress - -- end - -- -- stylua: ignore - -- local colors = { - -- blue = '#50fa7b', - -- cyan = '#f1fa8c', - -- black = '#1a1b26', - -- black_transparant = 'none', - -- white = '#c6c6c6', - -- red = "#ff757f", - -- skyblue_1 = '#bd93f9', - -- grey = '#5f6a8e', - -- yellow = "#ffb86c", - -- fg_gutter = "#3b4261", - -- green1 = "#bd93f9", - -- } - -- - -- -- check config for theme - -- local set_theme - -- local bubbles_theme = {} - -- local data_exists, config = pcall(require, "core.config") - -- if data_exists then - -- if config.colorscheme ~= nil then - -- local color = config.colorscheme - -- switch(color, { - -- ["tokyonight"] = function() - -- set_theme = "auto" - -- end, - -- ["tokyonight-night"] = function() - -- set_theme = "auto" - -- end, - -- ["tokyonight-storm"] = function() - -- set_theme = "auto" - -- end, - -- ["tokyonight-day"] = function() - -- set_theme = "auto" - -- end, - -- ["tokyonight-moon"] = function() - -- set_theme = "auto" - -- end, - -- ["dracula"] = function() - -- local clr = require("dracula").colors() - -- colors.blue = clr.green - -- colors.black = clr.black - -- colors.cyan = clr.yellow - -- set_theme = bubbles_theme - -- end, - -- default = function() - -- set_theme = "auto" - -- end, - -- }) - -- end - -- end - -- - -- bubbles_theme = { - -- normal = { - -- a = { fg = colors.black, bg = colors.skyblue_1 }, - -- b = { fg = colors.white, bg = colors.grey }, - -- c = { fg = colors.white, bg = "none" }, - -- }, - -- - -- insert = { - -- a = { fg = colors.black, bg = colors.blue }, - -- b = { fg = colors.blue, bg = colors.grey }, - -- }, - -- visual = { - -- a = { fg = colors.black, bg = colors.cyan }, - -- b = { fg = colors.cyan, bg = colors.grey }, - -- }, - -- replace = { - -- a = { bg = colors.red, fg = colors.black }, - -- b = { bg = colors.fg_gutter, fg = colors.red }, - -- }, - -- command = { - -- a = { bg = colors.yellow, fg = colors.black }, - -- b = { bg = colors.fg_gutter, fg = colors.yellow }, - -- }, - -- terminal = { - -- a = { bg = colors.green1, fg = colors.black }, - -- b = { bg = colors.fg_gutter, fg = colors.green1 }, - -- }, - -- inactive = { - -- a = { fg = colors.white, bg = colors.black_transparant }, - -- b = { fg = colors.white, bg = colors.black_transparant }, - -- c = { fg = colors.black, bg = "#393f4a" }, - -- }, - -- } - -- - -- if set_theme == "auto" then - -- bubbles_theme = vim.fn.fnamemodify("auto", ":t") - -- end - -- - -- require("lualine").setup({ - -- options = { - -- theme = bubbles_theme, - -- -- theme = "auto", - -- component_separators = { left = "", right = "" }, - -- section_separators = { left = "", right = "" }, - -- disabled_filetypes = { - -- "TelescopePrompt", - -- "packer", - -- "alpha", - -- "dashboard", - -- "NvimTree", - -- "Outline", - -- "DressingInput", - -- "toggleterm", - -- "lazy", - -- "mason", - -- "neo-tree", - -- "startuptime", - -- }, - -- always_divide_middle = true, - -- }, - -- sections = { - -- lualine_a = { - -- mode, - -- }, - -- lualine_b = { "branch" }, - -- lualine_c = { lsp_info, diagnostics, lsp_progress }, - -- lualine_x = { diff, spaces, "filetype" }, - -- lualine_y = { "progress" }, - -- lualine_z = { - -- { "location", separator = { right = " " }, padding = { left = 1, right = 1 } }, - -- }, - -- }, - -- inactive_sections = { - -- lualine_a = { "filename" }, - -- lualine_b = {}, - -- lualine_c = {}, - -- lualine_x = {}, - -- lualine_y = {}, - -- lualine_z = { "location" }, - -- }, - -- tabline = {}, - -- extensions = {}, - -- }) - -- end, - -- }, -} diff --git a/lua/custom/plugins/lualine_backup.lua b/lua/custom/plugins/lualine_backup.lua index 964148c..277d956 100644 --- a/lua/custom/plugins/lualine_backup.lua +++ b/lua/custom/plugins/lualine_backup.lua @@ -1,290 +1,290 @@ return { - { - "nvim-lualine/lualine.nvim", - event = "InsertEnter", - config = function() - local hide_in_width = function() - return vim.fn.winwidth(0) > 80 - end - local icons = require("user.icons") - - local getLeftSubstring = function(word, length) - if #word > length then - return string.sub(word, 1, length) .. "..." - else - return word - end - end - - -- start for lsp - local list_registered_providers_names = function(filetype) - local s = require("null-ls.sources") - local available_sources = s.get_available(filetype) - local registered = {} - for _, source in ipairs(available_sources) do - for method in pairs(source.methods) do - registered[method] = registered[method] or {} - table.insert(registered[method], source.name) - end - end - return registered - end - - local null_ls = require("null-ls") - -- for formatter - local list_registered = function(filetype) - local method = null_ls.methods.FORMATTING - local registered_providers = list_registered_providers_names(filetype) - return registered_providers[method] or {} - end - - --- for linter - local alternative_methods = { - null_ls.methods.DIAGNOSTICS, - null_ls.methods.DIAGNOSTICS_ON_OPEN, - null_ls.methods.DIAGNOSTICS_ON_SAVE, - } - - local linter_list_registered = function(filetype) - local registered_providers = list_registered_providers_names(filetype) - local providers_for_methods = vim.tbl_flatten(vim.tbl_map(function(m) - return registered_providers[m] or {} - end, alternative_methods)) - - return providers_for_methods - end - -- end for lsp - - local lsp_info = { - function() - local msg = "LS Inactive" - local buf_ft = vim.bo.filetype - local clients = vim.lsp.get_active_clients() - -- start register - local buf_clients = vim.lsp.buf_get_clients() - local buf_client_names = {} - if next(buf_clients) == nil then - -- TODO: clean up this if statement - if type(msg) == "boolean" or #msg == 0 then - return "LS Inactive" - end - return msg - end - -- add client - for _, client in pairs(buf_clients) do - if client.name ~= "null-ls" and client.name ~= "copilot" then - table.insert(buf_client_names, client.name) - end - end - -- add formatter - local supported_formatters = list_registered(buf_ft) - vim.list_extend(buf_client_names, supported_formatters) - -- add linter - local supported_linters = linter_list_registered(buf_ft) - vim.list_extend(buf_client_names, supported_linters) - -- decomple - local unique_client_names = vim.fn.uniq(buf_client_names) - local msg = table.concat(unique_client_names, ", ") - return msg - end, - --icon = " ", - icon = icons.ui.Gear .. "", - padding = 1, - } - - local diagnostics = { - "diagnostics", - sources = { "nvim_diagnostic" }, - sections = { "error", "warn" }, - -- symbols = { error = " ", warn = " " }, - symbols = { - error = icons.diagnostics.BoldError .. " ", - warn = icons.diagnostics.BoldWarning .. " ", - }, - colored = true, - update_in_insert = false, - always_visible = false, - } - - local diff = { - "diff", - colored = true, - -- symbols = { added = " ", modified = " ", removed = " " }, -- changes diff symbols - symbols = { - added = icons.git.LineAdded .. " ", - modified = icons.git.LineModified .. " ", - removed = icons.git.LineRemoved .. " ", - }, -- changes diff symbols - cond = hide_in_width, - } - - local spaces = function() - -- return " " .. vim.api.nvim_buf_get_option(0, "shiftwidth") - return icons.ui.Tab .. " " .. vim.api.nvim_buf_get_option(0, "shiftwidth") - end - - local mode = { - "mode", - padding = 1, - separator = { left = " " }, - -- right_padding = 3, - fmt = function(str) - return icons.ui.Neovim .. " " .. str - end, - } - local branch = { - "branch", - padding = 1, - } - - local get_branch = function() - if vim.b.gitsigns_head ~= nil then - return icons.git.Branch2 .. " " .. getLeftSubstring(vim.b.gitsigns_head, 6) - else - return icons.git.Branch2 .. vim.fn.fnamemodify("", ":t") - end - end - - local lsp_progress = {} - local data_ok, lspprogress = pcall(require, "lsp-progress") - if data_ok then - lsp_progress = lspprogress.progress - end - -- stylua: ignore - local colors = { - blue = '#50fa7b', - cyan = '#f1fa8c', - black = '#1a1b26', - black_transparant = 'none', - white = '#c6c6c6', - red = "#ff757f", - skyblue_1 = '#bd93f9', - grey = '#5f6a8e', - yellow = "#ffb86c", - fg_gutter = "#3b4261", - green1 = "#bd93f9", - } - - -- check config for theme - local set_theme - local bubbles_theme = {} - local data_exists, config = pcall(require, "core.config") - if data_exists then - if config.colorscheme ~= nil then - local color = config.colorscheme - switch(color, { - ["tokyonight"] = function() - set_theme = "auto" - end, - ["tokyonight-night"] = function() - set_theme = "auto" - end, - ["tokyonight-storm"] = function() - set_theme = "auto" - end, - ["tokyonight-day"] = function() - set_theme = "auto" - end, - ["tokyonight-moon"] = function() - set_theme = "auto" - end, - ["dracula"] = function() - local clr = require("dracula").colors() - colors.blue = clr.green - colors.black = clr.black - colors.cyan = clr.yellow - set_theme = bubbles_theme - end, - default = function() - set_theme = "auto" - end, - }) - end - end - - bubbles_theme = { - normal = { - a = { fg = colors.black, bg = colors.skyblue_1 }, - b = { fg = colors.white, bg = colors.grey }, - c = { fg = colors.white, bg = colors.black_transparant }, - }, - - insert = { - a = { fg = colors.black, bg = colors.blue }, - b = { fg = colors.blue, bg = colors.grey }, - }, - visual = { - a = { fg = colors.black, bg = colors.cyan }, - b = { fg = colors.cyan, bg = colors.grey }, - }, - replace = { - a = { bg = colors.red, fg = colors.black }, - b = { bg = colors.fg_gutter, fg = colors.red }, - }, - command = { - a = { bg = colors.yellow, fg = colors.black }, - b = { bg = colors.fg_gutter, fg = colors.yellow }, - }, - terminal = { - a = { bg = colors.green1, fg = colors.black }, - b = { bg = colors.fg_gutter, fg = colors.green1 }, - }, - inactive = { - a = { fg = colors.white, bg = colors.black_transparant }, - b = { fg = colors.white, bg = colors.black_transparant }, - c = { fg = colors.black, bg = colors.black_transparant }, - }, - } - - if set_theme == "auto" then - bubbles_theme = vim.fn.fnamemodify("auto", ":t") - end - - require("lualine").setup({ - options = { - theme = bubbles_theme, - -- theme = "auto", - component_separators = { left = "", right = "" }, - section_separators = { left = "", right = "" }, - disabled_filetypes = { - "TelescopePrompt", - "packer", - "alpha", - "dashboard", - "NvimTree", - "Outline", - "DressingInput", - "toggleterm", - "lazy", - "mason", - "neo-tree", - "startuptime", - }, - always_divide_middle = true, - }, - sections = { - lualine_a = { - mode, - }, - lualine_b = { get_branch }, - lualine_c = { lsp_info, diagnostics, lsp_progress }, - lualine_x = { diff, spaces, "filetype" }, - lualine_y = { "progress" }, - lualine_z = { - { "location", separator = { right = " " }, padding = 1 }, - }, - }, - inactive_sections = { - lualine_a = { "filename" }, - lualine_b = {}, - lualine_c = {}, - lualine_x = {}, - lualine_y = {}, - lualine_z = { "location" }, - }, - tabline = {}, - extensions = {}, - }) - end, - }, + -- { + -- "nvim-lualine/lualine.nvim", + -- event = "InsertEnter", + -- config = function() + -- local hide_in_width = function() + -- return vim.fn.winwidth(0) > 80 + -- end + -- local icons = require("user.icons") + -- + -- local getLeftSubstring = function(word, length) + -- if #word > length then + -- return string.sub(word, 1, length) .. "..." + -- else + -- return word + -- end + -- end + -- + -- -- start for lsp + -- local list_registered_providers_names = function(filetype) + -- local s = require("null-ls.sources") + -- local available_sources = s.get_available(filetype) + -- local registered = {} + -- for _, source in ipairs(available_sources) do + -- for method in pairs(source.methods) do + -- registered[method] = registered[method] or {} + -- table.insert(registered[method], source.name) + -- end + -- end + -- return registered + -- end + -- + -- local null_ls = require("null-ls") + -- -- for formatter + -- local list_registered = function(filetype) + -- local method = null_ls.methods.FORMATTING + -- local registered_providers = list_registered_providers_names(filetype) + -- return registered_providers[method] or {} + -- end + -- + -- --- for linter + -- local alternative_methods = { + -- null_ls.methods.DIAGNOSTICS, + -- null_ls.methods.DIAGNOSTICS_ON_OPEN, + -- null_ls.methods.DIAGNOSTICS_ON_SAVE, + -- } + -- + -- local linter_list_registered = function(filetype) + -- local registered_providers = list_registered_providers_names(filetype) + -- local providers_for_methods = vim.tbl_flatten(vim.tbl_map(function(m) + -- return registered_providers[m] or {} + -- end, alternative_methods)) + -- + -- return providers_for_methods + -- end + -- -- end for lsp + -- + -- local lsp_info = { + -- function() + -- local msg = "LS Inactive" + -- local buf_ft = vim.bo.filetype + -- local clients = vim.lsp.get_active_clients() + -- -- start register + -- local buf_clients = vim.lsp.buf_get_clients() + -- local buf_client_names = {} + -- if next(buf_clients) == nil then + -- -- TODO: clean up this if statement + -- if type(msg) == "boolean" or #msg == 0 then + -- return "LS Inactive" + -- end + -- return msg + -- end + -- -- add client + -- for _, client in pairs(buf_clients) do + -- if client.name ~= "null-ls" and client.name ~= "copilot" then + -- table.insert(buf_client_names, client.name) + -- end + -- end + -- -- add formatter + -- local supported_formatters = list_registered(buf_ft) + -- vim.list_extend(buf_client_names, supported_formatters) + -- -- add linter + -- local supported_linters = linter_list_registered(buf_ft) + -- vim.list_extend(buf_client_names, supported_linters) + -- -- decomple + -- local unique_client_names = vim.fn.uniq(buf_client_names) + -- local msg = table.concat(unique_client_names, ", ") + -- return msg + -- end, + -- --icon = " ", + -- icon = icons.ui.Gear .. "", + -- padding = 1, + -- } + -- + -- local diagnostics = { + -- "diagnostics", + -- sources = { "nvim_diagnostic" }, + -- sections = { "error", "warn" }, + -- -- symbols = { error = " ", warn = " " }, + -- symbols = { + -- error = icons.diagnostics.BoldError .. " ", + -- warn = icons.diagnostics.BoldWarning .. " ", + -- }, + -- colored = true, + -- update_in_insert = false, + -- always_visible = false, + -- } + -- + -- local diff = { + -- "diff", + -- colored = true, + -- -- symbols = { added = " ", modified = " ", removed = " " }, -- changes diff symbols + -- symbols = { + -- added = icons.git.LineAdded .. " ", + -- modified = icons.git.LineModified .. " ", + -- removed = icons.git.LineRemoved .. " ", + -- }, -- changes diff symbols + -- cond = hide_in_width, + -- } + -- + -- local spaces = function() + -- -- return " " .. vim.api.nvim_buf_get_option(0, "shiftwidth") + -- return icons.ui.Tab .. " " .. vim.api.nvim_buf_get_option(0, "shiftwidth") + -- end + -- + -- local mode = { + -- "mode", + -- padding = 1, + -- separator = { left = " " }, + -- -- right_padding = 3, + -- fmt = function(str) + -- return icons.ui.Neovim .. " " .. str + -- end, + -- } + -- local branch = { + -- "branch", + -- padding = 1, + -- } + -- + -- local get_branch = function() + -- if vim.b.gitsigns_head ~= nil then + -- return icons.git.Branch2 .. " " .. getLeftSubstring(vim.b.gitsigns_head, 6) + -- else + -- return icons.git.Branch2 .. vim.fn.fnamemodify("", ":t") + -- end + -- end + -- + -- local lsp_progress = {} + -- local data_ok, lspprogress = pcall(require, "lsp-progress") + -- if data_ok then + -- lsp_progress = lspprogress.progress + -- end + -- -- stylua: ignore + -- local colors = { + -- blue = '#50fa7b', + -- cyan = '#f1fa8c', + -- black = '#1a1b26', + -- black_transparant = 'none', + -- white = '#c6c6c6', + -- red = "#ff757f", + -- skyblue_1 = '#bd93f9', + -- grey = '#5f6a8e', + -- yellow = "#ffb86c", + -- fg_gutter = "#3b4261", + -- green1 = "#bd93f9", + -- } + -- + -- -- check config for theme + -- local set_theme + -- local bubbles_theme = {} + -- local data_exists, config = pcall(require, "core.config") + -- if data_exists then + -- if config.colorscheme ~= nil then + -- local color = config.colorscheme + -- switch(color, { + -- ["tokyonight"] = function() + -- set_theme = "auto" + -- end, + -- ["tokyonight-night"] = function() + -- set_theme = "auto" + -- end, + -- ["tokyonight-storm"] = function() + -- set_theme = "auto" + -- end, + -- ["tokyonight-day"] = function() + -- set_theme = "auto" + -- end, + -- ["tokyonight-moon"] = function() + -- set_theme = "auto" + -- end, + -- ["dracula"] = function() + -- local clr = require("dracula").colors() + -- colors.blue = clr.green + -- colors.black = clr.black + -- colors.cyan = clr.yellow + -- set_theme = bubbles_theme + -- end, + -- default = function() + -- set_theme = "auto" + -- end, + -- }) + -- end + -- end + -- + -- bubbles_theme = { + -- normal = { + -- a = { fg = colors.black, bg = colors.skyblue_1 }, + -- b = { fg = colors.white, bg = colors.grey }, + -- c = { fg = colors.white, bg = colors.black_transparant }, + -- }, + -- + -- insert = { + -- a = { fg = colors.black, bg = colors.blue }, + -- b = { fg = colors.blue, bg = colors.grey }, + -- }, + -- visual = { + -- a = { fg = colors.black, bg = colors.cyan }, + -- b = { fg = colors.cyan, bg = colors.grey }, + -- }, + -- replace = { + -- a = { bg = colors.red, fg = colors.black }, + -- b = { bg = colors.fg_gutter, fg = colors.red }, + -- }, + -- command = { + -- a = { bg = colors.yellow, fg = colors.black }, + -- b = { bg = colors.fg_gutter, fg = colors.yellow }, + -- }, + -- terminal = { + -- a = { bg = colors.green1, fg = colors.black }, + -- b = { bg = colors.fg_gutter, fg = colors.green1 }, + -- }, + -- inactive = { + -- a = { fg = colors.white, bg = colors.black_transparant }, + -- b = { fg = colors.white, bg = colors.black_transparant }, + -- c = { fg = colors.black, bg = colors.black_transparant }, + -- }, + -- } + -- + -- if set_theme == "auto" then + -- bubbles_theme = vim.fn.fnamemodify("auto", ":t") + -- end + -- + -- require("lualine").setup({ + -- options = { + -- theme = bubbles_theme, + -- -- theme = "auto", + -- component_separators = { left = "", right = "" }, + -- section_separators = { left = "", right = "" }, + -- disabled_filetypes = { + -- "TelescopePrompt", + -- "packer", + -- "alpha", + -- "dashboard", + -- "NvimTree", + -- "Outline", + -- "DressingInput", + -- "toggleterm", + -- "lazy", + -- "mason", + -- "neo-tree", + -- "startuptime", + -- }, + -- always_divide_middle = true, + -- }, + -- sections = { + -- lualine_a = { + -- mode, + -- }, + -- lualine_b = { get_branch }, + -- lualine_c = { lsp_info, diagnostics, lsp_progress }, + -- lualine_x = { diff, spaces, "filetype" }, + -- lualine_y = { "progress" }, + -- lualine_z = { + -- { "location", separator = { right = " " }, padding = 1 }, + -- }, + -- }, + -- inactive_sections = { + -- lualine_a = { "filename" }, + -- lualine_b = {}, + -- lualine_c = {}, + -- lualine_x = {}, + -- lualine_y = {}, + -- lualine_z = { "location" }, + -- }, + -- tabline = {}, + -- extensions = {}, + -- }) + -- end, + -- }, } diff --git a/lua/custom/plugins/lualine_onedark.lua b/lua/custom/plugins/lualine_onedark.lua new file mode 100644 index 0000000..e330c37 --- /dev/null +++ b/lua/custom/plugins/lualine_onedark.lua @@ -0,0 +1,244 @@ +return { + { + "nvim-lualine/lualine.nvim", + event = "InsertEnter", + config = function() + local hide_in_width = function() + return vim.fn.winwidth(0) > 80 + end + local icons = require("user.icons") + + local getLeftSubstring = function(word, length) + if #word > length then + return string.sub(word, 1, length) .. "..." + else + return word + end + end + + -- start for lsp + local list_registered_providers_names = function(filetype) + local s = require("null-ls.sources") + local available_sources = s.get_available(filetype) + local registered = {} + for _, source in ipairs(available_sources) do + for method in pairs(source.methods) do + registered[method] = registered[method] or {} + table.insert(registered[method], source.name) + end + end + return registered + end + + local null_ls = require("null-ls") + -- for formatter + local list_registered = function(filetype) + local method = null_ls.methods.FORMATTING + local registered_providers = list_registered_providers_names(filetype) + return registered_providers[method] or {} + end + + --- for linter + local alternative_methods = { + null_ls.methods.DIAGNOSTICS, + null_ls.methods.DIAGNOSTICS_ON_OPEN, + null_ls.methods.DIAGNOSTICS_ON_SAVE, + } + + local linter_list_registered = function(filetype) + local registered_providers = list_registered_providers_names(filetype) + local providers_for_methods = vim.tbl_flatten(vim.tbl_map(function(m) + return registered_providers[m] or {} + end, alternative_methods)) + + return providers_for_methods + end + -- end for lsp + + local lsp_info = { + function() + local msg = "LS Inactive" + local buf_ft = vim.bo.filetype + local clients = vim.lsp.get_active_clients() + -- start register + local buf_clients = vim.lsp.buf_get_clients() + local buf_client_names = {} + if next(buf_clients) == nil then + -- TODO: clean up this if statement + if type(msg) == "boolean" or #msg == 0 then + return "LS Inactive" + end + return msg + end + -- add client + for _, client in pairs(buf_clients) do + if client.name ~= "null-ls" and client.name ~= "copilot" then + table.insert(buf_client_names, client.name) + end + end + -- add formatter + local supported_formatters = list_registered(buf_ft) + vim.list_extend(buf_client_names, supported_formatters) + -- add linter + local supported_linters = linter_list_registered(buf_ft) + vim.list_extend(buf_client_names, supported_linters) + -- decomple + local unique_client_names = vim.fn.uniq(buf_client_names) + local msg = table.concat(unique_client_names, ", ") + return msg + end, + --icon = " ", + icon = icons.ui.Gear .. "", + padding = 1, + } + + local diagnostics = { + "diagnostics", + sources = { "nvim_diagnostic" }, + sections = { "error", "warn" }, + -- symbols = { error = " ", warn = " " }, + symbols = { + error = icons.diagnostics.BoldError .. " ", + warn = icons.diagnostics.BoldWarning .. " ", + }, + colored = true, + update_in_insert = false, + always_visible = false, + } + + local diff = { + "diff", + colored = true, + -- symbols = { added = " ", modified = " ", removed = " " }, -- changes diff symbols + symbols = { + added = icons.git.LineAdded .. " ", + modified = icons.git.LineModified .. " ", + removed = icons.git.LineRemoved .. " ", + }, -- changes diff symbols + cond = hide_in_width, + } + + local spaces = function() + -- return " " .. vim.api.nvim_buf_get_option(0, "shiftwidth") + return icons.ui.Tab .. " " .. vim.api.nvim_buf_get_option(0, "shiftwidth") + end + + local mode = { + "mode", + padding = 1, + separator = { left = " " }, + -- right_padding = 3, + fmt = function(str) + return icons.ui.Neovim .. " " .. str + end, + } + local branch = { + "branch", + padding = 1, + } + + local get_branch = function() + if vim.b.gitsigns_head ~= nil then + return icons.git.Branch2 .. " " .. getLeftSubstring(vim.b.gitsigns_head, 6) + else + return icons.git.Branch2 .. vim.fn.fnamemodify("", ":t") + end + end + + local lsp_progress = {} + local data_ok, lspprogress = pcall(require, "lsp-progress") + if data_ok then + lsp_progress = lspprogress.progress + end + -- stylua: ignore + local is_transparat=true + local colors = require("onedarkpro.helpers").get_colors("onedark") + + local onedark = { + normal = { + a = { bg = colors.green, fg = colors.bg }, + b = { bg = colors.fg_gutter, fg = colors.green }, + c = { + bg = is_transparat and colors.none or colors.bg_statusline, + fg = colors.fg, + }, + }, + + insert = { + a = { bg = colors.blue, fg = colors.bg }, + b = { bg = colors.fg_gutter, fg = colors.blue }, + }, + visual = { + a = { bg = colors.yellow, fg = colors.bg }, + b = { bg = colors.fg_gutter, fg = colors.yellow }, + }, + replace = { + a = { bg = colors.red, fg = colors.bg }, + b = { bg = colors.fg_gutter, fg = colors.red }, + }, + command = { + a = { bg = colors.purple, fg = colors.bg }, + b = { bg = colors.fg_gutter, fg = colors.purple }, + }, + terminal = { + a = { bg = colors.cyan, fg = colors.bg }, + b = { bg = colors.fg_gutter, fg = colors.cyan }, + }, + inactive = { + a = { bg = colors.bg, fg = colors.blue }, + b = { bg = colors.bg, fg = colors.fg_gutter_inactive, gui = "bold" }, + c = { + bg = is_transparat and colors.none or colors.bg, + fg = colors.fg_gutter_inactive, + }, + }, + } + + require("lualine").setup({ + options = { + theme = onedark, + -- theme = "auto", + component_separators = { left = "", right = "" }, + section_separators = { left = "", right = "" }, + disabled_filetypes = { + "TelescopePrompt", + "packer", + "alpha", + "dashboard", + "NvimTree", + "Outline", + "DressingInput", + "toggleterm", + "lazy", + "mason", + "neo-tree", + "startuptime", + }, + always_divide_middle = true, + }, + sections = { + lualine_a = { + mode, + }, + lualine_b = { get_branch }, + lualine_c = { lsp_info, diagnostics, lsp_progress }, + lualine_x = { diff, spaces, "filetype" }, + lualine_y = { "progress" }, + lualine_z = { + { "location", separator = { right = " " }, padding = 1 }, + }, + }, + inactive_sections = { + lualine_a = { "filename" }, + lualine_b = {}, + lualine_c = {}, + lualine_x = {}, + lualine_y = {}, + lualine_z = { "location" }, + }, + tabline = {}, + extensions = {}, + }) + end, + }, +} diff --git a/lua/custom/plugins/onedarkpro.lua b/lua/custom/plugins/onedarkpro.lua index 427c41b..7168ca2 100644 --- a/lua/custom/plugins/onedarkpro.lua +++ b/lua/custom/plugins/onedarkpro.lua @@ -41,7 +41,7 @@ return { -- javascript = false, }, options = { - cursorline = false, -- Use cursorline highlighting? + cursorline = true, -- Use cursorline highlighting? transparency = is_transparent, -- Use a transparent background? terminal_colors = true, -- Use the theme's colors for Neovim's :terminal? lualine_transparency = is_transparent, -- Center bar transparency? @@ -82,13 +82,14 @@ return { ["@tag.javascript"] = { fg = "${red}" }, ["@tag.attribute"] = { fg = "${orange}", style = "italic" }, ["@constructor.javascript"] = { fg = "${red}" }, - ["@variable"] = { fg = "${fg}", style = "NONE" }, -- various variable names + -- ["@variable"] = { fg = "${fg}", style = "NONE" }, -- various variable names ["@variable.builtin"] = { fg = "${red}", style = "NONE" }, ["@variable.member"] = "${cyan}", ["@variable.parameter"] = "${red}", -- ["@property.javascript"] = { fg = "${cyan}" }, -- similar to `@field` ["@lsp.type.parameter"] = { fg = "${fg}" }, - ["@field.lua"] = { fg = "${gray}" }, + ["@lsp.type.property.lua"] = { fg = "${red}" }, + ["@lsp.type.variable.lua"] = { fg = "${fg}" }, NvimTreeGitDirty = { fg = "${yellow}" }, Pmenu = { fg = "${fg}", bg = "${bg}" }, PmenuThumb = { bg = "${gray}" }, -- Popup menu: Thumb of the scrollbar. diff --git a/lua/plugins/ui.lua b/lua/plugins/ui.lua index 0b2d948..1eec144 100644 --- a/lua/plugins/ui.lua +++ b/lua/plugins/ui.lua @@ -17,14 +17,14 @@ return { -- event = "BufWinEnter", event = { "BufRead", "BufNewFile" }, config = function() - require("user.lualine") + require("user.lualine_cfg") end, }, -- for show icon { "kyazdani42/nvim-web-devicons", lazy = true, - dependencies = { "DaikyXendo/nvim-material-icon" }, + dependencies = { "pojokcodeid/nvim-material-icon" }, -- event = "BufRead", config = function() require("user.webdevicons") diff --git a/lua/user/lualine.lua b/lua/user/lualine_cfg.lua similarity index 96% rename from lua/user/lualine.lua rename to lua/user/lualine_cfg.lua index 9f3e233..25203d8 100644 --- a/lua/user/lualine.lua +++ b/lua/user/lualine_cfg.lua @@ -1,430 +1,430 @@ -local status_ok, lualine = pcall(require, "lualine") -if not status_ok then - return -end -local icons = require("user.icons") -local hide_in_width = function() - return vim.fn.winwidth(0) > 80 -end - -local conditions = { - buffer_not_empty = function() - return vim.fn.empty(vim.fn.expand("%:t")) ~= 1 - end, - hide_in_width = function() - return vim.fn.winwidth(0) > 80 - end, - check_git_workspace = function() - local filepath = vim.fn.expand("%:p:h") - local gitdir = vim.fn.finddir(".git", filepath .. ";") - return gitdir and #gitdir > 0 and #gitdir < #filepath - end, -} - -local diagnostics = { - "diagnostics", - sources = { "nvim_diagnostic" }, - sections = { "error", "warn" }, - -- symbols = { error = " ", warn = " " }, - symbols = { - error = icons.diagnostics.BoldError .. " ", - warn = icons.diagnostics.BoldWarning .. " ", - }, - colored = true, - update_in_insert = false, - always_visible = false, -} - -local diff = { - "diff", - colored = true, - -- symbols = { added = " ", modified = " ", removed = " " }, -- changes diff symbols - symbols = { - added = icons.git.LineAdded .. " ", - modified = icons.git.LineModified .. " ", - removed = icons.git.LineRemoved .. " ", - }, -- changes diff symbols - cond = hide_in_width, -} - --- for config style -local component_separators = { left = "", right = "" } -local section_separators = { left = "", right = "" } -local icon_mode = "" -local sts_mode = 0 - -local data_exists, custom_ui = pcall(require, "core.config") -if data_exists then - local ui_style = custom_ui.lualine_style - if ui_style ~= nil then - if custom_ui.lualine_style == 1 then - component_separators = { left = "", right = "" } - section_separators = { left = "", right = "" } - elseif custom_ui.lualine_style == 2 then - component_separators = { left = "", right = "" } - section_separators = { left = " ", right = " " } - elseif custom_ui.lualine_style == 3 then - component_separators = { left = "", right = "" } - section_separators = { left = "", right = "" } - end - end - local ui_icon = custom_ui.status_icon - if ui_icon ~= nil then - if custom_ui.status_icon == 1 then - icon_mode = " " - sts_mode = 1 - elseif custom_ui.status_icon == 2 then - icon_mode = " " - sts_mode = 1 - end - end - local custom_style = custom_ui.custom_lualine - if custom_style ~= nil and custom_style == true then - local comp = custom_ui.component_separators - local section = custom_ui.section_separators - if comp ~= nil and section ~= nil then - component_separators = comp - section_separators = section - end - end -end - -local mode = { - "mode", - padding = 1, - fmt = function(str) - -- if str == "NORMAL" then - -- str = "NOR" - -- elseif str == "INSERT" then - -- str = "INS" - -- elseif str == "VISUAL" then - -- str = "VIS" - -- elseif str == "COMMAND" then - -- str = "CMD" - -- else - -- str = str - -- end - - if sts_mode == 0 then - -- return "--" .. str .. "--" - return " " .. str - else - return icon_mode - end - end, -} - -local filetype = { - "filetype", - icons_enabled = true, - icon = nil, -} - -local branch = { - "branch", - icons_enabled = true, - --icon = "", - icon = icons.git.Branch, - padding = 1, -} - -local location = { - "location", - padding = 1, -} - --- cool function for progress -local progress = function() - local current_line = vim.fn.line(".") - local total_lines = vim.fn.line("$") - local chars = { "__", "▁▁", "▂▂", "▃▃", "▄▄", "▅▅", "▆▆", "▇▇", "██" } - local line_ratio = current_line / total_lines - local index = math.ceil(line_ratio * #chars) - return chars[index] -end - -local time = function() - return " " .. os.date("%R") -end - -local spaces = function() - -- return "->| " .. vim.api.nvim_buf_get_option(0, "shiftwidth") - return icons.ui.Tab .. " " .. vim.api.nvim_buf_get_option(0, "shiftwidth") -end - -local file_name = { - "filename", - cond = conditions.buffer_not_empty, -} - --- start for lsp -local list_registered_providers_names = function(filetype) - local s = require("null-ls.sources") - local available_sources = s.get_available(filetype) - local registered = {} - for _, source in ipairs(available_sources) do - for method in pairs(source.methods) do - registered[method] = registered[method] or {} - table.insert(registered[method], source.name) - end - end - return registered -end - -local null_ls = require("null-ls") --- for formatter -local list_registered = function(filetype) - local method = null_ls.methods.FORMATTING - local registered_providers = list_registered_providers_names(filetype) - return registered_providers[method] or {} -end - ---- for linter -local alternative_methods = { - null_ls.methods.DIAGNOSTICS, - null_ls.methods.DIAGNOSTICS_ON_OPEN, - null_ls.methods.DIAGNOSTICS_ON_SAVE, -} - -local linter_list_registered = function(filetype) - local registered_providers = list_registered_providers_names(filetype) - local providers_for_methods = vim.tbl_flatten(vim.tbl_map(function(m) - return registered_providers[m] or {} - end, alternative_methods)) - - return providers_for_methods -end --- end for lsp - -local lsp_info = { - function() - --local msg = "No Active Lsp" - local msg = "LS Inactive" - -- local buf_ft = vim.api.nvim_buf_get_option(0, "filetype") - local buf_ft = vim.bo.filetype - local clients = vim.lsp.get_active_clients() - -- start register - local buf_clients = vim.lsp.buf_get_clients() - local buf_client_names = {} - if next(buf_clients) == nil then - -- TODO: clean up this if statement - if type(msg) == "boolean" or #msg == 0 then - return "LS Inactive" - end - return msg - end - -- add client - for _, client in pairs(buf_clients) do - if client.name ~= "null-ls" and client.name ~= "copilot" then - table.insert(buf_client_names, client.name) - end - end - -- add formatter - local supported_formatters = list_registered(buf_ft) - vim.list_extend(buf_client_names, supported_formatters) - -- add linter - local supported_linters = linter_list_registered(buf_ft) - vim.list_extend(buf_client_names, supported_linters) - -- decomple - local unique_client_names = vim.fn.uniq(buf_client_names) - local msg = table.concat(unique_client_names, ", ") - return msg - end, - --icon = " ", - icon = icons.ui.Gear .. "", - padding = 1, -} -local lsp_progress = {} -local data_exists, lspprogress = pcall(require, "lsp-progress") -if data_exists then - lsp_progress = lspprogress.progress -end - -local clear_lualine = require("core.config").clear_lualine -if clear_lualine ~= nil then - if clear_lualine == 1 then - lualine.setup({ - options = { - icons_enabled = true, - theme = "auto", - component_separators = { left = "", right = "" }, - section_separators = { left = "", right = "" }, - disabled_filetypes = { - "TelescopePrompt", - "packer", - "alpha", - "dashboard", - "NvimTree", - "Outline", - "DressingInput", - "toggleterm", - "lazy", - "mason", - "neo-tree", - }, - always_divide_middle = true, - }, - - sections = { - lualine_a = {}, - lualine_b = { mode, branch }, - lualine_c = { lsp_info, diagnostics, lsp_progress }, - -- lualine_c = { file_name, lsp_info }, - -- lualine_x = { "encoding", "fileformat", "filetype" }, - -- lualine_x = { diff, spaces, "encoding", filetype }, - lualine_x = { diff, spaces, filetype }, - lualine_y = { location, time }, - --[[ lualine_z = { progress }, ]] - lualine_z = {}, - }, - inactive_sections = { - lualine_a = {}, - lualine_b = {}, - lualine_c = { "filename" }, - lualine_x = { "location" }, - lualine_y = {}, - lualine_z = {}, - }, - tabline = {}, - extensions = {}, - }) - else - lualine.setup({ - options = { - icons_enabled = true, - theme = "auto", - component_separators = component_separators, - section_separators = section_separators, - disabled_filetypes = { - "TelescopePrompt", - "packer", - "alpha", - "dashboard", - "NvimTree", - "Outline", - "DressingInput", - "toggleterm", - "lazy", - "mason", - "neo-tree", - }, - always_divide_middle = true, - }, - - sections = { - lualine_a = { mode }, - lualine_b = { branch }, - lualine_c = { lsp_info, diagnostics, lsp_progress }, - -- lualine_c = { file_name, lsp_info }, - -- lualine_x = { "encoding", "fileformat", "filetype" }, - -- lualine_x = { diff, spaces, "encoding", filetype }, - lualine_x = { diff, spaces, filetype }, - lualine_y = { location }, - --[[ lualine_z = { progress }, ]] - lualine_z = { time }, - }, - inactive_sections = { - lualine_a = {}, - lualine_b = {}, - lualine_c = { "filename" }, - lualine_x = { "location" }, - lualine_y = {}, - lualine_z = {}, - }, - tabline = {}, - extensions = {}, - }) - end -else - lualine.setup({ - options = { - icons_enabled = true, - theme = "auto", - component_separators = component_separators, - section_separators = section_separators, - disabled_filetypes = { - "TelescopePrompt", - "packer", - "alpha", - "dashboard", - "NvimTree", - "Outline", - "DressingInput", - "toggleterm", - "lazy", - "mason", - "neo-tree", - }, - always_divide_middle = true, - }, - - sections = { - lualine_a = { mode }, - lualine_b = { branch }, - lualine_c = { lsp_info, diagnostics, lsp_progress }, - -- lualine_c = { file_name, lsp_info }, - -- lualine_x = { "encoding", "fileformat", "filetype" }, - -- lualine_x = { diff, spaces, "encoding", filetype }, - lualine_x = { diff, spaces, filetype }, - lualine_y = { location }, - --[[ lualine_z = { progress }, ]] - lualine_z = { time }, - }, - inactive_sections = { - lualine_a = {}, - lualine_b = {}, - lualine_c = { "filename" }, - lualine_x = { "location" }, - lualine_y = {}, - lualine_z = {}, - }, - tabline = {}, - extensions = {}, - }) -end - --- lualine.setup({ --- options = { --- icons_enabled = true, --- theme = "auto", --- component_separators = component_separators, --- section_separators = section_separators, --- disabled_filetypes = { --- "TelescopePrompt", --- "packer", --- "alpha", --- "dashboard", --- "NvimTree", --- "Outline", --- "DressingInput", --- "toggleterm", --- "lazy", --- "mason", --- "neo-tree", --- }, --- always_divide_middle = true, --- }, --- --- sections = { --- lualine_a = { mode }, --- lualine_b = { branch }, --- lualine_c = { lsp_info, diagnostics, lsp_progress }, --- -- lualine_c = { file_name, lsp_info }, --- -- lualine_x = { "encoding", "fileformat", "filetype" }, --- -- lualine_x = { diff, spaces, "encoding", filetype }, --- lualine_x = { diff, spaces, filetype }, --- lualine_y = { location }, --- --[[ lualine_z = { progress }, ]] --- lualine_z = { time }, --- }, --- inactive_sections = { --- lualine_a = {}, --- lualine_b = {}, --- lualine_c = { "filename" }, --- lualine_x = { "location" }, --- lualine_y = {}, --- lualine_z = {}, --- }, --- tabline = {}, --- extensions = {}, --- }) +local status_ok, lualine = pcall(require, "lualine") +if not status_ok then + return +end +local icons = require("user.icons") +local hide_in_width = function() + return vim.fn.winwidth(0) > 80 +end + +local conditions = { + buffer_not_empty = function() + return vim.fn.empty(vim.fn.expand("%:t")) ~= 1 + end, + hide_in_width = function() + return vim.fn.winwidth(0) > 80 + end, + check_git_workspace = function() + local filepath = vim.fn.expand("%:p:h") + local gitdir = vim.fn.finddir(".git", filepath .. ";") + return gitdir and #gitdir > 0 and #gitdir < #filepath + end, +} + +local diagnostics = { + "diagnostics", + sources = { "nvim_diagnostic" }, + sections = { "error", "warn" }, + -- symbols = { error = " ", warn = " " }, + symbols = { + error = icons.diagnostics.BoldError .. " ", + warn = icons.diagnostics.BoldWarning .. " ", + }, + colored = true, + update_in_insert = false, + always_visible = false, +} + +local diff = { + "diff", + colored = true, + -- symbols = { added = " ", modified = " ", removed = " " }, -- changes diff symbols + symbols = { + added = icons.git.LineAdded .. " ", + modified = icons.git.LineModified .. " ", + removed = icons.git.LineRemoved .. " ", + }, -- changes diff symbols + cond = hide_in_width, +} + +-- for config style +local component_separators = { left = "", right = "" } +local section_separators = { left = "", right = "" } +local icon_mode = "" +local sts_mode = 0 + +local data_exists, custom_ui = pcall(require, "core.config") +if data_exists then + local ui_style = custom_ui.lualine_style + if ui_style ~= nil then + if custom_ui.lualine_style == 1 then + component_separators = { left = "", right = "" } + section_separators = { left = "", right = "" } + elseif custom_ui.lualine_style == 2 then + component_separators = { left = "", right = "" } + section_separators = { left = " ", right = " " } + elseif custom_ui.lualine_style == 3 then + component_separators = { left = "", right = "" } + section_separators = { left = "", right = "" } + end + end + local ui_icon = custom_ui.status_icon + if ui_icon ~= nil then + if custom_ui.status_icon == 1 then + icon_mode = " " + sts_mode = 1 + elseif custom_ui.status_icon == 2 then + icon_mode = " " + sts_mode = 1 + end + end + local custom_style = custom_ui.custom_lualine + if custom_style ~= nil and custom_style == true then + local comp = custom_ui.component_separators + local section = custom_ui.section_separators + if comp ~= nil and section ~= nil then + component_separators = comp + section_separators = section + end + end +end + +local mode = { + "mode", + padding = 1, + fmt = function(str) + -- if str == "NORMAL" then + -- str = "NOR" + -- elseif str == "INSERT" then + -- str = "INS" + -- elseif str == "VISUAL" then + -- str = "VIS" + -- elseif str == "COMMAND" then + -- str = "CMD" + -- else + -- str = str + -- end + + if sts_mode == 0 then + -- return "--" .. str .. "--" + return " " .. str + else + return icon_mode + end + end, +} + +local filetype = { + "filetype", + icons_enabled = true, + icon = nil, +} + +local branch = { + "branch", + icons_enabled = true, + --icon = "", + icon = icons.git.Branch, + padding = 1, +} + +local location = { + "location", + padding = 1, +} + +-- cool function for progress +local progress = function() + local current_line = vim.fn.line(".") + local total_lines = vim.fn.line("$") + local chars = { "__", "▁▁", "▂▂", "▃▃", "▄▄", "▅▅", "▆▆", "▇▇", "██" } + local line_ratio = current_line / total_lines + local index = math.ceil(line_ratio * #chars) + return chars[index] +end + +local time = function() + return " " .. os.date("%R") +end + +local spaces = function() + -- return "->| " .. vim.api.nvim_buf_get_option(0, "shiftwidth") + return icons.ui.Tab .. " " .. vim.api.nvim_buf_get_option(0, "shiftwidth") +end + +local file_name = { + "filename", + cond = conditions.buffer_not_empty, +} + +-- start for lsp +local list_registered_providers_names = function(filetype) + local s = require("null-ls.sources") + local available_sources = s.get_available(filetype) + local registered = {} + for _, source in ipairs(available_sources) do + for method in pairs(source.methods) do + registered[method] = registered[method] or {} + table.insert(registered[method], source.name) + end + end + return registered +end + +local null_ls = require("null-ls") +-- for formatter +local list_registered = function(filetype) + local method = null_ls.methods.FORMATTING + local registered_providers = list_registered_providers_names(filetype) + return registered_providers[method] or {} +end + +--- for linter +local alternative_methods = { + null_ls.methods.DIAGNOSTICS, + null_ls.methods.DIAGNOSTICS_ON_OPEN, + null_ls.methods.DIAGNOSTICS_ON_SAVE, +} + +local linter_list_registered = function(filetype) + local registered_providers = list_registered_providers_names(filetype) + local providers_for_methods = vim.tbl_flatten(vim.tbl_map(function(m) + return registered_providers[m] or {} + end, alternative_methods)) + + return providers_for_methods +end +-- end for lsp + +local lsp_info = { + function() + --local msg = "No Active Lsp" + local msg = "LS Inactive" + -- local buf_ft = vim.api.nvim_buf_get_option(0, "filetype") + local buf_ft = vim.bo.filetype + local clients = vim.lsp.get_active_clients() + -- start register + local buf_clients = vim.lsp.buf_get_clients() + local buf_client_names = {} + if next(buf_clients) == nil then + -- TODO: clean up this if statement + if type(msg) == "boolean" or #msg == 0 then + return "LS Inactive" + end + return msg + end + -- add client + for _, client in pairs(buf_clients) do + if client.name ~= "null-ls" and client.name ~= "copilot" then + table.insert(buf_client_names, client.name) + end + end + -- add formatter + local supported_formatters = list_registered(buf_ft) + vim.list_extend(buf_client_names, supported_formatters) + -- add linter + local supported_linters = linter_list_registered(buf_ft) + vim.list_extend(buf_client_names, supported_linters) + -- decomple + local unique_client_names = vim.fn.uniq(buf_client_names) + local msg = table.concat(unique_client_names, ", ") + return msg + end, + --icon = " ", + icon = icons.ui.Gear .. "", + padding = 1, +} +local lsp_progress = {} +local data_exists, lspprogress = pcall(require, "lsp-progress") +if data_exists then + lsp_progress = lspprogress.progress +end + +local clear_lualine = require("core.config").clear_lualine +if clear_lualine ~= nil then + if clear_lualine == 1 then + lualine.setup({ + options = { + icons_enabled = true, + theme = "auto", + component_separators = { left = "", right = "" }, + section_separators = { left = "", right = "" }, + disabled_filetypes = { + "TelescopePrompt", + "packer", + "alpha", + "dashboard", + "NvimTree", + "Outline", + "DressingInput", + "toggleterm", + "lazy", + "mason", + "neo-tree", + }, + always_divide_middle = true, + }, + + sections = { + lualine_a = {}, + lualine_b = { mode, branch }, + lualine_c = { lsp_info, diagnostics, lsp_progress }, + -- lualine_c = { file_name, lsp_info }, + -- lualine_x = { "encoding", "fileformat", "filetype" }, + -- lualine_x = { diff, spaces, "encoding", filetype }, + lualine_x = { diff, spaces, filetype }, + lualine_y = { location, time }, + --[[ lualine_z = { progress }, ]] + lualine_z = {}, + }, + inactive_sections = { + lualine_a = {}, + lualine_b = {}, + lualine_c = { "filename" }, + lualine_x = { "location" }, + lualine_y = {}, + lualine_z = {}, + }, + tabline = {}, + extensions = {}, + }) + else + lualine.setup({ + options = { + icons_enabled = true, + theme = "auto", + component_separators = component_separators, + section_separators = section_separators, + disabled_filetypes = { + "TelescopePrompt", + "packer", + "alpha", + "dashboard", + "NvimTree", + "Outline", + "DressingInput", + "toggleterm", + "lazy", + "mason", + "neo-tree", + }, + always_divide_middle = true, + }, + + sections = { + lualine_a = { mode }, + lualine_b = { branch }, + lualine_c = { lsp_info, diagnostics, lsp_progress }, + -- lualine_c = { file_name, lsp_info }, + -- lualine_x = { "encoding", "fileformat", "filetype" }, + -- lualine_x = { diff, spaces, "encoding", filetype }, + lualine_x = { diff, spaces, filetype }, + lualine_y = { location }, + --[[ lualine_z = { progress }, ]] + lualine_z = { time }, + }, + inactive_sections = { + lualine_a = {}, + lualine_b = {}, + lualine_c = { "filename" }, + lualine_x = { "location" }, + lualine_y = {}, + lualine_z = {}, + }, + tabline = {}, + extensions = {}, + }) + end +else + lualine.setup({ + options = { + icons_enabled = true, + theme = "auto", + component_separators = component_separators, + section_separators = section_separators, + disabled_filetypes = { + "TelescopePrompt", + "packer", + "alpha", + "dashboard", + "NvimTree", + "Outline", + "DressingInput", + "toggleterm", + "lazy", + "mason", + "neo-tree", + }, + always_divide_middle = true, + }, + + sections = { + lualine_a = { mode }, + lualine_b = { branch }, + lualine_c = { lsp_info, diagnostics, lsp_progress }, + -- lualine_c = { file_name, lsp_info }, + -- lualine_x = { "encoding", "fileformat", "filetype" }, + -- lualine_x = { diff, spaces, "encoding", filetype }, + lualine_x = { diff, spaces, filetype }, + lualine_y = { location }, + --[[ lualine_z = { progress }, ]] + lualine_z = { time }, + }, + inactive_sections = { + lualine_a = {}, + lualine_b = {}, + lualine_c = { "filename" }, + lualine_x = { "location" }, + lualine_y = {}, + lualine_z = {}, + }, + tabline = {}, + extensions = {}, + }) +end + +-- lualine.setup({ +-- options = { +-- icons_enabled = true, +-- theme = "auto", +-- component_separators = component_separators, +-- section_separators = section_separators, +-- disabled_filetypes = { +-- "TelescopePrompt", +-- "packer", +-- "alpha", +-- "dashboard", +-- "NvimTree", +-- "Outline", +-- "DressingInput", +-- "toggleterm", +-- "lazy", +-- "mason", +-- "neo-tree", +-- }, +-- always_divide_middle = true, +-- }, +-- +-- sections = { +-- lualine_a = { mode }, +-- lualine_b = { branch }, +-- lualine_c = { lsp_info, diagnostics, lsp_progress }, +-- -- lualine_c = { file_name, lsp_info }, +-- -- lualine_x = { "encoding", "fileformat", "filetype" }, +-- -- lualine_x = { diff, spaces, "encoding", filetype }, +-- lualine_x = { diff, spaces, filetype }, +-- lualine_y = { location }, +-- --[[ lualine_z = { progress }, ]] +-- lualine_z = { time }, +-- }, +-- inactive_sections = { +-- lualine_a = {}, +-- lualine_b = {}, +-- lualine_c = { "filename" }, +-- lualine_x = { "location" }, +-- lualine_y = {}, +-- lualine_z = {}, +-- }, +-- tabline = {}, +-- extensions = {}, +-- }) diff --git a/lua/user/nvim-tree.lua b/lua/user/nvim-tree.lua index 24b4ce9..ec0c909 100644 --- a/lua/user/nvim-tree.lua +++ b/lua/user/nvim-tree.lua @@ -207,8 +207,8 @@ nvim_tree.setup({ }, }, notify = { - -- threshold = vim.log.levels.INFO, - threshold = vim.log.levels.ERROR, + threshold = vim.log.levels.INFO, + -- threshold = vim.log.levels.ERROR, }, log = { enable = false, diff --git a/lua/user/webdevicons.lua b/lua/user/webdevicons.lua index 1dd8bd4..afdf7e9 100644 --- a/lua/user/webdevicons.lua +++ b/lua/user/webdevicons.lua @@ -8,502 +8,7 @@ if not material_icon_ok then return end -local prettier_icon = "" -material_icon.setup({ - override = { - ["mjs"] = { - icon = "󰌞", - color = "#f2c55c", - cterm_color = "220", - name = "Mjs", - }, - ["js"] = { - icon = "󰌞", - color = "#f2c55c", - cterm_color = "220", - name = "javascript", - }, - ["ts"] = { - icon = "󰛦", - color = "#548af7", - cterm_color = "220", - name = "ts", - }, - ["jsx"] = { - icon = "", - color = "#61dafb", - cterm_color = "220", - name = "jsx", - }, - ["tsx"] = { - icon = "", - color = "#3699ff", - cterm_color = "220", - name = "Tsx", - }, - ["svg"] = { - icon = "󰜡", - color = "#FDB03A", - cterm_color = "220", - name = "svg", - }, - ["prisma"] = { - icon = "", - color = "#0FBFCF", - cterm_color = "220", - name = "prisma", - }, - ["json"] = { - icon = "", - color = "#f16421", - cterm_color = "220", - name = "json", - }, - ["map"] = { - icon = "", - color = "#748e54", - cterm_color = "220", - name = "map", - }, - ["svelte"] = { - icon = "", - color = "#ef510b", - cterm_color = "220", - name = "svelte", - }, - ["yaml"] = { - icon = "󰰳", - color = "#ef510b", - cterm_color = "220", - name = "yaml", - }, - ["vsix"] = { - icon = "", - color = "#30A2FF", - cterm_color = "220", - name = "vsix", - }, - ["class"] = { - icon = "󰅶", - color = "#1e88e5", - cterm_color = "220", - name = "JavaClass", - }, - ["java"] = { - icon = "󰅶", - color = "#ef510b", - cterm_color = "220", - name = "JavaFile", - }, - ["gradle"] = { - icon = "", - color = "#9C9C9C", - cterm_color = "220", - name = "GradleFile", - }, - ["mod"] = { - icon = "󰟓", - color = "#C5362B", - cterm_color = "220", - name = "gomod", - }, - ["blade.php"] = { - icon = "󰫐", - color = "#ef510b", - cterm_color = "220", - name = "bladephp", - }, - ["7z"] = { - icon = "", - color = "#9C9C9C", - cterm_color = "220", - name = "7z", - }, - ["zip"] = { - icon = "", - color = "#9C9C9C", - cterm_color = "220", - name = "zip", - }, - ["rar"] = { - icon = "", - color = "#9C9C9C", - cterm_color = "220", - name = "rar", - }, - ["cfm"] = { - icon = "", - color = "#507F89", - cterm_color = "220", - name = "cfm", - }, - ["cfc"] = { - icon = "", - color = "#507F89", - cterm_color = "220", - name = "cfc", - }, - ["png"] = { - icon = "󰋩", - color = "#3574f0", - cterm_color = "220", - name = "Png", - }, - ["jpg"] = { - icon = "󰋩", - color = "#3574f0", - cterm_color = "220", - name = "jpg", - }, - ["jpeg"] = { - icon = "󰥶", - color = "#88C057", - cterm_color = "220", - name = "jpeg", - }, - ["csv"] = { - icon = "󰈚", - color = "#57965c", - cterm_color = "220", - name = "csv", - }, - ["sql"] = { - icon = "󰆼", - color = "#b589ec", - cterm_color = "220", - name = "sqlfile", - }, - ["php"] = { - icon = "󰌟", - color = "#b589ec", - cterm_color = "220", - name = "phpfile", - }, - ["mp4"] = { - icon = "󰈫", - color = "#FC6411", - cterm_color = "220", - name = "mp4file", - }, - ["md"] = { - icon = "", - color = "#42a5f5", - cterm_color = "220", - name = "markdown", - }, - ["sh"] = { - icon = "", - color = "#ef510b", - cterm_color = "220", - name = "README_file", - }, - ["pdf"] = { - icon = "", - color = "#ef510b", - cterm_color = "220", - name = "pdffile", - }, - ["xlsx"] = { - icon = "󱀭", - color = "#349C42", - cterm_color = "220", - name = "xlsxfile", - }, - ["xls"] = { - icon = "󱀭", - color = "#349C42", - cterm_color = "220", - name = "xlsfile", - }, - -- ["go"] = { - -- icon = "󰟓", - -- color = "#0FBFCF", - -- cterm_color = "220", - -- name = "go", - -- }, - }, - color_icons = true, - default = true, -}) - web_devicons.setup({ override = material_icon.get_icons(), - override_by_filename = { - ["artisan"] = { - icon = "󰫐", - color = "#ef510b", - cterm_color = "240", - name = "artisan", - }, - ["vite.config.ts"] = { - icon = "󰉁", - color = "#ffab00", - cterm_color = "240", - name = "viteconfigts", - }, - ["vite.config.js"] = { - icon = "󰉁", - color = "#ffab00", - cterm_color = "240", - name = "viteconfigjs", - }, - [".releaserc"] = { - icon = "󰚧", - color = "#9C9C9C", - cterm_color = "240", - name = "releaserc", - }, - [".profile"] = { - icon = "󰙄", - color = "#9C9C9C", - cterm_color = "240", - name = "profiledata", - }, - [".eslint_d"] = { - icon = "󰱺", - color = "#4930bd", - cterm_color = "240", - name = "eslintd", - }, - [".eslintrc.cjs"] = { - icon = "󰱺", - color = "#4930bd", - cterm_color = "240", - name = "eslintrccjs", - }, - [".htaccess"] = { - icon = "󰛓", - color = "#C63C17", - cterm_color = "240", - name = "htaccess", - }, - ["pom.xml"] = { - icon = "󰛓", - color = "#C63C17", - cterm_color = "240", - name = "pomxml", - }, - [".huskyrc"] = { - icon = "󰩃", - color = "#ffffff", - cterm_color = "240", - name = "huskyrc", - }, - [".prettierrc"] = { - icon = prettier_icon, - color = "#ea5e5e", - cterm_color = "240", - name = "prettierrc", - }, - [".prettierrc.json"] = { - icon = prettier_icon, - color = "#ea5e5e", - cterm_color = "240", - name = "prettierrcjson", - }, - [".prettierd"] = { - icon = prettier_icon, - color = "#ea5e5e", - cterm_color = "240", - name = "prettierd", - }, - [".vscodeignore"] = { - icon = "", - color = "#30A2FF", - cterm_color = "240", - name = "vscodeignore", - }, - [".vsixmanifest"] = { - icon = "", - color = "#30A2FF", - cterm_color = "240", - name = "vsixmanifest", - }, - [".prettierignore"] = { - icon = prettier_icon, - color = "#ea5e5e", - cterm_color = "240", - name = "prettierignore", - }, - [".sequelizerc"] = { - icon = "󱙌", - color = "#397883", - cterm_color = "220", - name = "sequelizerc", - }, - ["pre-commit"] = { - icon = "", - color = "#75e4b3", - cterm_color = "240", - name = "pre", - }, - ["yarn.lock"] = { - icon = "", - color = "#ea5e5e", - cterm_color = "240", - name = "yarnlock", - }, - ["yarn-error.log"] = { - icon = "", - color = "#3d85c6", - cterm_color = "240", - name = "yarnerror", - }, - [".eslintrc.json"] = { - icon = "󰱺", - color = "#4746a8", - cterm_color = "240", - name = "eslintrc", - }, - [".eslintrc.js"] = { - icon = "󰱺", - color = "#4746a8", - cterm_color = "240", - name = "eslintrcjs", - }, - [".eslintignore"] = { - icon = "󰱺", - color = "#4746a8", - cterm_color = "240", - name = "eslintignore", - }, - ["jest.config.js"] = { - icon = "󰚐", - color = "#e37575", - cterm_color = "220", - name = "jestconfig", - }, - ["cname"] = { - icon = "󰖟", - color = "#e37575", - cterm_color = "220", - name = "cname", - }, - [".nvmrc"] = { - icon = "", - color = "#E8274B", - cterm_color = "220", - name = "nvmrc", - }, - [".yarnrc"] = { - icon = "", - color = "#3d85c6", - cterm_color = "240", - name = "yarnrc", - }, - [".git-blame-ignore-revs"] = { - icon = "󰊢", - color = "#F14C28", - cterm_color = "220", - name = "gitblameignorerevs", - }, - [".gitmodules"] = { - icon = "󰊢", - color = "#0c343d", - cterm_color = "220", - name = "gitmodules", - }, - [".mailmap"] = { - icon = "󰇮", - color = "#a0d0d0", - cterm_color = "220", - name = "mailmap", - }, - [".vscode-test.js"] = { - icon = "󰨞", - color = "#206ba3", - cterm_color = "220", - name = "vscodetest", - }, - [".mention-bot"] = { - icon = "󰚩", - color = "#ffffff", - cterm_color = "220", - name = "mentionbot", - }, - [".project"] = { - icon = "󰈚", - color = "#5881b1", - cterm_color = "220", - name = "project", - }, - ["gradlew"] = { - icon = "", - color = "#9C9C9C", - cterm_color = "220", - name = "gradlewFile", - }, - [".classpath"] = { - icon = "󰅶", - color = "#9C9C9C", - cterm_color = "220", - name = "gradlewFile", - }, - ["dockerfile-development"] = { - icon = "", - color = "#0087c9", - cterm_color = "220", - name = "gradlewFile-development", - }, - ["dockerfile-staging"] = { - icon = "", - color = "#0087c9", - cterm_color = "220", - name = "gradlewFile-staging", - }, - ["nodemon.json"] = { - icon = "󰇴", - color = "#76d04b", - cterm_color = "220", - name = "nodemonjson", - }, - ["webpack.config.js"] = { - icon = "󰜫", - color = "#8ED6FB", - cterm_color = "220", - name = "webpackconfigjs", - }, - ["package.json"] = { - icon = "󰎙", - color = "#8ED6FB", - cterm_color = "220", - name = "packagejson", - }, - ["package-lock.json"] = { - icon = "󰎙", - color = "#cc0000", - cterm_color = "220", - name = "packagelockjson", - }, - [".gitignore"] = { - icon = "󰊢", - color = "#8ED6FB", - cterm_color = "220", - name = "gitignore", - }, - ["tsconfig.json"] = { - icon = "󰛦", - color = "#519aba", - cterm_color = "74", - name = "TSConfig", - }, - ["jsconfig.json"] = { - icon = "󰌞", - color = "#f2c55c", - cterm_color = "220", - name = "JSConfig", - }, - [".gitlab-ci.yml"] = { - icon = "", - color = "#F14C28", - cterm_color = "220", - name = "gitlabciyaml", - }, - [".env_example"] = { - icon = "", - color = "#faf743", - cterm_color = "227", - name = "Envexample", - }, - }, + override_by_filename = {}, }) diff --git a/lua/user/webdevicons_backup.lua b/lua/user/webdevicons_backup.lua new file mode 100644 index 0000000..acdd2ec --- /dev/null +++ b/lua/user/webdevicons_backup.lua @@ -0,0 +1,1642 @@ +local web_devicons_ok, web_devicons = pcall(require, "nvim-web-devicons") +if not web_devicons_ok then + return +end + +local material_icon_ok, material_icon = pcall(require, "nvim-material-icon") +if not material_icon_ok then + return +end + +material_icon.setup({ + override = { + ["mjs"] = { + icon = "󰌞", + color = "#f2c55c", + cterm_color = "220", + name = "Mjs", + }, + ["js"] = { + icon = "󰌞", + color = "#f2c55c", + cterm_color = "220", + name = "javascript", + }, + ["ts"] = { + icon = "󰛦", + color = "#548af7", + cterm_color = "220", + name = "ts", + }, + ["jsx"] = { + icon = "", + color = "#61dafb", + cterm_color = "220", + name = "jsx", + }, + ["tsx"] = { + icon = "", + color = "#3699ff", + cterm_color = "220", + name = "Tsx", + }, + ["svg"] = { + icon = "󰜡", + color = "#FDB03A", + cterm_color = "220", + name = "svg", + }, + ["prisma"] = { + icon = "", + color = "#0FBFCF", + cterm_color = "220", + name = "prisma", + }, + ["json"] = { + icon = "", + color = "#f16421", + cterm_color = "220", + name = "json", + }, + ["map"] = { + icon = "", + color = "#748e54", + cterm_color = "220", + name = "map", + }, + ["svelte"] = { + icon = "", + color = "#ef510b", + cterm_color = "220", + name = "svelte", + }, + ["yaml"] = { + icon = "󰰳", + color = "#ef510b", + cterm_color = "220", + name = "yaml", + }, + ["vsix"] = { + icon = "", + color = "#30A2FF", + cterm_color = "220", + name = "vsix", + }, + ["class"] = { + icon = "󰅶", + color = "#1e88e5", + cterm_color = "220", + name = "JavaClass", + }, + ["java"] = { + icon = "󰅶", + color = "#ef510b", + cterm_color = "220", + name = "JavaFile", + }, + ["gradle"] = { + icon = "", + color = "#9C9C9C", + cterm_color = "220", + name = "GradleFile", + }, + ["mod"] = { + icon = "󰟓", + color = "#C5362B", + cterm_color = "220", + name = "gomod", + }, + ["blade.php"] = { + icon = "󰫐", + color = "#ef510b", + cterm_color = "220", + name = "bladephp", + }, + ["7z"] = { + icon = "", + color = "#9C9C9C", + cterm_color = "220", + name = "7z", + }, + ["rar"] = { + icon = "", + color = "#9C9C9C", + cterm_color = "220", + name = "rar", + }, + ["cfm"] = { + icon = "", + color = "#507F89", + cterm_color = "220", + name = "cfm", + }, + ["cfc"] = { + icon = "", + color = "#507F89", + cterm_color = "220", + name = "cfc", + }, + ["png"] = { + icon = "󰋩", + color = "#3574f0", + cterm_color = "220", + name = "Png", + }, + ["jpg"] = { + icon = "󰋩", + color = "#3574f0", + cterm_color = "220", + name = "jpg", + }, + ["jpeg"] = { + icon = "󰥶", + color = "#88C057", + cterm_color = "220", + name = "jpeg", + }, + ["csv"] = { + icon = "󰈚", + color = "#57965c", + cterm_color = "220", + name = "csv", + }, + ["sql"] = { + icon = "󰆼", + color = "#b589ec", + cterm_color = "220", + name = "sqlfile", + }, + ["php"] = { + icon = "󰌟", + color = "#b589ec", + cterm_color = "220", + name = "phpfile", + }, + ["mp4"] = { + icon = "󰈫", + color = "#FC6411", + cterm_color = "220", + name = "mp4file", + }, + ["md"] = { + icon = "", + color = "#42a5f5", + cterm_color = "220", + name = "Md", + }, + ["sh"] = { + icon = "", + color = "#ef510b", + cterm_color = "220", + name = "README_file", + }, + ["pdf"] = { + icon = "", + color = "#ef510b", + cterm_color = "220", + name = "pdffile", + }, + ["xlsx"] = { + icon = "󱀭", + color = "#349C42", + cterm_color = "220", + name = "xlsxfile", + }, + ["xls"] = { + icon = "󱀭", + color = "#349C42", + cterm_color = "220", + name = "xlsfile", + }, + ["py"] = { + icon = "󰌠", + color = "#387EB8", + cterm_color = "220", + name = "pythonfile", + }, + ["vue"] = { + icon = "󰡄", + color = "#4dba87", + cterm_color = "220", + name = "vuefile", + }, + ["xml"] = { + icon = "󰗀", + color = "#f1662a", + cterm_color = "220", + name = "xmlfile", + }, + ["yml"] = { + icon = "󰰳", + color = "#fbc02d", + cterm_color = "220", + name = "Ymlfile", + }, + ["txt"] = { + icon = "", + color = "#89e051", + cterm_color = "220", + name = "txtfile", + }, + ["toml"] = { + icon = "", + color = "#9c4221", + cterm_color = "124", + name = "Toml", + }, + -- ["go"] = { + -- icon = "󰟓", + -- color = "#0FBFCF", + -- cterm_color = "220", + -- name = "go", + -- }, + [".babelrc"] = { + icon = "", + color = "#cbcb41", + cterm_color = "185", + name = "Babelrc", + }, + [".bash_profile"] = { + icon = "", + color = "#89e051", + cterm_color = "113", + name = "BashProfile", + }, + [".bashrc"] = { + icon = "", + color = "#89e051", + cterm_color = "113", + name = "Bashrc", + }, + [".DS_Store"] = { + icon = "", + color = "#41535b", + cterm_color = "239", + name = "DsStore", + }, + [".gitconfig"] = { + icon = "", + color = "#41535b", + cterm_color = "239", + name = "GitConfig", + }, + [".gitlab-ci.yml"] = { + icon = "", + color = "#e24329", + cterm_color = "166", + name = "GitlabCI", + }, + [".gvimrc"] = { + icon = "", + color = "#019833", + cterm_color = "29", + name = "Gvimrc", + }, + [".npmignore"] = { + icon = "", + color = "#E8274B", + cterm_color = "161", + name = "NPMIgnore", + }, + [".npmrc"] = { + icon = "", + color = "#E8274B", + cterm_color = "161", + name = "NPMrc", + }, + [".settings.json"] = { + icon = "", + color = "#854CC7", + cterm_color = "98", + name = "SettingsJson", + }, + [".vimrc"] = { + icon = "", + color = "#019833", + cterm_color = "29", + name = "Vimrc", + }, + [".zprofile"] = { + icon = "", + color = "#89e051", + cterm_color = "113", + name = "Zshprofile", + }, + [".zshenv"] = { + icon = "", + color = "#89e051", + cterm_color = "113", + name = "Zshenv", + }, + [".zshrc"] = { + icon = "", + color = "#89e051", + cterm_color = "113", + name = "Zshrc", + }, + ["Brewfile"] = { + icon = "", + color = "#701516", + cterm_color = "1", + name = "Brewfile", + }, + ["CMakeLists.txt"] = { + icon = "", + color = "#6d8086", + cterm_color = "66", + name = "CMakeLists", + }, + ["COPYING"] = { + icon = "", + color = "#cbcb41", + cterm_color = "185", + name = "License", + }, + ["COPYING.LESSER"] = { + icon = "", + color = "#cbcb41", + cterm_color = "185", + name = "License", + }, + ["Dockerfile"] = { + icon = "", + color = "#0087c9", + cterm_color = "32", + name = "Dockerfile", + }, + ["Gemfile$"] = { + icon = "", + color = "#701516", + cterm_color = "1", + name = "Gemfile", + }, + ["Rmd"] = { + icon = "", + color = "#519aba", + cterm_color = "67", + name = "Rmd", + }, + ["Vagrantfile$"] = { + icon = "", + color = "#1563FF", + cterm_color = "27", + name = "Vagrantfile", + }, + ["_gvimrc"] = { + icon = "", + color = "#019833", + cterm_color = "29", + name = "Gvimrc", + }, + ["_vimrc"] = { + icon = "", + color = "#019833", + cterm_color = "29", + name = "Vimrc", + }, + ["ai"] = { + icon = "", + color = "#cbcb41", + cterm_color = "185", + name = "Ai", + }, + ["awk"] = { + icon = "", + color = "#4d5a5e", + cterm_color = "240", + name = "Awk", + }, + ["bash"] = { + icon = "", + color = "#89e051", + cterm_color = "113", + name = "Bash", + }, + ["bat"] = { + icon = "", + color = "#C1F12E", + cterm_color = "154", + name = "Bat", + }, + ["c"] = { + icon = "", + color = "#599eff", + cterm_color = "75", + name = "C", + }, + ["c++"] = { + icon = "", + color = "#f34b7d", + cterm_color = "204", + name = "CPlusPlus", + }, + ["cbl"] = { + icon = "⚙", + color = "#005ca5", + cterm_color = "25", + name = "Cobol", + }, + ["cc"] = { + icon = "", + color = "#f34b7d", + cterm_color = "204", + name = "CPlusPlus", + }, + ["cfg"] = { + icon = "", + color = "#ECECEC", + cterm_color = "255", + name = "Configuration", + }, + ["clj"] = { + icon = "", + color = "#8dc149", + cterm_color = "107", + name = "Clojure", + }, + ["cljc"] = { + icon = "", + color = "#8dc149", + cterm_color = "107", + name = "ClojureC", + }, + ["cljs"] = { + icon = "", + color = "#519aba", + cterm_color = "67", + name = "ClojureJS", + }, + ["cljd"] = { + icon = "", + color = "#519aba", + cterm_color = "67", + name = "ClojureDart", + }, + ["cmake"] = { + icon = "", + color = "#6d8086", + cterm_color = "66", + name = "CMake", + }, + ["cob"] = { + icon = "⚙", + color = "#005ca5", + cterm_color = "25", + name = "Cobol", + }, + ["cobol"] = { + icon = "⚙", + color = "#005ca5", + cterm_color = "25", + name = "Cobol", + }, + ["coffee"] = { + icon = "", + color = "#cbcb41", + cterm_color = "185", + name = "Coffee", + }, + ["conf"] = { + icon = "", + color = "#6d8086", + cterm_color = "66", + name = "Conf", + }, + ["config.ru"] = { + icon = "", + color = "#701516", + cterm_color = "1", + name = "ConfigRu", + }, + ["cp"] = { + icon = "", + color = "#519aba", + cterm_color = "67", + name = "Cp", + }, + ["cpp"] = { + icon = "", + color = "#519aba", + cterm_color = "67", + name = "Cpp", + }, + ["cpy"] = { + icon = "⚙", + color = "#005ca5", + cterm_color = "25", + name = "Cobol", + }, + ["cr"] = { + icon = "", + color = "#000000", + cterm_color = "16", + name = "Crystal", + }, + ["csh"] = { + icon = "", + color = "#4d5a5e", + cterm_color = "240", + name = "Csh", + }, + ["cson"] = { + icon = "", + color = "#cbcb41", + cterm_color = "185", + name = "Cson", + }, + ["css"] = { + icon = "", + color = "#42a5f5", + cterm_color = "75", + name = "Css", + }, + ["cxx"] = { + icon = "", + color = "#519aba", + cterm_color = "67", + name = "Cxx", + }, + ["d"] = { + icon = "", + color = "#427819", + cterm_color = "64", + name = "D", + }, + ["dart"] = { + icon = "", + color = "#03589C", + cterm_color = "25", + name = "Dart", + }, + ["db"] = { + icon = "", + color = "#dad8d8", + cterm_color = "253", + name = "Db", + }, + ["desktop"] = { + icon = "", + color = "#563d7c", + cterm_color = "60", + name = "DesktopEntry", + }, + ["diff"] = { + icon = "", + color = "#41535b", + cterm_color = "239", + name = "Diff", + }, + ["dockerfile"] = { + icon = "", + color = "#0087c9", + cterm_color = "32", + name = "Dockerfile", + }, + ["drl"] = { + icon = "", + color = "#ffafaf", + cterm_color = "217", + name = "Drools", + }, + ["dropbox"] = { + icon = "", + color = "#0061FE", + cterm_color = "27", + name = "Dropbox", + }, + ["dump"] = { + icon = "", + color = "#dad8d8", + cterm_color = "253", + name = "Dump", + }, + ["edn"] = { + icon = "", + color = "#519aba", + cterm_color = "67", + name = "Edn", + }, + ["eex"] = { + icon = "", + color = "#a074c4", + cterm_color = "140", + name = "Eex", + }, + ["ejs"] = { + icon = "", + color = "#cbcb41", + cterm_color = "185", + name = "Ejs", + }, + ["elm"] = { + icon = "", + color = "#519aba", + cterm_color = "67", + name = "Elm", + }, + ["epp"] = { + icon = "", + color = "#FFA61A", + cterm_color = "214", + name = "Epp", + }, + ["erb"] = { + icon = "", + color = "#701516", + cterm_color = "1", + name = "Erb", + }, + ["erl"] = { + icon = "", + color = "#B83998", + cterm_color = "132", + name = "Erl", + }, + ["ex"] = { + icon = "", + color = "#a074c4", + cterm_color = "140", + name = "Ex", + }, + ["exs"] = { + icon = "", + color = "#a074c4", + cterm_color = "140", + name = "Exs", + }, + ["f#"] = { + icon = "", + color = "#519aba", + cterm_color = "67", + name = "Fsharp", + }, + ["favicon.ico"] = { + icon = "", + color = "#cbcb41", + cterm_color = "185", + name = "Favicon", + }, + ["fnl"] = { + icon = "", + color = "#fff3d7", + cterm_color = "230", + name = "Fennel", + }, + ["fs"] = { + icon = "", + color = "#519aba", + cterm_color = "67", + name = "Fs", + }, + ["fsi"] = { + icon = "", + color = "#519aba", + cterm_color = "67", + name = "Fsi", + }, + ["fsscript"] = { + icon = "", + color = "#519aba", + cterm_color = "67", + name = "Fsscript", + }, + ["fsx"] = { + icon = "", + color = "#519aba", + cterm_color = "67", + name = "Fsx", + }, + ["gd"] = { + icon = "", + color = "#6d8086", + cterm_color = "66", + name = "GDScript", + }, + ["gemspec"] = { + icon = "", + color = "#701516", + cterm_color = "1", + name = "Gemspec", + }, + ["gif"] = { + icon = "", + color = "#26a69a", + cterm_color = "36", + name = "Gif", + }, + ["glb"] = { + icon = "", + color = "#FFB13B", + cterm_color = "215", + name = "BinaryGLTF", + }, + ["go"] = { + icon = "", + color = "#519aba", + cterm_color = "67", + name = "Go", + }, + ["godot"] = { + icon = "", + color = "#6d8086", + cterm_color = "66", + name = "GodotProject", + }, + ["graphql"] = { + icon = "", + color = "#e535ab", + cterm_color = "169", + name = "GraphQL", + }, + ["gruntfile"] = { + icon = "", + color = "#e37933", + cterm_color = "173", + name = "Gruntfile", + }, + ["gulpfile"] = { + icon = "", + color = "#cc3e44", + cterm_color = "167", + name = "Gulpfile", + }, + ["h"] = { + icon = "", + color = "#a074c4", + cterm_color = "140", + name = "H", + }, + ["haml"] = { + icon = "", + color = "#eaeae1", + cterm_color = "254", + name = "Haml", + }, + ["hbs"] = { + icon = "", + color = "#f0772b", + cterm_color = "208", + name = "Hbs", + }, + ["heex"] = { + icon = "", + color = "#a074c4", + cterm_color = "140", + name = "Heex", + }, + ["hh"] = { + icon = "", + color = "#a074c4", + cterm_color = "140", + name = "Hh", + }, + ["hpp"] = { + icon = "", + color = "#a074c4", + cterm_color = "140", + name = "Hpp", + }, + ["hrl"] = { + icon = "", + color = "#B83998", + cterm_color = "132", + name = "Hrl", + }, + ["hs"] = { + icon = "", + color = "#a074c4", + cterm_color = "140", + name = "Hs", + }, + ["htm"] = { + icon = "", + color = "#e34c26", + cterm_color = "166", + name = "Htm", + }, + ["html"] = { + icon = "", + color = "#e44d26", + cterm_color = "166", + name = "Html", + }, + ["hxx"] = { + icon = "", + color = "#a074c4", + cterm_color = "140", + name = "Hxx", + }, + ["ico"] = { + icon = "", + color = "#cbcb41", + cterm_color = "185", + name = "Ico", + }, + ["import"] = { + icon = "", + color = "#ECECEC", + cterm_color = "255", + name = "ImportConfiguration", + }, + ["ini"] = { + icon = "", + color = "#6d8086", + cterm_color = "66", + name = "Ini", + }, + ["jl"] = { + icon = "", + color = "#a270ba", + cterm_color = "133", + name = "Jl", + }, + ["json5"] = { + icon = "", + color = "#cbcb41", + cterm_color = "185", + name = "Json5", + }, + ["ksh"] = { + icon = "", + color = "#4d5a5e", + cterm_color = "240", + name = "Ksh", + }, + ["kt"] = { + icon = "", + color = "#F88A02", + cterm_color = "208", + name = "Kotlin", + }, + ["kts"] = { + icon = "", + color = "#F88A02", + cterm_color = "208", + name = "KotlinScript", + }, + ["leex"] = { + icon = "", + color = "#a074c4", + cterm_color = "140", + name = "Leex", + }, + ["less"] = { + icon = "", + color = "#563d7c", + cterm_color = "60", + name = "Less", + }, + ["lhs"] = { + icon = "", + color = "#a074c4", + cterm_color = "140", + name = "Lhs", + }, + ["lua"] = { + icon = "", + color = "#51a0cf", + cterm_color = "74", + name = "Lua", + }, + ["luau"] = { + icon = "", + color = "#51a0cf", + cterm_color = "74", + name = "Luau", + }, + ["makefile"] = { + icon = "", + color = "#6d8086", + cterm_color = "66", + name = "Makefile", + }, + ["markdown"] = { + icon = "", + color = "#519aba", + cterm_color = "67", + name = "Markdown", + }, + ["mdx"] = { + icon = "", + color = "#519aba", + cterm_color = "67", + name = "Mdx", + }, + ["mix.lock"] = { + icon = "", + color = "#a074c4", + cterm_color = "140", + name = "MixLock", + }, + ["ml"] = { + icon = "λ", + color = "#e37933", + cterm_color = "173", + name = "Ml", + }, + ["mli"] = { + icon = "λ", + color = "#e37933", + cterm_color = "173", + name = "Mli", + }, + ["mo"] = { + icon = "∞", + color = "#9772FB", + cterm_color = "99", + name = "Motoko", + }, + ["mustache"] = { + icon = "", + color = "#e37933", + cterm_color = "173", + name = "Mustache", + }, + ["nim"] = { + icon = "", + color = "#f3d400", + cterm_color = "220", + name = "Nim", + }, + ["nix"] = { + icon = "", + color = "#7ebae4", + cterm_color = "110", + name = "Nix", + }, + ["otf"] = { + icon = "", + color = "#ECECEC", + cterm_color = "255", + name = "OpenTypeFont", + }, + ["pck"] = { + icon = "", + color = "#6d8086", + cterm_color = "66", + name = "PackedResource", + }, + ["pp"] = { + icon = "", + color = "#FFA61A", + cterm_color = "214", + name = "Pp", + }, + ["Procfile"] = { + icon = "", + color = "#a074c4", + cterm_color = "140", + name = "Procfile", + }, + ["ps1"] = { + icon = "", + color = "#4d5a5e", + cterm_color = "240", + name = "PromptPs1", + }, + ["psb"] = { + icon = "", + color = "#519aba", + cterm_color = "67", + name = "Psb", + }, + ["psd"] = { + icon = "", + color = "#519aba", + cterm_color = "67", + name = "Psd", + }, + ["query"] = { + icon = "", + color = "#90a850", + cterm_color = "107", + name = "Query", + }, + ["rake"] = { + icon = "", + color = "#701516", + cterm_color = "1", + name = "Rake", + }, + ["rakefile"] = { + icon = "", + color = "#701516", + cterm_color = "1", + name = "Rakefile", + }, + ["rb"] = { + icon = "", + color = "#701516", + cterm_color = "1", + name = "Rb", + }, + ["rlib"] = { + icon = "", + color = "#dea584", + cterm_color = "180", + name = "Rlib", + }, + ["rmd"] = { + icon = "", + color = "#519aba", + cterm_color = "67", + name = "Rmd", + }, + ["rs"] = { + icon = "", + color = "#dea584", + cterm_color = "180", + name = "Rs", + }, + ["rss"] = { + icon = "", + color = "#FB9D3B", + cterm_color = "215", + name = "Rss", + }, + ["sass"] = { + icon = "", + color = "#f55385", + cterm_color = "204", + name = "Sass", + }, + ["sbt"] = { + icon = "", + color = "#cc3e44", + cterm_color = "167", + name = "sbt", + }, + ["scala"] = { + icon = "", + color = "#f44336", + cterm_color = "203", + name = "Scala", + }, + ["scm"] = { + icon = "ﬦ", + color = "#000000", + cterm_color = "16", + name = "Scheme", + }, + ["scss"] = { + icon = "", + color = "#f55385", + cterm_color = "204", + name = "Scss", + }, + ["sig"] = { + icon = "λ", + color = "#e37933", + cterm_color = "173", + name = "Sig", + }, + ["slim"] = { + icon = "", + color = "#e34c26", + cterm_color = "166", + name = "Slim", + }, + ["sln"] = { + icon = "", + color = "#854CC7", + cterm_color = "98", + name = "Sln", + }, + ["sml"] = { + icon = "λ", + color = "#e37933", + cterm_color = "173", + name = "Sml", + }, + ["sqlite"] = { + icon = "", + color = "#dad8d8", + cterm_color = "253", + name = "Sql", + }, + ["sqlite3"] = { + icon = "", + color = "#dad8d8", + cterm_color = "253", + name = "Sql", + }, + ["styl"] = { + icon = "", + color = "#8dc149", + cterm_color = "107", + name = "Styl", + }, + ["sublime"] = { + icon = "", + color = "#e37933", + cterm_color = "173", + name = "Suo", + }, + ["suo"] = { + icon = "", + color = "#854CC7", + cterm_color = "98", + name = "Suo", + }, + ["t"] = { + icon = "", + color = "#519aba", + cterm_color = "67", + name = "Tor", + }, + ["terminal"] = { + icon = "", + color = "#31B53E", + cterm_color = "71", + name = "Terminal", + }, + ["tres"] = { + icon = "", + color = "#cbcb41", + cterm_color = "185", + name = "TextResource", + }, + ["twig"] = { + icon = "", + color = "#8dc149", + cterm_color = "107", + name = "Twig", + }, + ["vim"] = { + icon = "", + color = "#019833", + cterm_color = "29", + name = "Vim", + }, + ["webmanifest"] = { + icon = "", + color = "#f1e05a", + cterm_color = "221", + name = "Webmanifest", + }, + ["xcplayground"] = { + icon = "", + color = "#e37933", + cterm_color = "173", + name = "XcPlayground", + }, + ["zig"] = { + icon = "", + color = "#f69a1b", + cterm_color = "208", + name = "Zig", + }, + ["zsh"] = { + icon = "", + color = "#89e051", + cterm_color = "113", + name = "Zsh", + }, + [".env"] = { + icon = "", + color = "#faf743", + cterm_color = "227", + name = "Env", + }, + ["lock"] = { + icon = "", + color = "#ffd54f", + cterm_color = "221", + name = "Lock", + }, + ["log"] = { + icon = "", + color = "#ffffff", + cterm_color = "231", + name = "Log", + }, + ["zip"] = { + icon = "", + color = "#afb42b", + cterm_color = "142", + name = "Zip", + }, + ["xz"] = { + icon = "", + color = "#afb42b", + cterm_color = "142", + name = "Xz", + }, + ["test.js"] = { + icon = "", + color = "#ffca28", + cterm_color = "220", + name = "TestJavascript", + }, + ["test.jsx"] = { + icon = "", + color = "#00bcd4", + cterm_color = "38", + name = "TestJavascriptReact", + }, + ["test.ts"] = { + icon = "", + color = "#00bcd4", + cterm_color = "38", + name = "TestTypescript", + }, + ["ttf"] = { + icon = "", + color = "#f44336", + cterm_color = "203", + name = "Ttf", + }, + ["woff"] = { + icon = "", + color = "#f44336", + cterm_color = "203", + name = "WebOpenFontFormat", + }, + ["woff2"] = { + icon = "", + color = "#f44336", + cterm_color = "203", + name = "WebOpenFontFormat", + }, + ["hex"] = { + icon = "", + color = "#26a69a", + cterm_color = "36", + name = "Hex", + }, + ["bin"] = { + icon = "", + color = "#26a69a", + cterm_color = "36", + name = "Bin", + }, + ["dat"] = { + icon = "", + color = "#26a69a", + cterm_color = "36", + name = "Dat", + }, + ["abc"] = { + icon = "", + color = "#ff5722", + cterm_color = "202", + name = "Abc", + }, + ["babel.config.js"] = { + icon = "", + color = "#fdd835", + cterm_color = "221", + name = "BabelConfig", + }, + ["bf"] = { + icon = "", + color = "#ff4081", + cterm_color = "204", + name = "Bf", + }, + ["exe"] = { + icon = "", + color = "#e64a19", + cterm_color = "166", + name = "Exe", + }, + ["pptx"] = { + icon = "", + color = "#d14524", + cterm_color = "166", + name = "Pptx", + }, + ["obj"] = { + icon = "", + color = "#29b6f6", + cterm_color = "39", + name = "Obj", + }, + ["fbx"] = { + icon = "", + color = "#29b6f6", + cterm_color = "39", + name = "Fbx", + }, + ["deb"] = { + icon = "", + color = "#ff0283", + cterm_color = "198", + name = "Deb", + }, + ["rpm"] = { + icon = "", + color = "#f44336", + cterm_color = "203", + name = "Rpm", + }, + ["README.md"] = { + icon = "", + color = "#42a5f5", + cterm_color = "75", + name = "README.md", + }, + ["razor"] = { + icon = "", + color = "#42a5f5", + cterm_color = "75", + name = "razor", + }, + ["sc"] = { + icon = "", + color = "#f44336", + cterm_color = "203", + name = "sc", + }, + }, + color_icons = true, + default = true, +}) + +web_devicons.setup({ + override = material_icon.get_icons(), + override_by_filename = { + ["artisan"] = { + icon = "󰫐", + color = "#ef510b", + cterm_color = "240", + name = "artisan", + }, + ["vite.config.ts"] = { + icon = "󰉁", + color = "#ffab00", + cterm_color = "240", + name = "viteconfigts", + }, + ["vite.config.js"] = { + icon = "󰉁", + color = "#ffab00", + cterm_color = "240", + name = "viteconfigjs", + }, + [".releaserc"] = { + icon = "󰚧", + color = "#9C9C9C", + cterm_color = "240", + name = "releaserc", + }, + [".profile"] = { + icon = "󰙄", + color = "#9C9C9C", + cterm_color = "240", + name = "profiledata", + }, + [".eslint_d"] = { + icon = "󰱺", + color = "#4930bd", + cterm_color = "240", + name = "eslintd", + }, + [".eslintrc.cjs"] = { + icon = "󰱺", + color = "#4930bd", + cterm_color = "240", + name = "eslintrccjs", + }, + [".htaccess"] = { + icon = "󰛓", + color = "#C63C17", + cterm_color = "240", + name = "htaccess", + }, + ["pom.xml"] = { + icon = "󰛓", + color = "#C63C17", + cterm_color = "240", + name = "pomxml", + }, + [".huskyrc"] = { + icon = "󰩃", + color = "#ffffff", + cterm_color = "240", + name = "huskyrc", + }, + [".prettierrc"] = { + icon = "", + color = "#ea5e5e", + cterm_color = "240", + name = "prettierrc", + }, + [".prettierrc.json"] = { + icon = "", + color = "#ea5e5e", + cterm_color = "240", + name = "prettierrcjson", + }, + [".prettierd"] = { + icon = "", + color = "#ea5e5e", + cterm_color = "240", + name = "prettierd", + }, + [".vscodeignore"] = { + icon = "", + color = "#30A2FF", + cterm_color = "240", + name = "vscodeignore", + }, + [".vsixmanifest"] = { + icon = "", + color = "#30A2FF", + cterm_color = "240", + name = "vsixmanifest", + }, + [".prettierignore"] = { + icon = "", + color = "#ea5e5e", + cterm_color = "240", + name = "prettierignore", + }, + [".sequelizerc"] = { + icon = "󱙌", + color = "#397883", + cterm_color = "220", + name = "sequelizerc", + }, + ["pre-commit"] = { + icon = "", + color = "#75e4b3", + cterm_color = "240", + name = "pre", + }, + ["yarn.lock"] = { + icon = "", + color = "#ea5e5e", + cterm_color = "240", + name = "yarnlock", + }, + ["yarn-error.log"] = { + icon = "", + color = "#3d85c6", + cterm_color = "240", + name = "yarnerror", + }, + [".eslintrc.json"] = { + icon = "󰱺", + color = "#4746a8", + cterm_color = "240", + name = "eslintrc", + }, + [".eslintrc.js"] = { + icon = "󰱺", + color = "#4746a8", + cterm_color = "240", + name = "eslintrcjs", + }, + [".eslintignore"] = { + icon = "󰱺", + color = "#4746a8", + cterm_color = "240", + name = "eslintignore", + }, + ["jest.config.js"] = { + icon = "󰚐", + color = "#e37575", + cterm_color = "220", + name = "jestconfig", + }, + ["cname"] = { + icon = "󰖟", + color = "#e37575", + cterm_color = "220", + name = "cname", + }, + [".nvmrc"] = { + icon = "", + color = "#E8274B", + cterm_color = "220", + name = "nvmrc", + }, + [".yarnrc"] = { + icon = "", + color = "#3d85c6", + cterm_color = "240", + name = "yarnrc", + }, + [".git-blame-ignore-revs"] = { + icon = "󰊢", + color = "#F14C28", + cterm_color = "220", + name = "gitblameignorerevs", + }, + [".gitmodules"] = { + icon = "󰊢", + color = "#0c343d", + cterm_color = "220", + name = "gitmodules", + }, + [".mailmap"] = { + icon = "󰇮", + color = "#a0d0d0", + cterm_color = "220", + name = "mailmap", + }, + [".vscode-test.js"] = { + icon = "󰨞", + color = "#206ba3", + cterm_color = "220", + name = "vscodetest", + }, + [".mention-bot"] = { + icon = "󰚩", + color = "#ffffff", + cterm_color = "220", + name = "mentionbot", + }, + [".project"] = { + icon = "󰈚", + color = "#5881b1", + cterm_color = "220", + name = "project", + }, + ["gradlew"] = { + icon = "", + color = "#9C9C9C", + cterm_color = "220", + name = "gradlewFile", + }, + [".classpath"] = { + icon = "󰅶", + color = "#9C9C9C", + cterm_color = "220", + name = "gradlewFile", + }, + ["dockerfile-development"] = { + icon = "", + color = "#0087c9", + cterm_color = "220", + name = "gradlewFile-development", + }, + ["dockerfile-staging"] = { + icon = "", + color = "#0087c9", + cterm_color = "220", + name = "gradlewFile-staging", + }, + ["nodemon.json"] = { + icon = "󰇴", + color = "#76d04b", + cterm_color = "220", + name = "nodemonjson", + }, + ["webpack.config.js"] = { + icon = "󰜫", + color = "#8ED6FB", + cterm_color = "220", + name = "webpackconfigjs", + }, + ["package.json"] = { + icon = "󰎙", + color = "#8ED6FB", + cterm_color = "220", + name = "packagejson", + }, + ["package-lock.json"] = { + icon = "󰎙", + color = "#cc0000", + cterm_color = "220", + name = "packagelockjson", + }, + [".gitignore"] = { + icon = "󰊢", + color = "#8ED6FB", + cterm_color = "220", + name = "gitignore", + }, + ["tsconfig.json"] = { + icon = "󰛦", + color = "#519aba", + cterm_color = "74", + name = "TSConfig", + }, + ["jsconfig.json"] = { + icon = "󰌞", + color = "#f2c55c", + cterm_color = "220", + name = "JSConfig", + }, + [".gitlab-ci.yml"] = { + icon = "", + color = "#F14C28", + cterm_color = "220", + name = "gitlabciyaml", + }, + [".env_example"] = { + icon = "", + color = "#faf743", + cterm_color = "227", + name = "Envexample", + }, + ["README.md"] = { + icon = "󰋼", + color = "#faf743", + cterm_color = "227", + name = "readmefile", + }, + }, +})