From 836f5dcfce31a1b5449c607c009002bd0bf9fbff Mon Sep 17 00:00:00 2001 From: Pablo P Varela Date: Wed, 28 Aug 2024 17:30:34 +0200 Subject: [PATCH 1/2] stylua --- .stylua.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .stylua.toml diff --git a/.stylua.toml b/.stylua.toml new file mode 100644 index 0000000..c574744 --- /dev/null +++ b/.stylua.toml @@ -0,0 +1,10 @@ +column_width = 120 +line_endings = "Unix" +indent_type = "Spaces" +indent_width = 2 +quote_style = "AutoPreferDouble" +call_parentheses = "None" +collapse_simple_statement = "Never" + +[sort_requires] +enabled = true From 0beac60abe2f0581bba9093511f81d3bedc4ce3e Mon Sep 17 00:00:00 2001 From: Pablo P Varela Date: Wed, 28 Aug 2024 17:31:03 +0200 Subject: [PATCH 2/2] stylua format --- lua/unclutter/plugin.lua | 2 +- lua/unclutter/plugin_spec.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/unclutter/plugin.lua b/lua/unclutter/plugin.lua index c2ad33b..2e5efcf 100644 --- a/lua/unclutter/plugin.lua +++ b/lua/unclutter/plugin.lua @@ -1,7 +1,7 @@ local autocmds = require "unclutter.autocmds" local buffer = require "unclutter.buffer" -local tabline = require "unclutter.tabline" local config = require "unclutter.config" +local tabline = require "unclutter.tabline" ---@class unclutter.plugin local plugin = {} diff --git a/lua/unclutter/plugin_spec.lua b/lua/unclutter/plugin_spec.lua index d233340..e3ddded 100644 --- a/lua/unclutter/plugin_spec.lua +++ b/lua/unclutter/plugin_spec.lua @@ -1,6 +1,6 @@ -local mock = require "luassert.mock" local M = require "unclutter.plugin" local config = require "unclutter.config" +local mock = require "luassert.mock" local autocmds, buffer, tabline