diff options
| author | ThePrimeAgain <theprimeagain@theprimeagain.com> | 2026-01-01 13:30:49 -0700 |
|---|---|---|
| committer | ThePrimeAgain <theprimeagain@theprimeagain.com> | 2026-01-01 13:30:49 -0700 |
| commit | da853e0c1bc133a1b707721de1fb7bfe26a11d2f (patch) | |
| tree | 72ecae573b788a1ed18ddf3e228334b7e1a55bda /lua/99/ops | |
| parent | 4e7f2cdd88d7042c0a371bf1a55c9e5f48dc7558 (diff) | |
| download | a4-da853e0c1bc133a1b707721de1fb7bfe26a11d2f.tar.xz a4-da853e0c1bc133a1b707721de1fb7bfe26a11d2f.zip | |
lint errors gone
Diffstat (limited to 'lua/99/ops')
| -rw-r--r-- | lua/99/ops/marks.lua | 1 | ||||
| -rw-r--r-- | lua/99/ops/visual.lua | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/lua/99/ops/marks.lua b/lua/99/ops/marks.lua index 6e33789..0f8a837 100644 --- a/lua/99/ops/marks.lua +++ b/lua/99/ops/marks.lua @@ -20,6 +20,7 @@ function Mark.mark_above_range(range) local line, _ = start:to_vim() local above = line == 0 and line or line - 1 + -- luacheck: ignore local id = nil if above == line then id = vim.api.nvim_buf_set_extmark(buffer, nsid, above, 0, {}) diff --git a/lua/99/ops/visual.lua b/lua/99/ops/visual.lua index ac29172..dcb4796 100644 --- a/lua/99/ops/visual.lua +++ b/lua/99/ops/visual.lua @@ -64,8 +64,10 @@ local function visual(context, range) local valid = top_mark:is_valid() and bottom_mark:is_valid() if not valid then logger:fatal( + -- luacheck: ignore 631 "the original visual_selection has been destroyed. You cannot delete the original visual selection during a request" ) + return end local new_range = Range.from_marks(top_mark, bottom_mark) |
