replace live-rename with rephrase

This commit is contained in:
Martin Larsson 2026-04-12 02:30:51 +02:00
parent 6f695cee9f
commit 8b38a13192
2 changed files with 8 additions and 32 deletions

View file

@ -1,4 +1,8 @@
vim.opt.runtimepath:append("/Users/larssonmartin/dev/git/nvim-rephrase")
if pcall(require, "rephrase") then
require("rephrase").setup({})
end
vim.api.nvim_create_autocmd("LspAttach", {
once = true,
callback = function()
vim.pack.add({ "https://github.com/LarssonMartin1998/nvim-rephrase" })
require("rephrase").setup({})
require("utils").set_keymap_list({ { "<leader>h", "<cmd>Rephrase<cr>" } })
end,
})