From c1e0902f60a7573dc644fb2b9993af6db299872d Mon Sep 17 00:00:00 2001 From: Zakarya Date: Fri, 18 Apr 2025 13:59:06 -0700 Subject: [PATCH] Format plugin configurations --- lua/plugins/blink.lua | 14 +++++++++----- lua/plugins/conform.lua | 4 ++-- lua/plugins/cursorline.lua | 22 +++++++++++----------- lua/plugins/indent.lua | 4 ++-- lua/plugins/treesitter.lua | 6 +++--- 5 files changed, 27 insertions(+), 23 deletions(-) diff --git a/lua/plugins/blink.lua b/lua/plugins/blink.lua index 6487119..e2b4344 100644 --- a/lua/plugins/blink.lua +++ b/lua/plugins/blink.lua @@ -36,13 +36,17 @@ return { [""] = {}, -- show with a list of providers - [""] = { function(cmp) cmp.show({ providers = { "snippets" } }) end }, + [""] = { + function(cmp) + cmp.show({ providers = { "snippets" } }) + end, + }, }, appearance = { -- "mono" (default) for "Nerd Font Mono" or "normal" for "Nerd Font" -- Adjusts spacing to ensure icons are aligned - nerd_font_variant = "mono" + nerd_font_variant = "mono", }, -- (Default) Only show the documentation popup when manually triggered @@ -59,8 +63,8 @@ return { -- when the Rust fuzzy matcher is not available, by using `implementation = "prefer_rust"` -- -- See the fuzzy documentation for more information - fuzzy = { implementation = "prefer_rust_with_warning" } + fuzzy = { implementation = "prefer_rust_with_warning" }, }, - opts_extend = { "sources.default" } - } + opts_extend = { "sources.default" }, + }, } diff --git a/lua/plugins/conform.lua b/lua/plugins/conform.lua index 2f4383b..9795c25 100644 --- a/lua/plugins/conform.lua +++ b/lua/plugins/conform.lua @@ -7,8 +7,8 @@ return { require("conform").setup({ formatters_by_ft = { json = { "prettier" }, - lua = { "stylua" } - } + lua = { "stylua" }, + }, }) end, }, diff --git a/lua/plugins/cursorline.lua b/lua/plugins/cursorline.lua index 5b593f3..21eb0db 100644 --- a/lua/plugins/cursorline.lua +++ b/lua/plugins/cursorline.lua @@ -3,17 +3,17 @@ return { "ya2s/nvim-cursorline", config = function() require("nvim-cursorline").setup({ - cursorline = { - enable = true, - timeout = 0, - number = false, - }, - cursorword = { - enable = true, - min_length = 3, - hl = { underline = true }, - } -}) + cursorline = { + enable = true, + timeout = 0, + number = false, + }, + cursorword = { + enable = true, + min_length = 3, + hl = { underline = true }, + }, + }) end, }, } diff --git a/lua/plugins/indent.lua b/lua/plugins/indent.lua index 2bc3e73..5b7d551 100644 --- a/lua/plugins/indent.lua +++ b/lua/plugins/indent.lua @@ -5,6 +5,6 @@ return { require("indentmini").setup() vim.cmd.highlight("IndentLine guifg=#444444") -- Set indent line color - end - } + end, + }, } diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index 67943ad..153fe40 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -1,8 +1,8 @@ return { { - "nvim-treesitter/nvim-treesitter" + "nvim-treesitter/nvim-treesitter", }, { - "windwp/nvim-ts-autotag" - } + "windwp/nvim-ts-autotag", + }, }