replace live-rename with rephrase
This commit is contained in:
parent
6f695cee9f
commit
8b38a13192
2 changed files with 8 additions and 32 deletions
|
|
@ -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,
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue