diff --git a/.luarc.json b/.luarc.json new file mode 100644 index 0000000..04e07dc --- /dev/null +++ b/.luarc.json @@ -0,0 +1,17 @@ +{ + "$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json", + "runtime": { + "version": "Lua 5.4", + "path": [ + "?.lua", + "?/init.lua" + ] + }, + "workspace": { + "checkThirdParty": false, + "library": [] + }, + "diagnostics": { + "globals": [] + } +} diff --git a/example/config.lua b/example/config.lua index 40abf06..c00c14f 100644 --- a/example/config.lua +++ b/example/config.lua @@ -40,7 +40,7 @@ rules = { monitors = { -- catch-all rule; name = nil means match anything - { name = nil, mfact = 0.55, nmaster = 1, scale = 1.0, layout = "dwindle", x = -1, y = -1 }, + { name = nil, mfact = 0.55, nmaster = 1, scale = 1.0, layout = "dwindle", x = 0, y = 0 }, -- HiDPI laptop example: -- { name = "eDP-1", mfact = 0.5, nmaster = 1, scale = 2.0,