Skip to content

Clangd configuration no more needed #103

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

Closed
gabyx opened this issue Aug 14, 2023 · 0 comments · Fixed by #104
Closed

Clangd configuration no more needed #103

gabyx opened this issue Aug 14, 2023 · 0 comments · Fixed by #104

Comments

@gabyx
Copy link
Contributor

gabyx commented Aug 14, 2023

According to
p00f/clangd_extensions.nvim@643fd64

the setup

clangd = function(_, opts) require("clangd_extensions").setup { server = opts } end

can be ignored and then it works.

Is the identical now something like?

  clangd = function(server, opts)
    local lspconfig = require "lspconfig"
    lspconfig[server].setup(opts)
    require("clangd_extensions").setup()
  end,

I make a PR

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 a pull request may close this issue.

1 participant