You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto completion either in the buffer or the cmdline works well, only except the auto brackets.
The minimum reproducing env file is:
-- 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-implementationvim.env.LAZY_STDPATH='.repro'load(vim.fn.system('curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua'))()
localtrigger_text=";"---@diagnosticdisable-next-line:missing-fieldsrequire('lazy.minit').repro({
spec= {
{
'saghen/blink.cmp',
-- please test on `main` if possible-- otherwise, remove this line and set `version = '*'`build='cargo build --release',
dependencies= {
-- "rafamadriz/friendly-snippets","onsails/lspkind.nvim",
},
opts= {
completion= { accept= { auto_brackets= { enabled=true, }, }, },
cmdline= { completion= { menu= { auto_show=true, }, } }
},
},
{
'mason-org/mason.nvim',
build=':MasonUpdate',
opts= {},
},
{
'mason-org/mason-lspconfig.nvim',
dependencies= { 'mason-org/mason.nvim', 'neovim/nvim-lspconfig' },
opts= {
ensure_installed= { 'lua_ls' },
},
},
},
})
locallspconfig=require('lspconfig')
lspconfig.util.default_config=vim.tbl_deep_extend(
'force',
lspconfig.util.default_config,
{
capabilities=require('blink.cmp').get_lsp_capabilities(),
}
)
lspconfig['lua_ls'].setup {
settings= {
Lua= {
runtime= {
-- Tell the language server which version of Lua you're using (most likely LuaJIT in the case of Neovim)version='LuaJIT',
},
diagnostics= {
-- Get the language server to recognize the `vim` globalglobals= {'vim'},
},
workspace= {
-- Make the server aware of Neovim runtime fileslibrary= {
vim.api.nvim_get_runtime_file("", true),
},
},
-- Do not send telemetry data containing a randomized but unique identifiertelemetry= {
enable=false,
},
},
},
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
The nvim version is 0.11.4.
Auto completion either in the buffer or the cmdline works well, only except the auto brackets.
The minimum reproducing env file is:
Beta Was this translation helpful? Give feedback.
All reactions