summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2022-01-08 14:37:29 +0100
committerkylo252 <[email protected]>2022-01-08 14:37:29 +0100
commit8fe7cf2fac461b2136e815e3107b434cd407a09d (patch)
treedb7dc775de66458466e1293a4f426551aeef1273 /README.md
parentd63d87c7ea7b0f7393a61714d2ed5682d0f4ca0c (diff)
parentfc043d738b0a10a0941515a86a2af54a21654986 (diff)
Merge branch 'rolling'
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 6de88398..97edf237 100644
--- a/README.md
+++ b/README.md
@@ -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" },
},