diff options
author | kylo252 <[email protected]> | 2022-01-08 14:24:05 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2022-01-08 14:24:05 +0100 |
commit | 4a66d4752d06cfe0452c55ee5f2b20f84d19c3bb (patch) | |
tree | e5b55cda6903fa1712d0b3c63f701498150a9082 /README.md | |
parent | 6740afd743a05028cc48e8f1e203e7f81345aced (diff) |
fix(null-ls): avoid sending invalid opts.args (#2154)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -87,9 +87,9 @@ vim.list_extend(lvim.lsp.override, { "pyright" }) -- set a formatter, this will override the language server formatting capabilities (if it exists) local formatters = require "lvim.lsp.null-ls.formatters" formatters.setup { - { exe = "black" }, + { command = "black" }, { - exe = "prettier", + command = "prettier", ---@usage specify which filetypes to enable. By default a providers will attach to all the filetypes it supports. filetypes = { "typescript", "typescriptreact" }, }, @@ -98,9 +98,9 @@ formatters.setup { -- set additional linters local linters = require "lvim.lsp.null-ls.linters" linters.setup { - { exe = "black" }, + { command = "black" }, { - exe = "eslint_d", + command = "eslint_d", ---@usage specify which filetypes to enable. By default a providers will attach to all the filetypes it supports. filetypes = { "javascript", "javascriptreact" }, }, |