From 8c710b7b6f150c222c1276bd6df340c94d0ae2a5 Mon Sep 17 00:00:00 2001 From: robin Date: Tue, 5 May 2026 10:10:20 +0200 Subject: [PATCH] meta: add lua env files --- .emmyrc.json | 7 +++++++ .luarc.json | 8 ++++++++ .nvim.lua | 8 ++++++++ 3 files changed, 23 insertions(+) create mode 100644 .emmyrc.json create mode 100644 .luarc.json create mode 100644 .nvim.lua diff --git a/.emmyrc.json b/.emmyrc.json new file mode 100644 index 0000000..e0303a0 --- /dev/null +++ b/.emmyrc.json @@ -0,0 +1,7 @@ +{ + "diagnostics": { + "disable": [ + "unnecessary-if" + ] + } +} \ No newline at end of file diff --git a/.luarc.json b/.luarc.json new file mode 100644 index 0000000..8b4f767 --- /dev/null +++ b/.luarc.json @@ -0,0 +1,8 @@ +{ + "runtime.version": "LuaJIT", + "workspace.library": [ + "${3rd}/luv/library", + "$VIMRUNTIME/lua" + ], + "workspace.checkThirdParty": false +} diff --git a/.nvim.lua b/.nvim.lua new file mode 100644 index 0000000..437a24c --- /dev/null +++ b/.nvim.lua @@ -0,0 +1,8 @@ +R = function(m, ...) + require("plenary.reload").reload_module(m, ...) + return require(m) +end + +vim.opt.rtp:prepend(".") + +vim.cmd([[ runtime plugin/smoothie.lua ]]) -- 2.51.2