summaryrefslogtreecommitdiff
path: root/dot_config/nvim/lua/blackhole.lua
diff options
context:
space:
mode:
authorChloe Kudryavtsev <code@toast.bunkerlabs.net>2022-11-08 13:06:08 -0500
committerChloe Kudryavtsev <code@toast.bunkerlabs.net>2022-11-08 13:06:08 -0500
commit946b25db1aa005bf072c3c468cb0641cf2fac45d (patch)
tree1afe414f65b2ff978cf3227ee424c21835158672 /dot_config/nvim/lua/blackhole.lua
parentgit: update config (diff)
nvim: init bootstrappable config
Diffstat (limited to '')
-rw-r--r--dot_config/nvim/lua/blackhole.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/dot_config/nvim/lua/blackhole.lua b/dot_config/nvim/lua/blackhole.lua
new file mode 100644
index 0000000..c57c300
--- /dev/null
+++ b/dot_config/nvim/lua/blackhole.lua
@@ -0,0 +1,6 @@
+-- black hole object
+-- you can access and call and set things however you want
+-- it will never do anything
+
+local f = function (self) return self end
+return setmetatable({}, {__call = f, __index = f, __newindex = f})