Merge pull request #19 from gamerilla/patch-1

Update null-ls.lua to use correct syntax for disabling filetypes.
This commit is contained in:
Josean Martinez 2023-02-27 12:09:50 -04:00 committed by GitHub
commit b9d2822e06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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