mirror of
https://github.com/marianozunino/nvim.git
synced 2025-06-28 10:33:49 -03:00
chore: move utils to its own module
This commit is contained in:
parent
67cfc441a1
commit
84ea098cff
4 changed files with 163 additions and 1 deletions
3
init.lua
3
init.lua
|
@ -1,4 +1,5 @@
|
||||||
require("config.utils")
|
require("utils")
|
||||||
|
|
||||||
require("config.options")
|
require("config.options")
|
||||||
require("config.remap")
|
require("config.remap")
|
||||||
require("config.autocomands")
|
require("config.autocomands")
|
||||||
|
|
159
lua/utils/icons.lua
Normal file
159
lua/utils/icons.lua
Normal file
|
@ -0,0 +1,159 @@
|
||||||
|
_G.icons = {
|
||||||
|
kind = {
|
||||||
|
Array = " ",
|
||||||
|
Boolean = " ",
|
||||||
|
Class = " ",
|
||||||
|
Color = " ",
|
||||||
|
Constant = " ",
|
||||||
|
Constructor = " ",
|
||||||
|
Enum = " ",
|
||||||
|
EnumMember = " ",
|
||||||
|
Event = " ",
|
||||||
|
Field = " ",
|
||||||
|
File = " ",
|
||||||
|
Folder = " ",
|
||||||
|
Function = " ",
|
||||||
|
Interface = " ",
|
||||||
|
Key = " ",
|
||||||
|
Keyword = " ",
|
||||||
|
Method = " ",
|
||||||
|
-- Module = " ",
|
||||||
|
Module = " ",
|
||||||
|
Namespace = " ",
|
||||||
|
Null = " ",
|
||||||
|
Number = " ",
|
||||||
|
Object = " ",
|
||||||
|
Operator = " ",
|
||||||
|
Package = " ",
|
||||||
|
Property = " ",
|
||||||
|
Reference = " ",
|
||||||
|
Snippet = " ",
|
||||||
|
String = " ",
|
||||||
|
Struct = " ",
|
||||||
|
Text = " ",
|
||||||
|
TypeParameter = " ",
|
||||||
|
Unit = " ",
|
||||||
|
Value = " ",
|
||||||
|
Variable = " ",
|
||||||
|
},
|
||||||
|
git = {
|
||||||
|
LineAdded = " ",
|
||||||
|
LineModified = " ",
|
||||||
|
LineRemoved = " ",
|
||||||
|
FileDeleted = " ",
|
||||||
|
FileIgnored = "◌",
|
||||||
|
FileRenamed = " ",
|
||||||
|
FileStaged = "S",
|
||||||
|
FileUnmerged = "",
|
||||||
|
FileUnstaged = "",
|
||||||
|
FileUntracked = "U",
|
||||||
|
Diff = " ",
|
||||||
|
Repo = " ",
|
||||||
|
Octoface = " ",
|
||||||
|
Copilot = " ",
|
||||||
|
Branch = "",
|
||||||
|
},
|
||||||
|
ui = {
|
||||||
|
Message = " ",
|
||||||
|
ArrowCircleDown = "",
|
||||||
|
ArrowCircleLeft = "",
|
||||||
|
ArrowCircleRight = "",
|
||||||
|
ArrowCircleUp = "",
|
||||||
|
BoldArrowDown = "",
|
||||||
|
BoldArrowLeft = "",
|
||||||
|
BoldArrowRight = "",
|
||||||
|
BoldArrowUp = "",
|
||||||
|
BoldClose = "",
|
||||||
|
BoldDividerLeft = "",
|
||||||
|
BoldDividerRight = "",
|
||||||
|
BoldLineLeft = "▎",
|
||||||
|
BoldLineMiddle = "┃",
|
||||||
|
BoldLineDashedMiddle = "┋",
|
||||||
|
BookMark = "",
|
||||||
|
BoxChecked = " ",
|
||||||
|
Bug = " ",
|
||||||
|
Stacks = "",
|
||||||
|
Scopes = "",
|
||||||
|
Watches = "",
|
||||||
|
DebugConsole = " ",
|
||||||
|
Calendar = " ",
|
||||||
|
Check = "",
|
||||||
|
ChevronRight = "",
|
||||||
|
ChevronShortDown = "",
|
||||||
|
ChevronShortLeft = "",
|
||||||
|
ChevronShortRight = "",
|
||||||
|
ChevronShortUp = "",
|
||||||
|
Circle = " ",
|
||||||
|
Close = "",
|
||||||
|
CloudDownload = " ",
|
||||||
|
Code = "",
|
||||||
|
Comment = "",
|
||||||
|
Dashboard = "",
|
||||||
|
DividerLeft = "",
|
||||||
|
DividerRight = "",
|
||||||
|
DoubleChevronRight = "»",
|
||||||
|
Ellipsis = "",
|
||||||
|
EmptyFolder = " ",
|
||||||
|
EmptyFolderOpen = " ",
|
||||||
|
File = " ",
|
||||||
|
FileSymlink = "",
|
||||||
|
Files = " ",
|
||||||
|
FindFile = "",
|
||||||
|
FindText = "",
|
||||||
|
Fire = "",
|
||||||
|
Folder = " ",
|
||||||
|
FolderOpen = " ",
|
||||||
|
FolderSymlink = " ",
|
||||||
|
Forward = " ",
|
||||||
|
Gear = " ",
|
||||||
|
History = " ",
|
||||||
|
Lightbulb = " ",
|
||||||
|
LineLeft = "▏",
|
||||||
|
LineMiddle = "│",
|
||||||
|
List = " ",
|
||||||
|
Lock = " ",
|
||||||
|
NewFile = " ",
|
||||||
|
Note = " ",
|
||||||
|
Package = " ",
|
||||||
|
Pencil = " ",
|
||||||
|
Plus = " ",
|
||||||
|
Project = " ",
|
||||||
|
Search = " ",
|
||||||
|
SignIn = " ",
|
||||||
|
SignOut = " ",
|
||||||
|
Tab = " ",
|
||||||
|
Table = " ",
|
||||||
|
Target = " ",
|
||||||
|
Telescope = "🔭",
|
||||||
|
Text = " ",
|
||||||
|
Tree = "",
|
||||||
|
Triangle = "",
|
||||||
|
TriangleShortArrowDown = "",
|
||||||
|
TriangleShortArrowLeft = "",
|
||||||
|
TriangleShortArrowRight = "",
|
||||||
|
TriangleShortArrowUp = "",
|
||||||
|
},
|
||||||
|
diagnostics = {
|
||||||
|
BoldError = "",
|
||||||
|
Error = "",
|
||||||
|
BoldWarning = "",
|
||||||
|
Warning = "",
|
||||||
|
BoldInformation = "",
|
||||||
|
Information = "",
|
||||||
|
BoldQuestion = "",
|
||||||
|
Question = "",
|
||||||
|
BoldHint = "",
|
||||||
|
Hint = "",
|
||||||
|
Debug = "",
|
||||||
|
Trace = "✎",
|
||||||
|
},
|
||||||
|
misc = {
|
||||||
|
Robot = " ",
|
||||||
|
Squirrel = " ",
|
||||||
|
Tag = " ",
|
||||||
|
Watch = "",
|
||||||
|
Smiley = " ",
|
||||||
|
Package = " ",
|
||||||
|
CircuitBoard = " ",
|
||||||
|
},
|
||||||
|
}
|
2
lua/utils/init.lua
Normal file
2
lua/utils/init.lua
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
require("utils.map")
|
||||||
|
require("utils.icons")
|
Loading…
Add table
Add a link
Reference in a new issue