Override Info

Laravel Nvim can indicate when a method is overriding a base class.

This was requested by a member of our community. If you have a feature request, open an issue!

override

The symbol for an override can be customized. By default, it used the Neovim override symbol.

vim.fn.sign_define("LaravelOverride", { text = "@", texthl = "String" })

Feel free to change the text and the highlight to match your theme and style.

Configuration

You can disable this feature by changing the configuration:

{
  features = {
    override = {
      enable = true,
    },
  },
}