Skip to content

Commit

Permalink
docs: adds remark regarding nvim-unception
Browse files Browse the repository at this point in the history
  • Loading branch information
agoodshort committed Feb 22, 2024
1 parent e40ca42 commit 12ad831
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
1 change: 0 additions & 1 deletion lua/telescope/_extensions/git_submodules.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 12ad831

Please sign in to comment.