forked from saghen/blink.cmp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrepro.lua
More file actions
31 lines (29 loc) · 1002 Bytes
/
repro.lua
File metadata and controls
31 lines (29 loc) · 1002 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
-- Run with `nvim -u repro.lua`
--
-- Please update the code below to reproduce your issue and send the updated code, with reproduction
-- steps, in your issue report
--
-- If you get warnings about prebuilt binaries, you may use `fuzzy.implementation = 'lua'`
-- but note this has caveats: https://cmp.saghen.dev/configuration/fuzzy#rust-vs-lua-implementation
vim.env.LAZY_STDPATH = '.repro'
load(vim.fn.system('curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua'))()
---@diagnostic disable-next-line: missing-fields
require('lazy.minit').repro({
spec = {
{
'saghen/blink.cmp',
-- please test on `main` if possible
-- otherwise, remove this line and set `version = '*'`
build = 'cargo build --release',
opts = {},
},
{
'neovim/nvim-lspconfig',
config = function()
require('lspconfig').lua_ls.setup({
capabilities = require('blink.cmp').get_lsp_capabilities(),
})
end,
},
},
})