File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ # linear-nvim
2+
3+ A NeoVim plugin to browse and create issues in your Linear workspace. Written in Lua
4+
5+ ** Repository:** < https://github.com/rmanocha/linear-nvim >
6+
Original file line number Diff line number Diff line change 1+ return {
2+ " rmanocha/linear-nvim" ,
3+ dependencies = {
4+ " nvim-lua/plenary.nvim" ,
5+ " nvim-telescope/telescope.nvim" ,
6+ " stevearc/dressing.nvim" ,
7+ {
8+ " AstroNvim/astrocore" ,
9+ opts = function (_ , opts )
10+ local maps = opts .mappings
11+ local prefix = " <Leader>m"
12+
13+ maps .n [prefix ] = { desc = " Linear" }
14+ maps .n [prefix .. " m" ] = {
15+ function () require (" linear-nvim" ).show_assigned_issues () end ,
16+ desc = " Show assigned issues" ,
17+ }
18+ maps .v [prefix .. " c" ] = {
19+ function () require (" linear-nvim" ).create_issue () end ,
20+ desc = " Toggle local note" ,
21+ }
22+ maps .n [prefix .. " c" ] = {
23+ function () require (" linear-nvim" ).create_issue () end ,
24+ desc = " Toggle local note" ,
25+ }
26+ maps .n [prefix .. " s" ] = {
27+ function () require (" linear-nvim" ).show_issue_details () end ,
28+ desc = " Toggle local note" ,
29+ }
30+ end ,
31+ },
32+ },
33+ opts = {},
34+ }
You can’t perform that action at this time.
0 commit comments