File tree Expand file tree Collapse file tree 4 files changed +18
-7
lines changed Expand file tree Collapse file tree 4 files changed +18
-7
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ return {
10
10
{ -- new completion plugin
11
11
' saghen/blink.cmp' ,
12
12
enabled = true ,
13
- -- version = 'v0.*',
14
- dev = true ,
13
+ version = ' v0.*' ,
14
+ dev = false ,
15
15
-- OR build from source, requires nightly: https://rust-lang.github.io/rustup/concepts/channels.html#working-with-nightly-rust
16
16
-- build = 'cargo build --release',
17
17
lazy = false , -- lazy loading handled internally
@@ -43,6 +43,11 @@ return {
43
43
cmdline = {
44
44
enabled = false ,
45
45
},
46
+ min_keyword_length = function (ctx )
47
+ -- only applies when typing a command, doesn't apply to arguments
48
+ if ctx .mode == ' cmdline' and string.find (ctx .line , ' ' ) == nil then return 3 end
49
+ return 0
50
+ end ,
46
51
providers = {
47
52
emoji = {
48
53
module = " blink-emoji" ,
@@ -77,7 +82,13 @@ return {
77
82
auto_show_delay_ms = 100 ,
78
83
treesitter_highlighting = true ,
79
84
},
80
- menu = { auto_show = function (ctx ) return ctx .mode ~= ' cmdline' end },
85
+ menu = {
86
+ auto_show = function (ctx )
87
+ vim .print (' hello' )
88
+ vim .print (vim .fn .getcmdtype ())
89
+ return ctx .mode ~= " cmdline" or not vim .tbl_contains ({ ' /' , ' ?' }, vim .fn .getcmdtype ())
90
+ end ,
91
+ },
81
92
},
82
93
signature = { enabled = true }
83
94
},
Original file line number Diff line number Diff line change 3
3
4
4
{ -- for lsp features in code cells / embedded code
5
5
' jmbuhr/otter.nvim' ,
6
- dev = true ,
6
+ dev = false ,
7
7
dependencies = {
8
8
{
9
9
' neovim/nvim-lspconfig' ,
Original file line number Diff line number Diff line change 3
3
{ -- requires plugins in lua/plugins/treesitter.lua and lua/plugins/lsp.lua
4
4
-- for complete functionality (language features)
5
5
' quarto-dev/quarto-nvim' ,
6
- dev = true ,
6
+ dev = false ,
7
7
opts = {
8
8
codeRunner = {
9
9
enabled = true ,
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ return {
17
17
--- Put your configuration here
18
18
--- @type Neominimap.UserConfig
19
19
vim .g .neominimap = {
20
- auto_enable = true ,
20
+ auto_enable = false ,
21
21
}
22
22
end ,
23
23
},
@@ -45,7 +45,7 @@ return {
45
45
{
46
46
' jmbuhr/telescope-zotero.nvim' ,
47
47
enabled = true ,
48
- dev = true ,
48
+ dev = false ,
49
49
dependencies = {
50
50
{ ' kkharji/sqlite.lua' },
51
51
},
You can’t perform that action at this time.
0 commit comments