diff --git a/README.md b/README.md index 01ece47..877f8de 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,10 @@ require("telescope").setup({ - [ ] Keymap to trigger `:DiffView` for the highlighted submodule - [ ] Support additional terminal plugins (e.g., [nvim-terminal](https://github.com/s1n7ax/nvim-terminal)) +## Remarks + +The extension works well with [nvim-unception](https://github.com/samjwill/nvim-unception), if the same `terminal_id` value is used in both configurations. Example in [agoodshort's nvim-unception configuration](https://github.com/agoodshort/nvim/blob/e9e89782e124e3c666097edeb0603317b8e72320/lua/agoodshort/plugins/terminal/nvim-unception.lua#L11) + ## Acknowledgements Inspired by [lazygit.nvim](https://github.com/kdheepak/lazygit.nvim) diff --git a/lua/telescope/_extensions/git_submodules.lua b/lua/telescope/_extensions/git_submodules.lua index 3a7c44e..9ee7708 100644 --- a/lua/telescope/_extensions/git_submodules.lua +++ b/lua/telescope/_extensions/git_submodules.lua @@ -12,7 +12,6 @@ local setup_opts = { terminal_id = 9, } --- Mention the pointer in the unception thing local function open_git_tool(opts, selection) if selection == nil then selection = action_state.get_selected_entry().value -- picking the repo_name from the item received