From aa183f871da9c8c1ce2df65d61196a547bc883ec Mon Sep 17 00:00:00 2001 From: Jake Hamilton <31600776+jakehamtexas@users.noreply.github.com> Date: Sat, 24 Aug 2024 18:27:30 -0500 Subject: [PATCH] fix: stylua --- lua/lazyvim/plugins/extras/formatting/prettier.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lua/lazyvim/plugins/extras/formatting/prettier.lua b/lua/lazyvim/plugins/extras/formatting/prettier.lua index 3ac9e7b0..9a8c8962 100644 --- a/lua/lazyvim/plugins/extras/formatting/prettier.lua +++ b/lua/lazyvim/plugins/extras/formatting/prettier.lua @@ -89,13 +89,13 @@ return { opts = function(_, opts) local nls = require("null-ls") opts.sources = opts.sources or {} - table.insert( - opts.sources, + opts.sources, nls.builtins.formatting.prettier.with({ - -- See: https://github.com/nvimtools/none-ls.nvim/blob/main/doc/BUILTIN_CONFIG.md#using-local-executables - prefer_local = true, - })) + -- See: https://github.com/nvimtools/none-ls.nvim/blob/main/doc/BUILTIN_CONFIG.md#using-local-executables + prefer_local = true, + }) + ) end, }, }