pest.vim
pest.vim copied to clipboard
refactor: updated to `vim.lsp` as `require("lspconfig")` is deprecated
Updated to use vim.lsp.config if available to resolve deprecation issue for neovim version >= 0.11.
More info can be seen here: https://neovim.io/doc/user/lsp.html
See also nvim-lspconfig repo: https://github.com/neovim/nvim-lspconfig
If you do not wish to support older versions, you can remove the if statements else branch.
Bumping this PR - I've been having this annoying warning on my NeoVim config for a while now, and I was only just able to track it down to this plugin.