diff options
author | Github Actions <actions@github> | 2023-09-05 19:03:41 +0000 |
---|---|---|
committer | Github Actions <actions@github> | 2023-09-05 19:03:41 +0000 |
commit | 9ed2f2ba056cee4b1ef9b091164b6dd74561718c (patch) | |
tree | 77b6476dc8fe2e993622f9a8fc578e26cbf6745e /README.md | |
parent | bc676cc2f52d6561bc4b54644777d1d9e2b20fc2 (diff) |
[docgen] Update docs
skip-checks: true
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -305,7 +305,7 @@ vim.api.nvim_create_autocmd("BufWritePre", { if bufname:match("/node_modules/") then return end - require("conform").format({ timeout_ms = 500, lsp_fallback = true, buf = args.buf }) + require("conform").format({ timeout_ms = 500, lsp_fallback = true, bufnr = args.buf }) end, }) @@ -313,7 +313,7 @@ vim.api.nvim_create_autocmd("BufWritePre", { vim.api.nvim_create_autocmd("BufWritePost", { pattern = "*", callback = function(args) - require("conform").format({ async = true, lsp_fallback = true, buf = args.buf }, function(err) + require("conform").format({ async = true, lsp_fallback = true, bufnr = args.buf }, function(err) if not err then vim.api.nvim_buf_call(args.buf, function() vim.cmd.update() |