feat(nvim): display active file in status bar and use url in editor

This commit is contained in:
Pihkaal
2024-06-01 00:26:23 +02:00
parent 96207863a9
commit 5651a42195
6 changed files with 72 additions and 62 deletions

View File

@@ -159,20 +159,3 @@ export const NvimTree = (
</div>
);
};
type FileIcon = {
char: string;
color: string;
};
const FILE_ICONS: Record<string, FileIcon> = {
md: {
char: " ",
color: "#89bafa",
},
asc: {
char: "󰷖 ",
color: "#f9e2af",
},
UNKNOWN: { char: "󰈚 ", color: "#f599ae" },
};