Ali Almohaya
52e2727cbd
Merge pull request #27 from Devidxyz/fix/escape_bracket_in_path
...
Fix: escape bracket in path
2024-02-02 22:45:47 +03:00
Sathvik Birudavolu
02e6036f39
add override branch option
2023-12-29 18:11:14 -06:00
Devidxyz
0887d7fa53
Put empty line back
2023-12-15 17:32:17 +01:00
Devidxyz
d20131133f
Escape square brackets in path
2023-12-15 17:30:24 +01:00
Bez Hermoso
8ee6a3cf3b
feat: Support alternate SSH usernames i.e. non-standard GitHub Enterprise setups
2023-10-25 23:52:12 -07:00
Masahiro Kasashima
2388e69546
Control priority by bang
2023-09-23 10:26:40 +09:00
Ali Almohaya
27655e19d4
Merge pull request #22 from msc94/main
2023-08-29 02:51:33 +03:00
msc94
618c0a873a
Make url creation and opening two steps
2023-08-26 21:51:16 +02:00
Julius Härtl
c473ee1e3a
fix: Check local reference of remote branch first
...
git ls-remote turns out to be slow, so checking for the local remote
branches first to determine if a branch exists upstream. This might not
work in all cases (e.g. if a branch was deleted remotely but no fetch
happened), but is probably good enough for most cases.
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-20 11:27:12 +02:00
Masahiro Kasashima
6ffd911e7b
Refactoring
2023-06-18 06:48:17 +09:00
Masahiro Kasashima
68a3ed8af4
Fix some bugs on previous commit
2023-06-17 21:02:43 +09:00
Masahiro Kasashima
5e742c3d7f
Roughly create a commit-priority implementation
2023-06-17 20:40:36 +09:00
Ali Almohaya
53a6e414fd
Merge pull request #17 from msr1k/hash-mark-uri-encoding-for-branch-name
2023-06-17 04:36:42 +03:00
Masahiro Kasashima
30535d4c28
Encode uri component properly and apply it for branch name and also file path
2023-05-28 07:47:32 +09:00
Ali Almohaya
b9daa9db78
feat: support OpenInGHFileLines command
2023-05-26 22:31:02 +03:00
Masahiro Kasashima
9437ab08c5
Added hash mark uri encoding for branch name
2023-05-25 22:12:16 +09:00
PlaiyTiziano
4b7cf31af2
Defaults to main branch if all other options aren't upstreamed
2023-04-17 23:57:06 +02:00
PlaiyTiziano
01974bb315
Get rid of camelCasing
2023-04-08 20:34:18 +02:00
PlaiyTiziano
faf75f3e0a
Stop the appending #L<number> when nothing is selected
2023-04-08 20:25:43 +02:00
Ali Almohaya
69b393eff8
Merge pull request #10 from lvauthrin/main
2023-03-24 04:54:19 +03:00
Michał Kalbarczyk
40fab7f97e
Update utils.lua
...
Fix line number
2023-03-22 17:02:24 +01:00
Laurent Vauthrin
9a3fd56ea9
Fixed style issue in init.lua
2023-03-21 12:55:18 -04:00
Laurent Vauthrin
0882b3d798
Added support for ranges when opening a file
2023-03-21 09:39:12 -04:00
Ali Almohaya
9fdf21a5c3
Merge pull request #6 from Almo7aya/chore/handle_http_remote_urls
2022-10-30 02:04:25 +03:00
Ali Almohaya
264f7897bf
chore: add testing for user commands
2022-10-30 02:03:40 +03:00
Ali Almohaya
6a1227dcb1
chore: handle http remote url
2022-10-29 18:15:40 +03:00
Ali Almohaya
cec20701ae
chore: run fmt, and lint
2022-10-10 01:16:44 +03:00
Sathvik Birudavolu
16dc19bd5c
nit
2022-10-09 15:43:14 -04:00
Sathvik Birudavolu
99be35eef8
Fix error, support other remotes
...
- `table.unpack` -> `unpack`
- Add support for `http://` and `ssh://` remotes
- Gracefully handle error while parsing
2022-10-09 15:34:46 -04:00
Sathvik Birudavolu
c5c85ed23e
Add GitHub Enterprise URL support
2022-10-09 13:55:11 -04:00
ec965
16fd0ed499
Fix ordering of wsl and win
2022-10-06 22:48:35 -07:00
ec965
868fdb39e9
Return true for wsl
2022-10-06 22:27:53 -07:00
ec965
2507c1e2f0
Add wsl support
2022-10-06 22:15:21 -07:00
Elias Gill
28547d2d07
changed the behavior to make the plugin follow the current repository of the current buffer
2022-09-28 12:18:45 -04:00
Ali Almohaya
0c4f3bf7c0
chore: support opening files with correct fine number
2022-09-27 01:37:15 +03:00
Ali Almohaya
d03ef94579
fix: typo in get_current_branch_or_commit
2022-09-27 00:45:12 +03:00
Ali Almohaya
89d7ad4281
chore: add support when HEAD is detached
2022-09-27 00:44:01 +03:00
Ali Almohaya
ddc84cf0fd
fix: do not open exec open file if there is no active buffer
2022-09-27 00:21:42 +03:00
Ali Almohaya
60015c1736
fix: do not open exec open file if there is no active buffer
2022-09-26 23:57:02 +03:00
Ali Almohaya
95159211e7
chore: run stylue on the project
2022-09-26 23:29:58 +03:00
Ali Almohaya
b46dfdb198
chore: add actions to format and lint the code
2022-09-26 23:28:51 +03:00
Ali Almohaya
920ce61eb6
fix: opening in repo with same repo branch
2022-09-26 23:02:31 +03:00
Ali Almohaya
b712206961
chore: implement :OpenInGHFile with its utils
2022-09-26 22:57:58 +03:00
Ali Almohaya
dba902f5cc
chore: add support for diffrent branches
2022-09-26 21:43:50 +03:00
Ali Almohaya
341f954536
fix: when the reponame has a dot in it
2022-09-26 02:12:25 +03:00
Ali Almohaya
095ff55a15
chore: implement OpenInGhRepo with utils
2022-09-26 02:09:22 +03:00
Ali Almohaya
ba9664ce7b
chore: add todos to the main files
2022-09-25 23:53:23 +03:00
Ali Almohaya
1b9ffd248e
chore: move init.lua into openinghfile
2022-09-25 23:38:12 +03:00