aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/tests.yml2
-rw-r--r--lua/conform/runner.lua1
2 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 7e62300..4a94fab 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -30,7 +30,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- - uses: stevearc/nvim-typecheck-action@v1
+ - uses: stevearc/nvim-typecheck-action@v2
with:
path: lua
diff --git a/lua/conform/runner.lua b/lua/conform/runner.lua
index fd99807..c59ae67 100644
--- a/lua/conform/runner.lua
+++ b/lua/conform/runner.lua
@@ -196,6 +196,7 @@ M.apply_format = function(bufnr, original_lines, new_lines, range, only_apply_ra
end
log.trace("Comparing lines %s and %s", original_lines, new_lines)
+ ---@diagnostic disable-next-line: missing-fields
local indices = vim.diff(original_text, new_text, {
result_type = "indices",
algorithm = "histogram",