mirror of
https://github.com/josean-dev/dev-environment-files.git
synced 2025-01-06 16:31:16 +01:00
Merge pull request #19 from gamerilla/patch-1
Update null-ls.lua to use correct syntax for disabling filetypes.
This commit is contained in:
commit
b9d2822e06
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue