Warning: `vim.validate` is deprecated
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 52/100
Research direction
Start with lua/cmp_buffer/source.lua at line 34, where the traceback identifies the deprecated vim.validate call. Compare it with the replacement signature shown in the warning, then run checkhealth to confirm the warning no longer appears.
Written by the indexing model from the issue text.
Description
I have following stack when running checkhealth:
- ⚠️ WARNING vim.validate is deprecated. Feature will be removed in Nvim 1.0
- ADVICE:
- use vim.validate(name, value, validator, optional_or_msg) instead.
- stack traceback:
$HOME/.local/share/nvim/lazy/cmp-buffer/lua/cmp_buffer/source.lua:34
$HOME/.local/share/nvim/lazy/cmp-buffer/lua/cmp_buffer/source.lua:45
$HOME/.local/share/nvim/lazy/nvim-cmp/lua/cmp/source.lua:239
$HOME/.local/share/nvim/lazy/nvim-cmp/lua/cmp/source.lua:283
$HOME/.local/share/nvim/lazy/nvim-cmp/lua/cmp/core.lua:308
$HOME/.local/share/nvim/lazy/nvim-cmp/lua/cmp/core.lua:178
$HOME/.local/share/nvim/lazy/nvim-cmp/lua/cmp/core.lua:238
$HOME/.local/share/nvim/lazy/nvim-cmp/lua/cmp/core.lua:170
$HOME/.local/share/nvim/lazy/nvim-cmp/lua/cmp/init.lua:372
$HOME/.local/share/nvim/lazy/nvim-cmp/lua/cmp/utils/autocmd.lua:53
$HOME/.local/share/nvim/lazy/nvim-cmp/lua/cmp/utils/autocmd.lua:14
- Dominant language
- Lua
- Stars
- 672
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from hrsh7th/cmp-buffer
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
hrsh7th/cmp-buffer#65 · 2 reactions ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
hrsh7th/cmp-buffer#84 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
hrsh7th/cmp-buffer#81 ·
-
Completing Unicode (using \k regex) is broken because common prefix uses bytes instead of characters Open
Difficulty 3/5 1-2 days Newbie friendliness 45/100
hrsh7th/cmp-buffer#80 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 30/100
hrsh7th/cmp-buffer#78 ·
All issues in hrsh7th/cmp-buffer
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
api7/lua-resty-saml#62 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
nvim-tree/nvim-tree.lua#3357 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
codymikol/multiverse.nvim#320 ·
-
Data Correction tbc
Difficulty 2/5 1-3 hours Newbie friendliness 68/100