Skip to content

Commit

Permalink
feat(recipes): add VS Code Icons recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Feb 21, 2024
1 parent a6e655d commit c71a4fa
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lua/astrocommunity/recipes/vscode-icons/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# VS Code Style Icons

**Website:** <https://docs.astronvim.com/recipes/icons/#vs-code-style-icons>

This plugin specification configures the AstroNvim icons to look more like VS Code's
71 changes: 71 additions & 0 deletions lua/astrocommunity/recipes/vscode-icons/init.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
return {
{
"AstroNvim/astroui",
---@type AstroUIOpts
opts = {
icons = {
ActiveLSP = "",
ActiveTS = "",
BufferClose = "",
DapBreakpoint = "",
DapBreakpointCondition = "",
DapBreakpointRejected = "",
DapLogPoint = "",
DapStopped = "",
DefaultFile = "",
Diagnostic = "",
DiagnosticError = "",
DiagnosticHint = "",
DiagnosticInfo = "",
DiagnosticWarn = "",
Ellipsis = "",
FileModified = "",
FileReadOnly = "",
FoldClosed = "",
FoldOpened = "",
FolderClosed = "",
FolderEmpty = "",
FolderOpen = "",
Git = "",
GitAdd = "",
GitBranch = "",
GitChange = "",
GitConflict = "",
GitDelete = "",
GitIgnored = "",
GitRenamed = "",
GitStaged = "",
GitUnstaged = "",
GitUntracked = "",
LSPLoaded = "",
LSPLoading1 = "",
LSPLoading2 = "",
LSPLoading3 = "",
MacroRecording = "",
Paste = "",
Search = "",
Selected = "",
TabClose = "",
},
},
},
{
"onsails/lspkind.nvim",
opts = function(_, opts)
-- use codicons preset
opts.preset = "codicons"
-- set some missing symbol types
opts.symbol_map = {
Array = "",
Boolean = "",
Key = "",
Namespace = "",
Null = "",
Number = "",
Object = "",
Package = "",
String = "",
}
end,
},
}

0 comments on commit c71a4fa

Please sign in to comment.