Skip to content

Commit dfe9563

Browse files
committed
fix: replace leftover
1 parent 4e8d95e commit dfe9563

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lua/search-and-replace/main.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function main.search_and_replace_by_pattern(scope)
2020
end
2121
end)
2222

23-
state.create_windfooow(state, scope)
23+
state.create_window(state, scope)
2424
end
2525

2626
--- Replaces the word under cursor or current visual selection in the current project.
@@ -38,7 +38,7 @@ function main.replace_by_pattern(scope)
3838
end
3939
end)
4040

41-
state.create_windfooow(state, scope)
41+
state.create_window(state, scope)
4242
end
4343

4444
--- Replaces the word under cursor or current visual selection using vim.lsp.buf.references().
@@ -62,7 +62,7 @@ function main.replace_by_references(scope)
6262
end, 500)
6363
end)
6464

65-
state.create_windfooow(state, scope)
65+
state.create_window(state, scope)
6666
end
6767

6868
--- Restores the backup files of the last `replace_*` operation.

lua/search-and-replace/state.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ end
171171
---
172172
--- @param scope string
173173
---@private
174-
function state:create_windfooow(scope)
174+
function state:create_window(scope)
175175
self.window = vim.api.nvim_open_win(self.buffer, true, {
176176
style = "minimal",
177177
relative = "editor",

0 commit comments

Comments
 (0)