FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
code-refactor.nvim/lua/utils.lua at main · jdrupal-dev/code-refactor.nvim · GitHub
jdrupal-dev
/
code-refactor.nvim
Public
Notifications
You must be signed in to change notification settings
Fork
2
Star
21
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
code-refactor.nvim
/
lua
/
utils.lua
Copy path
More file actions
More file actions
Latest commit
History
History
History
23 lines (18 loc) · 312 Bytes
Breadcrumbs
code-refactor.nvim
/
lua
/
utils.lua
Copy path
File metadata and controls
23 lines (18 loc) · 312 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
local
M
=
{}
M
.
table_keys
=
function
(
t
)
local
keys
=
{}
for
k
,
_
in
pairs
(
t
)
do
table.insert
(
keys
,
k
)
end
return
keys
end
M
.
filter_table
=
function
(
t
,
filterIter
)
local
out
=
{}
for
k
,
v
in
pairs
(
t
)
do
if
filterIter
(
v
,
k
,
t
)
then
out
[
k
]
=
v
end
end
return
out
end
return
M
Back
|
FazBrowse Home
|
New Git URL