nvim-lua / kickstart.nvim

A launch point for your personal nvim configuration
MIT License
16.66k stars 16.51k forks source link

Deprecation of vim.dagnostic.goto_prev and vim.diagnostic.goto_next #992

Open jonl500 opened 5 days ago

jonl500 commented 5 days ago

Describe the bug

My neovim config was raising an error which I noticed and looked up: https://neovim.io/doc/user/deprecated.html

To Reproduce

I do not know if the error was caught using 'Trouble' or one the the built in tools from kickstart, but it's a quick fix. Once I used 'Trouble', I got a warning on the deprecated code.

  1. Desktop

    • OS: Ubuntu
    • Terminal: zsh

Neovim Version

v0.11.0-dev

Screenshot from 2024-06-26 13-37-30

fbernier commented 5 days ago

You're using an unreleased version of neovim which is not yet supported by kickstart.

You may be interested in https://github.com/nvim-lua/kickstart.nvim/pull/936

VlaDexa commented 1 day ago

You can safely remove those two maps, because since 0.10 Neovim maps these keys by default to these actions.