LazyVim / starter

Starter template for LazyVim
Apache License 2.0
944 stars 750 forks source link

fix: .on_attach deprecated, replace with .lsp.on_attach #45

Closed joshryandavis closed 9 months ago

joshryandavis commented 10 months ago

The starter template uses a deprecated method from lazyvim.util.

require("lazyvim.util").on_attach is now require("lazyvim.util").lsp.on_attach

This creates a warning for the user when loading into nvim when they enable the example.lua template.

folke commented 9 months ago

thanks