@@ -8,11 +8,33 @@ The out-of-the-box experience will use Github.
88General settings that change the default experience:
99
1010``` lua
11+ -- Timeout of provider-commands.
1112M .opts .timeout = 3500
1213-- one of:
1314-- gh
1415-- glab
1516M .opts .default_issue_provider = " gh"
17+ -- Number of character after cut-off in telescope list view.
18+ M .opts .list_max_title_length = 60
19+ ```
20+
21+ ## Project Settings
22+
23+ It is possible to selectively configure specific directories to change their project setings.
24+ When creating the issue provider, all elements are searched in order. For the first entry that
25+ matches its ` path ` with ` nvim ` s current working directory is selected for configuration. Paths
26+ are expanded and normalized before matching. Matching is done on a prefix-searching.
27+
28+ ``` lua
29+ -- Only 'path' is mandatory. At least one more other element should be provided to have an effect.
30+ opts .projects = {
31+ -- Configure this project to use GitLab instead of Github.
32+ { path = " ~/software/my-project" , issue_provider = " glab" },
33+ -- A clone of 'https://github.com/gl-cli/glab', that uses issues from 'https://gitlab.com/gitlab-org/cli'.
34+ { path = " ~/software/glab" , issue_provider = " glab" , project = " gitlab.com/gitlab-org/cli" },
35+ -- My own fork of LLVM, but issues are taken from the upstream repository.
36+ { path = " ~/software/llvm-project" , issue_provider = " gh" , project = " github.com/llvm/llvm-project" },
37+ }
1638```
1739
1840## Issue Settings
@@ -29,6 +51,7 @@ opts.issue_keys = {
2951 assignees = " <localleader>a"
3052 description = " <localleader>d"
3153 state = " <localleader>s"
54+ pin = " <localleader>p"
3255 webview = " <localleader>w"
3356}
3457```
0 commit comments