From 946b25db1aa005bf072c3c468cb0641cf2fac45d Mon Sep 17 00:00:00 2001 From: Chloe Kudryavtsev Date: Tue, 8 Nov 2022 13:06:08 -0500 Subject: nvim: init bootstrappable config --- dot_config/nvim/lua/blackhole.lua | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 dot_config/nvim/lua/blackhole.lua (limited to 'dot_config/nvim/lua/blackhole.lua') 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}) -- cgit v1.2.3