Commit 0e56536 1 parent 6b63bed commit 0e56536 Copy full SHA for 0e56536
File tree 2 files changed +13
-6
lines changed
2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ you can create notes on current position to either lists.
11
11
3 . [ Installation] ( #installation )
12
12
- [ Config] ( #config )
13
13
- [ Lazy Loading] ( #lazy-loading )
14
- 4 . [ License] ( #license )
14
+ 4 . [ Related Projects] ( #related-projects )
15
+ 5 . [ License] ( #license )
15
16
16
17
## Demo
17
18
@@ -117,6 +118,12 @@ use({
117
118
})
118
119
```
119
120
121
+ ## Related Projects
122
+
123
+ - [ nvim-bqf] ( https://github.com/kevinhwang91/nvim-bqf ) : manipulate lists with fzf
124
+ - [ replacer.nvim] ( https://github.com/gabrielpoca/replacer.nvim ) : makes a quickfix list editable in both content and file path
125
+ - [ quickfix-reflector.vim] ( https://github.com/stefandtw/quickfix-reflector.vim ) : change code right in the quickfix window
126
+
120
127
## License
121
128
122
129
Licensed under the MIT License. Check the [ LICENSE] ( ./LICENSE ) file for details.
Original file line number Diff line number Diff line change 1
1
local nvim = require (" nvim" )
2
- local util = require (" arshlib.util" )
3
2
local quick = require (" arshlib.quick" )
4
3
5
4
--- When using `dd` in the quickfix list, remove the item from the quickfix
@@ -121,12 +120,13 @@ end --}}}
121
120
-- to the list.
122
121
-- @param is_local boolean if true, the item goes into the local list.
123
122
local function add_note (is_local ) -- {{{
124
- util . user_input ({
123
+ vim . ui . input ({
125
124
prompt = " Note: " ,
126
- on_submit = function (value )
125
+ }, function (value )
126
+ if value then
127
127
insert_note_to_list (value , is_local )
128
- end ,
129
- } )
128
+ end
129
+ end )
130
130
end -- }}}
131
131
132
132
-- selene: allow(global_usage)
You can’t perform that action at this time.
0 commit comments