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 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