mirror of
https://github.com/josean-dev/dev-environment-files.git
synced 2025-01-06 16:31:16 +01:00
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.
This commit is contained in:
parent
c3382dbdc9
commit
819e8303d9
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