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

style(dashboard): remove unnecessary brackets from keys #1791

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

minusfive
Copy link
Contributor

@minusfive minusfive commented Oct 18, 2023

@folke my pr was merged to nvimdev/dashboard-nvim#396 so here's this one as promised. Though since it's user configurable not sure it's necessary?

Screenshot 2023-10-18 at 1 08 02 PM

@minusfive minusfive marked this pull request as ready for review October 18, 2023 17:12
@minusfive
Copy link
Contributor Author

From #1746 discussion

@minusfive
Copy link
Contributor Author

Alternatively perhaps a recipe?

  {
    "nvimdev/dashboard-nvim",
    opts = function(_, opts)
      for _, button in pairs(opts.config.center) do
        button.key_format = " %s"
      end
      return opts
    end,
  },

@folke folke merged commit d73aee4 into LazyVim:main Oct 19, 2023
@folke
Copy link
Collaborator

folke commented Oct 19, 2023

Thanks!

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.

None yet

2 participants