Comments (7)
Thanks, it works now. I really appreciate that!
Initially I tried gh.nvim, but it cannot create issues. Thanks again :)
from octo.nvim.
Weird, I thought I replied to this one. My concern was that for correct identification of the aliases, we need to parse the ssh config file which is out of the scope of this plugin. Unless there is a different way Im not familiar with
from octo.nvim.
Iām not sure why, but gh.nvim and lazygit work fine in directories with aliases. Is there no way to define aliases in the lua setup function?
from octo.nvim.
Please try bd6af73 and let me know if it works for you
from octo.nvim.
packer.nvim config:
config = function()
require("octo").setup({
ssh_aliases = {
["github.com-work"] = "github.com",
},
})
end,
When issuing :Octo issue create, I receive this error:
Creating issue in work/closing-punchlist. Enter title: test
Do you want to use the content of the current buffer as the body for the new issue?
E5108: Error executing lua Vim:E474: Attempt to decode a blank string
stack traceback:
[C]: in function 'json_decode'
...nvim/site/pack/packer/start/octo.nvim/lua/octo/utils.lua:363: in function 'get_repo_id'
...m/site/pack/packer/start/octo.nvim/lua/octo/commands.lua:666: in function 'create_issue'
...m/site/pack/packer/start/octo.nvim/lua/octo/commands.lua:23: in function 'a'
...m/site/pack/packer/start/octo.nvim/lua/octo/commands.lua:331: in function 'octo'
[string ":lua"]:1: in main chunk
Press ENTER or type command to continue
also :Octo issue list returns
error connecting to github.com-work
check your internet connection or https://githubstatus.com
gh issue list
in that same directory returns issues, however.
from octo.nvim.
Please try again, user config was not being applied
from octo.nvim.
Weird, I thought I replied to this one. My concern was that for correct identification of the aliases, we need to parse the ssh config file which is out of the scope of this plugin. Unless there is a different way Im not familiar with
I replied in #295 sorry, I though it was the same issue
from octo.nvim.
Related Issues (20)
- Show an error message instead of throwing an error when reloading a pr
- Bug: PR checkout fails if origin fetch and push url differ
- PR review shows misleading diff
- [Feature Request] Allow passing `-y` to `:Octo pr create` to accept all the default options
- Commands / Mappings cleanup HOT 1
- gh_env no longer accepts a function
- `Octo pr list`: Not possible to filter by branch or author in PR picker
- [feature request] create PR in draft state HOT 2
- Firevim Support HOT 2
- Update the README.md to include the minimum neovim version.
- Random color on `label create`
- Parse error on bad Unicode escape sequence
- Cannot request projects v2, missing scope 'read:project' HOT 3
- [Feature Request] Match `issue create` and `pr create` last question
- Descriptions for select_next_entry and select_previous_entry mappings are inverted
- Octo isn't authenticating even though gh is working properly HOT 2
- [BUG]: Recieve blocking error with "attempt to call field 'nvim_win_text_height' (a nil value)" message when opening PR HOT 3
- [bug]: Double-posting of comments made in review HOT 1
- Listing all created issues (by user) without specifying a repository HOT 2
- "Unsupported layout_config key for the center strategy: preview_width" when adding label
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from octo.nvim.