Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Optionally show/disable the info text #96

Conversation

rambhosale
Copy link

This PR introduces a feature to display info text objects conditionally.

Defaults are not changed

Changes Made
Added functionality to conditionally render info text objects.

Configuration Options: Introduced new configuration settings to disable text objects.

  opts = {
      features = {
        null_ls = {
          enable = true,
        },
        route_info = {
          enable = true,         --- to enable the laravel.nvim virtual text
          position = 'right',    --- where to show the info (available options 'right', 'top')
          middlewares = true,    --- wheather to show the middlewares section in the info
          method = true,         --- wheather to show the method section in the info
          uri = true             --- wheather to show the uri section in the info
        },
      },
    },
  }

Documentation: Updated the plugin's documentation to reflect the new feature and provide examples for usage.

@adalessa adalessa merged commit e4f39d9 into adalessa:main Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants