File tree Expand file tree Collapse file tree
env/.config/nvim/lua/theprimeagen Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ return {
2+ kind = {
3+ Array = " " ,
4+ Boolean = " " ,
5+ Class = " " ,
6+ Color = " " ,
7+ Constant = " " ,
8+ Constructor = " " ,
9+ Enum = " " ,
10+ EnumMember = " " ,
11+ Event = " " ,
12+ Field = " " ,
13+ File = " " ,
14+ Folder = " " ,
15+ Function = " " ,
16+ Interface = " " ,
17+ Key = " " ,
18+ Keyword = " " ,
19+ Method = " " ,
20+ Module = " " ,
21+ Namespace = " " ,
22+ Null = " ﳠ" ,
23+ Number = " " ,
24+ Object = " " ,
25+ Operator = " " ,
26+ Package = " " ,
27+ Property = " " ,
28+ Reference = " " ,
29+ Snippet = " " ,
30+ String = " " ,
31+ Struct = " " ,
32+ Text = " " ,
33+ TypeParameter = " " ,
34+ Unit = " " ,
35+ Value = " " ,
36+ Variable = " " ,
37+ },
38+ git = {
39+ LineAdded = " " ,
40+ LineModified = " " ,
41+ LineRemoved = " " ,
42+ FileDeleted = " " ,
43+ FileIgnored = " ◌" ,
44+ FileRenamed = " " ,
45+ FileStaged = " S" ,
46+ FileUnmerged = " " ,
47+ FileUnstaged = " " ,
48+ FileUntracked = " U" ,
49+ Diff = " " ,
50+ Repo = " " ,
51+ Octoface = " " ,
52+ Branch = " " ,
53+ },
54+ ui = {
55+ ArrowCircleDown = " " ,
56+ ArrowCircleLeft = " " ,
57+ ArrowCircleRight = " " ,
58+ ArrowCircleUp = " " ,
59+ BoldArrowDown = " " ,
60+ BoldArrowLeft = " " ,
61+ BoldArrowRight = " " ,
62+ BoldArrowUp = " " ,
63+ BoldClose = " " ,
64+ BoldDividerLeft = " " ,
65+ BoldDividerRight = " " ,
66+ BoldLineLeft = " ▎" ,
67+ BookMark = " " ,
68+ BoxChecked = " " ,
69+ Bug = " " ,
70+ Stacks = " " ,
71+ Scopes = " " ,
72+ Watches = " " ,
73+ DebugConsole = " " ,
74+ Calendar = " " ,
75+ Check = " " ,
76+ ChevronRight = " >" ,
77+ ChevronShortDown = " " ,
78+ ChevronShortLeft = " " ,
79+ ChevronShortRight = " " ,
80+ ChevronShortUp = " " ,
81+ Circle = " " ,
82+ Close = " " ,
83+ CloudDownload = " " ,
84+ Code = " " ,
85+ Comment = " " ,
86+ Dashboard = " " ,
87+ DividerLeft = " " ,
88+ DividerRight = " " ,
89+ DoubleChevronRight = " »" ,
90+ Ellipsis = " " ,
91+ EmptyFolder = " " ,
92+ EmptyFolderOpen = " " ,
93+ File = " " ,
94+ FileSymlink = " " ,
95+ Files = " " ,
96+ FindFile = " " ,
97+ FindText = " " ,
98+ Fire = " " ,
99+ Folder = " " ,
100+ FolderOpen = " " ,
101+ FolderSymlink = " " ,
102+ Forward = " " ,
103+ Gear = " " ,
104+ History = " " ,
105+ Lightbulb = " " ,
106+ LineLeft = " ▏" ,
107+ LineMiddle = " │" ,
108+ List = " " ,
109+ Lock = " " ,
110+ NewFile = " " ,
111+ Note = " " ,
112+ Package = " " ,
113+ Pencil = " " ,
114+ Plus = " " ,
115+ Project = " " ,
116+ Search = " " ,
117+ SignIn = " " ,
118+ SignOut = " " ,
119+ Tab = " " ,
120+ Table = " " ,
121+ Target = " " ,
122+ Telescope = " " ,
123+ Text = " " ,
124+ Tree = " " ,
125+ Triangle = " 契" ,
126+ TriangleShortArrowDown = " " ,
127+ TriangleShortArrowLeft = " " ,
128+ TriangleShortArrowRight = " " ,
129+ TriangleShortArrowUp = " " ,
130+ Group = " " ,
131+ },
132+ diagnostics = {
133+ BoldError = " " ,
134+ Error = " " ,
135+ BoldWarning = " " ,
136+ Warning = " " ,
137+ BoldInformation = " " ,
138+ Information = " " ,
139+ BoldQuestion = " " ,
140+ Question = " " ,
141+ BoldHint = " " ,
142+ Hint = " " ,
143+ Debug = " " ,
144+ Trace = " ✎" ,
145+ },
146+ misc = {
147+ Robot = " ﮧ" ,
148+ Squirrel = " " ,
149+ Tag = " " ,
150+ Watch = " " ,
151+ Smiley = " " ,
152+ Package = " " ,
153+ CircuitBoard = " " ,
154+ },
155+ }
Original file line number Diff line number Diff line change 1+ return {
2+ " mfussenegger/nvim-dap" ,
3+ event = " BufRead" ,
4+ dependencies = {
5+ " rcarriga/nvim-dap-ui" ,
6+ " theHamsta/nvim-dap-virtual-text" ,
7+ " nvim-telescope/telescope-dap.nvim" ,
8+ " nvim-neotest/nvim-nio"
9+ },
10+ config = function ()
11+ local dap = require (" dap" )
12+ local dapui = require (" dapui" )
13+ local virtual_text = require (" nvim-dap-virtual-text" )
14+ local dap_go = require (" dap-go" )
15+
16+ dap .adapters .lldb = {
17+ type = ' executable' ,
18+ command = ' /opt/homebrew/opt/llvm/bin/lldb-vscode' , -- adjust as needed, must be absolute path
19+ name = ' lldb'
20+ }
21+
22+ local lldb = {
23+ name = " Launch lldb" ,
24+ type = " lldb" , -- matches the adapter
25+ request = " launch" , -- could also attach to a currently running process
26+ program = function ()
27+ return vim .fn .input (
28+ " Path to executable: " ,
29+ vim .fn .getcwd () .. " /" ,
30+ " file"
31+ )
32+ end ,
33+ cwd = " ${workspaceFolder}" ,
34+ stopOnEntry = false ,
35+ args = {},
36+ runInTerminal = false ,
37+ }
38+
39+ dap .configurations .rust = {
40+ lldb
41+ }
42+
43+ dapui .setup ()
44+ virtual_text .setup ()
45+ dap_go .setup ()
46+ end
47+ }
You can’t perform that action at this time.
0 commit comments