From 819e8303d99a4f701675f08a9fe03e3c9ceeba35 Mon Sep 17 00:00:00 2001 From: gamerilla Date: Sun, 1 Jan 2023 17:59:59 -0500 Subject: [PATCH] Update null-ls.lua change 'formatting.prettier.with({disabled_filetypes: {}})' to 'formatting.prettier.with({disabled_filetypes = {}}) to correct' for correct syntax. The original usage gives an error. --- .config/nvim/lua/josean/plugins/lsp/null-ls.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/nvim/lua/josean/plugins/lsp/null-ls.lua b/.config/nvim/lua/josean/plugins/lsp/null-ls.lua index 6f900b1..06a7d34 100644 --- a/.config/nvim/lua/josean/plugins/lsp/null-ls.lua +++ b/.config/nvim/lua/josean/plugins/lsp/null-ls.lua @@ -16,7 +16,7 @@ null_ls.setup({ -- setup formatters & linters sources = { -- to disable file types use - -- "formatting.prettier.with({disabled_filetypes: {}})" (see null-ls docs) + -- "formatting.prettier.with({disabled_filetypes = {}})" (see null-ls docs) formatting.prettier, -- js/ts formatter formatting.stylua, -- lua formatter diagnostics.eslint_d.with({ -- js/ts linter