From 8b6014a04b06253cde919693f0278e20e5e81963 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sat, 19 Aug 2023 05:19:17 -0500 Subject: [PATCH] style(nvim): format with stylua --- dots/.config/nvim/after/ftplugin/lua.lua | 2 +- dots/.config/nvim/lua/core/filetypes.lua | 2 +- dots/.config/nvim/lua/plugins/configs/autolist.lua | 8 ++++---- dots/.config/nvim/lua/plugins/configs/git.lua | 6 +++--- .../.config/nvim/lua/plugins/configs/highlight-colors.lua | 2 +- dots/.config/nvim/lua/plugins/configs/lsp.lua | 1 - dots/.config/nvim/lua/plugins/configs/lualine.lua | 2 +- 7 files changed, 11 insertions(+), 12 deletions(-) diff --git a/dots/.config/nvim/after/ftplugin/lua.lua b/dots/.config/nvim/after/ftplugin/lua.lua index d50475af..56ed27ed 100644 --- a/dots/.config/nvim/after/ftplugin/lua.lua +++ b/dots/.config/nvim/after/ftplugin/lua.lua @@ -4,5 +4,5 @@ vim.opt_local.expandtab = true vim.keymap.set("n", "fr", ":luafile %", { buffer = true, - silent = true + silent = true, }) diff --git a/dots/.config/nvim/lua/core/filetypes.lua b/dots/.config/nvim/lua/core/filetypes.lua index a2535591..3f940d63 100644 --- a/dots/.config/nvim/lua/core/filetypes.lua +++ b/dots/.config/nvim/lua/core/filetypes.lua @@ -10,7 +10,7 @@ M.setup = function() [".*/Azure%-Pipelines/.*%.yml"] = "azure-pipelines", [".*/Azure%-Pipelines/.*%.yaml"] = "azure-pipelines", [".*/waybar/config"] = "jsonc", - [".*/etc/systemd/.*"] = "systemd" + [".*/etc/systemd/.*"] = "systemd", }, }) diff --git a/dots/.config/nvim/lua/plugins/configs/autolist.lua b/dots/.config/nvim/lua/plugins/configs/autolist.lua index 5f35f588..18d7f300 100644 --- a/dots/.config/nvim/lua/plugins/configs/autolist.lua +++ b/dots/.config/nvim/lua/plugins/configs/autolist.lua @@ -8,15 +8,15 @@ return { "tex", "plaintex", "norg", - "yaml" + "yaml", }, config = function() require("autolist").setup({ lists = { yaml = { - "[-]" - } - } + "[-]", + }, + }, }) local autolist_group = vim.api.nvim_create_augroup("Autolist", {}) vim.api.nvim_create_autocmd("filetype", { diff --git a/dots/.config/nvim/lua/plugins/configs/git.lua b/dots/.config/nvim/lua/plugins/configs/git.lua index d143bb1d..03c261e9 100644 --- a/dots/.config/nvim/lua/plugins/configs/git.lua +++ b/dots/.config/nvim/lua/plugins/configs/git.lua @@ -25,9 +25,9 @@ return { mappings = { status = { ["l"] = false, - ["L"] = "LogPopup" - } - } + ["L"] = "LogPopup", + }, + }, } end, dependencies = { diff --git a/dots/.config/nvim/lua/plugins/configs/highlight-colors.lua b/dots/.config/nvim/lua/plugins/configs/highlight-colors.lua index 3f4c59a4..2fb87d4e 100644 --- a/dots/.config/nvim/lua/plugins/configs/highlight-colors.lua +++ b/dots/.config/nvim/lua/plugins/configs/highlight-colors.lua @@ -7,6 +7,6 @@ return { "HighlightColorsOff", "HighlightColorsToggle", }, - config = true + config = true, }, } diff --git a/dots/.config/nvim/lua/plugins/configs/lsp.lua b/dots/.config/nvim/lua/plugins/configs/lsp.lua index 83b9ed18..4f9fd2c2 100644 --- a/dots/.config/nvim/lua/plugins/configs/lsp.lua +++ b/dots/.config/nvim/lua/plugins/configs/lsp.lua @@ -325,7 +325,6 @@ return { library.enabled = true library.plugins = true end - end, }) diff --git a/dots/.config/nvim/lua/plugins/configs/lualine.lua b/dots/.config/nvim/lua/plugins/configs/lualine.lua index 302f9dfe..ee6d252e 100644 --- a/dots/.config/nvim/lua/plugins/configs/lualine.lua +++ b/dots/.config/nvim/lua/plugins/configs/lualine.lua @@ -162,7 +162,7 @@ return { { color = { fg = "#C34043", - gui = "bold,italic" + gui = "bold,italic", }, function() local user = os.getenv("USER")