Skip to content

Commit

Permalink
fix(icons): Fixed missing signs for some filetypes
Browse files Browse the repository at this point in the history
Ref: #177
  • Loading branch information
OXY2DEV committed Jan 11, 2025
1 parent af57271 commit b7a663e
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions lua/markview/filetypes.lua
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
local fts = {};

fts.names = {};

fts.styles = {
---+${class}
["default"] = { sign = "󰻺 ", sign_hl = "MarkviewPalette0Sign", icon = "󰻺 ", icon_hl = "MarkviewIcon0", border_hl = "MarkviewPalette0Fg" },
["default"] = { name = nil, sign = "󰻺 ", sign_hl = "MarkviewPalette0Sign", icon = "󰻺 ", icon_hl = "MarkviewIcon0", border_hl = "MarkviewPalette0Fg" },
["nosyntax"] = { name = "Unknown", sign = "󰡯 ", sign_hl = "MarkviewPalette0Sign", icon = "󰡯 ", icon_hl = "MarkviewIcon0", border_hl = "MarkviewPalette0Fg" },

["abaqus"] = { name = "Abaqus", sign = "󱛠 ", sign_hl = "MarkviewPalette2Sign", icon = "󱛠 ", icon_hl = "MarkviewIcon2", border_hl = "MarkviewPalette2Fg" },
Expand Down Expand Up @@ -39,7 +37,7 @@ fts.styles = {
["cvs"] = { name = "CVS commit", sign = "", sign_hl = "MarkviewPalette3Sign", icon = "", icon_hl = "MarkviewIcon3", border_hl = "MarkviewPalette3Fg" },
["cweb"] = { name = "CWEB", sign = "󰎞 ", sign_hl = "MarkviewPalette0Sign", icon = "󰎞 ", icon_hl = "MarkviewIcon0", border_hl = "MarkviewPalette0Fg" },
["cynlib"] = { name = "CynLib", sign = "󰯂 ", sign_hl = "MarkviewPalette6Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon6", border_hl = "MarkviewPalette6Fg" },
["d"] = { name = "D", sign = "", sign_hl = "MarkviewPalette6Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon6", border_hl = "MarkviewPalette6Fg" },
["d"] = { name = "D", sign = "", sign_hl = "MarkviewPalette6Sign", icon = " ", icon_hl = "MarkviewIcon6", border_hl = "MarkviewPalette6Fg" },
["dart"] = { name = "Dart", sign = "", sign_hl = "MarkviewPalette6Sign", icon = "", icon_hl = "MarkviewIcon6", border_hl = "MarkviewPalette6Fg" },
["debchangelog"] = { name = "DebChangelog", sign = "", sign_hl = "MarkviewPalette1Sign", icon = "", icon_hl = "MarkviewIcon1", border_hl = "MarkviewPalette1Fg" },
["debcontrol"] = { name = "DebControl", sign = "", sign_hl = "MarkviewPalette1Sign", icon = "", icon_hl = "MarkviewIcon1", border_hl = "MarkviewPalette1Fg" },
Expand All @@ -50,7 +48,7 @@ fts.styles = {
["dtd"] = { name = "Type Definition", sign = "󱪗 ", sign_hl = "MarkviewPalette0Sign", icon = "󱪗 ", icon_hl = "MarkviewIcon0", border_hl = "MarkviewPalette0Fg" },
["dtrace"] = { name = "DTrace", sign = "󰯂 ", sign_hl = "MarkviewPalette6Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon6", border_hl = "MarkviewPalette6Fg" },
["edif"] = { name = "EDIF", sign = "󰯂 ", sign_hl = "MarkviewPalette6Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon6", border_hl = "MarkviewPalette6Fg" },
["eiffel"] = { name = "Eiffel", sign = "󱕫 ", sign_hl = "MarkviewPalette6Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon6", border_hl = "MarkviewPalette6Fg" },
["eiffel"] = { name = "Eiffel", sign = "󱕫 ", sign_hl = "MarkviewPalette6Sign", icon = "󱕫 ", icon_hl = "MarkviewIcon6", border_hl = "MarkviewPalette6Fg" },
["elixir"] = { name = "Elixir", sign = "", sign_hl = "MarkviewPalette6Sign", icon = "", icon_hl = "MarkviewIcon0", border_hl = "MarkviewPalette0Fg" },
["erlang"] = { name = "Erlang", sign = "", sign_hl = "MarkviewPalette0Sign", icon = "", icon_hl = "MarkviewIcon0", border_hl = "MarkviewPalette0Fg" },
["euphoria3"] = { name = "Euphoria3", sign = "󰯂 ", sign_hl = "MarkviewPalette6Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon6", border_hl = "MarkviewPalette6Fg" },
Expand Down Expand Up @@ -139,7 +137,7 @@ fts.styles = {
["cf"] = { name = "ColdFusion", sign = "", sign_hl = "MarkviewPalette3Sign", icon = "", icon_hl = "MarkviewIcon3", border_hl = "MarkviewPalette3Fg" },
["cgdbrc"] = { name = "CGDBRC", sign = "󰯂 ", sign_hl = "MarkviewPalette6Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon6", border_hl = "MarkviewPalette6Fg" },
["chaiscript"] = { name = "ChaiScript", sign = "󰯂 ", sign_hl = "MarkviewPalette6Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon6", border_hl = "MarkviewPalette6Fg" },
["chaskell"] = { name = "CHaskell", sign = "", sign_hl = "MarkviewPalette5Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon5", border_hl = "MarkviewPalette5Fg" },
["chaskell"] = { name = "CHaskell", sign = "", sign_hl = "MarkviewPalette5Sign", icon = " ", icon_hl = "MarkviewIcon5", border_hl = "MarkviewPalette5Fg" },
["chatito"] = { name = "Chatito", sign = "󰯂 ", sign_hl = "MarkviewPalette6Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon6", border_hl = "MarkviewPalette6Fg" },
["checkhealth"] = { name = "CheckHealth", sign = "", sign_hl = "MarkviewPalette1Sign", icon = "", icon_hl = "MarkviewIcon1", border_hl = "MarkviewPalette1Fg" },
["cheetah"] = { name = "cheetah", sign = "󰯂 ", sign_hl = "MarkviewPalette6Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon6", border_hl = "MarkviewPalette6Fg" },
Expand Down Expand Up @@ -295,21 +293,21 @@ fts.styles = {
["jal"] = { name = "JAL", sign = "󰯂 ", sign_hl = "MarkviewPalette5Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon5", border_hl = "MarkviewPalette5Fg" },
["jam"] = { name = "JAM", sign = "󰫷 ", sign_hl = "MarkviewPalette1Sign", icon = "󰫷 ", icon_hl = "MarkviewIcon1", border_hl = "MarkviewPalette1Fg" },
["jargon"] = { name = "Jargon", sign = "󰯂 ", sign_hl = "MarkviewPalette5Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon5", border_hl = "MarkviewPalette5Fg" },
["java"] = { name = "Java", sign = "", sign_hl = "MarkviewPalette5Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon5", border_hl = "MarkviewPalette5Fg" },
["java"] = { name = "Java", sign = "", sign_hl = "MarkviewPalette5Sign", icon = " ", icon_hl = "MarkviewIcon5", border_hl = "MarkviewPalette5Fg" },
["javacc"] = { name = "JavaCC", sign = "󰹩 ", sign_hl = "MarkviewPalette4Sign", icon = "󰹩 ", icon_hl = "MarkviewIcon4", border_hl = "MarkviewPalette4Fg" },
["javascript"] = { name = "Javascript", sign = "", sign_hl = "MarkviewPalette3Sign", icon = "", icon_hl = "MarkviewIcon3", border_hl = "MarkviewPalette3Fg" },
["javascriptreact"] = { name = "React", sign = "󰜈 ", sign_hl = "MarkviewPalette5Sign", icon = "󰜈 ", icon_hl = "MarkviewIcon5", border_hl = "MarkviewPalette5Fg" },
["jess"] = { name = "Jess", sign = "󰌪 ", sign_hl = "MarkviewPalette4Sign", icon = "󰌪 ", icon_hl = "MarkviewIcon4", border_hl = "MarkviewPalette4Fg" },
["jgraph"] = { name = "JGraph", sign = "󰯂 ", sign_hl = "MarkviewPalette6Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon6", border_hl = "MarkviewPalette6Fg" },
["jj"] = { name = "JJ", sign = "󰯂 ", sign_hl = "MarkviewPalette6Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon6", border_hl = "MarkviewPalette6Fg" },
["jovial"] = { name = "Jovial J73", sign = "󰯂 ", sign_hl = "MarkviewPalette6Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon6", border_hl = "MarkviewPalette6Fg" },
["jproperties"] = { name = "Java Properties", sign = "", sign_hl = "MarkviewPalette2Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon2", border_hl = "MarkviewPalette2Fg" },
["jproperties"] = { name = "Java Properties", sign = "", sign_hl = "MarkviewPalette2Sign", icon = " ", icon_hl = "MarkviewIcon2", border_hl = "MarkviewPalette2Fg" },
["jq"] = { name = "JQ", sign = "󰯂 ", sign_hl = "MarkviewPalette5Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon5", border_hl = "MarkviewPalette5Fg" },
["json"] = { name = "JSON", sign = "", sign_hl = "MarkviewPalette6Sign", icon = "", icon_hl = "MarkviewIcon6", border_hl = "MarkviewPalette6Fg" },
["json5"] = { name = "JSON", sign = "󰘦 ", sign_hl = "MarkviewPalette3Sign", icon = "󰘦 ", icon_hl = "MarkviewIcon3", border_hl = "MarkviewPalette3Fg" },
["jsonc"] = { name = "JSON", sign = "󰘦 ", sign_hl = "MarkviewPalette0Sign", icon = "󰘦 ", icon_hl = "MarkviewIcon0", border_hl = "MarkviewPalette0Fg" },
["jsonnet"] = { name = "Jsonnet", sign = "", sign_hl = "MarkviewPalette0Sign", icon = "", icon_hl = "MarkviewIcon0", border_hl = "MarkviewPalette0Fg" },
["jsp"] = { name = "JSP", sign = "", sign_hl = "MarkviewPalette6Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon6", border_hl = "MarkviewPalette6Fg" },
["jsp"] = { name = "JSP", sign = "", sign_hl = "MarkviewPalette6Sign", icon = " ", icon_hl = "MarkviewIcon6", border_hl = "MarkviewPalette6Fg" },
["julia"] = { name = "JAL", sign = "", sign_hl = "MarkviewPalette0Sign", icon = "", icon_hl = "MarkviewIcon0", border_hl = "MarkviewPalette0Fg" },
["karel"] = { name = "KAREL", sign = "󰯂 ", sign_hl = "MarkviewPalette5Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon5", border_hl = "MarkviewPalette5Fg" },
["kconfig"] = { name = "Kconfig", sign = "", sign_hl = "MarkviewPalette0Sign", icon = "", icon_hl = "MarkviewIcon0", border_hl = "MarkviewPalette0Fg" },
Expand Down Expand Up @@ -392,7 +390,7 @@ fts.styles = {
["modsim3"] = { name = "Modsim Ⅲ", sign = "󰯂 ", sign_hl = "MarkviewPalette6Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon6", border_hl = "MarkviewPalette6Fg" },
["modula2"] = { name = "Modula-2", sign = "󰯂 ", sign_hl = "MarkviewPalette6Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon6", border_hl = "MarkviewPalette6Fg" },
["modula3"] = { name = "Modula-3", sign = "󰯂 ", sign_hl = "MarkviewPalette6Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon6", border_hl = "MarkviewPalette6Fg" },
["mojo"] = { name = "Mojo", sign = "", sign_hl = "MarkviewPalette1Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon1", border_hl = "MarkviewPalette1Fg" },
["mojo"] = { name = "Mojo", sign = "", sign_hl = "MarkviewPalette1Sign", icon = " ", icon_hl = "MarkviewIcon1", border_hl = "MarkviewPalette1Fg" },
["monk"] = { name = "Monk", sign = "󰯂 ", sign_hl = "MarkviewPalette6Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon6", border_hl = "MarkviewPalette6Fg" },
["moo"] = { name = "MOO", sign = "󰯂 ", sign_hl = "MarkviewPalette6Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon6", border_hl = "MarkviewPalette6Fg" },
["mp"] = { name = "MetaPost", sign = "󰯂 ", sign_hl = "MarkviewPalette6Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon6", border_hl = "MarkviewPalette6Fg" },
Expand Down Expand Up @@ -518,7 +516,7 @@ fts.styles = {
["rnc"] = { name = "Relax NG compact", sign = "󰯂 ", sign_hl = "MarkviewPalette6Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon6", border_hl = "MarkviewPalette6Fg" },
["rng"] = { name = "RELAX NG", sign = "󰯂 ", sign_hl = "MarkviewPalette6Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon6", border_hl = "MarkviewPalette6Fg" },
["rnoweb"] = { name = "R noweb", sign = "", sign_hl = "MarkviewPalette5Sign", icon = "", icon_hl = "MarkviewIcon5", border_hl = "MarkviewPalette5Fg" },
["robots"] = { name = "Robots", sign = "󱚧 ", sign_hl = "MarkviewPalette1Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon1", border_hl = "MarkviewPalette1Fg" },
["robots"] = { name = "Robots", sign = "󱚧 ", sign_hl = "MarkviewPalette1Sign", icon = "󱚧 ", icon_hl = "MarkviewIcon1", border_hl = "MarkviewPalette1Fg" },
["routeros"] = { name = "RouterOS Script", sign = "󰯂 ", sign_hl = "MarkviewPalette6Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon6", border_hl = "MarkviewPalette6Fg" },
["rpcgen"] = { name = "RPCGen", sign = "󰯂 ", sign_hl = "MarkviewPalette6Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon6", border_hl = "MarkviewPalette6Fg" },
["rpl"] = { name = "RPL/2", sign = "󰯂 ", sign_hl = "MarkviewPalette6Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon6", border_hl = "MarkviewPalette6Fg" },
Expand Down Expand Up @@ -653,7 +651,8 @@ fts.styles = {
["tt2"] = { name = "TT2", sign = "󰯂 ", sign_hl = "MarkviewPalette6Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon6", border_hl = "MarkviewPalette6Fg" },
["tt2html"] = { name = "HTML+TT2", sign = "", sign_hl = "MarkviewPalette0Sign", icon = "", icon_hl = "MarkviewIcon0", border_hl = "MarkviewPalette0Fg" },
["tt2js"] = { name = "Javascript+TT2", sign = "", sign_hl = "MarkviewPalette0Sign", icon = "", icon_hl = "MarkviewIcon0", border_hl = "MarkviewPalette0Fg" },
["typescript"] = { name = "Typescript", sign = "", sign_hl = "MarkviewPalette3Sign", icon = "󰯂 ", icon_hl = "MarkviewIcon3", border_hl = "MarkviewPalette3Fg" },
["ts"] = { name = "Typescript", sign = "", sign_hl = "MarkviewPalette3Sign", icon = "", icon_hl = "MarkviewIcon3", border_hl = "MarkviewPalette3Fg" },
["typescript"] = { name = "Typescript", sign = "", sign_hl = "MarkviewPalette3Sign", icon = "", icon_hl = "MarkviewIcon3", border_hl = "MarkviewPalette3Fg" },
["typescriptreact"] = { name = "React", sign = "", sign_hl = "MarkviewPalette3Sign", icon = "", icon_hl = "MarkviewIcon3", border_hl = "MarkviewPalette3Fg" },
["uc"] = { name = "UnrealScript", sign = "", sign_hl = "MarkviewPalette0Sign", icon = "", icon_hl = "MarkviewIcon0", border_hl = "MarkviewPalette0Fg" },
["uci"] = { name = "OpenWrt Config", sign = "", sign_hl = "MarkviewPalette3Sign", icon = "", icon_hl = "MarkviewIcon3", border_hl = "MarkviewPalette3Fg" },
Expand Down

0 comments on commit b7a663e

Please sign in to comment.