From d68b85852c951a057b314e7d8fff8e80a7512af1 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Thu, 13 Oct 2022 13:57:09 +0200 Subject: [PATCH] with another folder structure --- .luacheckrc | 21 +++++++++++++++++++++ .stylua.toml | 7 +++++++ init.lua => lua/user/init.lua | 0 3 files changed, 28 insertions(+) create mode 100644 .luacheckrc create mode 100644 .stylua.toml rename init.lua => lua/user/init.lua (100%) diff --git a/.luacheckrc b/.luacheckrc new file mode 100644 index 0000000..809581e --- /dev/null +++ b/.luacheckrc @@ -0,0 +1,21 @@ +-- Global objects +globals = { + "PACKER_BOOTSTRAP", + "astronvim", + "astronvim_installation", + "vim", + "bit", + "C", + "packer_plugins", +} + +-- Rerun tests only if their modification time changed +cache = true + +-- Don't report unused self arguments of methods +self = false + +ignore = { + "631", -- max_line_length + "212/_.*", -- unused argument, for vars with "_" prefix +} diff --git a/.stylua.toml b/.stylua.toml new file mode 100644 index 0000000..bfcffff --- /dev/null +++ b/.stylua.toml @@ -0,0 +1,7 @@ +column_width = 120 +line_endings = "Unix" +indent_type = "Spaces" +indent_width = 2 +quote_style = "AutoPreferDouble" +call_parentheses = "None" +collapse_simple_statement = "Always" diff --git a/init.lua b/lua/user/init.lua similarity index 100% rename from init.lua rename to lua/user/init.lua