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

initial add of mlir and tblgen lsp #2379

Closed

Conversation

zstreet87
Copy link

@zstreet87 zstreet87 commented Aug 7, 2023

Hi there,

All three are from the LLVM project and are in the nvim-lspconfig repo so this should be straightforward. However, this is my first time contributing so I may need some guidance. In particular, please review the source and bin.

https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#mlir_lsp_server

https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#mlir_pdll_lsp_server

https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#tblgen_lsp_server

Attempting to resolve williamboman/mason-lspconfig.nvim#234

@williambotman williambotman requested a review from a team August 7, 2023 20:34
Copy link
Member

@williamboman williamboman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey! Thanks for the PR! The package definition is incomplete because it's not providing information about what to actually download, the only information is a GitHub repository.

This will be problematic to add as standalone packages because they are bundled with the entire clang+llvm bundle (which provides countless of binaries and is almost 1G large). For this reason I don't see it being feasible to add them to the registry, and users will have to install it elsewhere, for example installing llvm via the system manager.

@zstreet87
Copy link
Author

zstreet87 commented Aug 8, 2023

Given it's in neovim-lspconfig, I don't believe these LSPs require a full LLVM install, since these LSPs are extensions.

https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#mlir_lsp_server

So I thought it would be okay to add to this registry. Though I am ignorant of doing that properly.

Please correct me if I am wrong. I'll try to understand better and if the extensions don't require the full LLVM, I'll hopefully submit a more sufficient PR.

@williamboman
Copy link
Member

I believe the VSCode extension relies on these binaries to be installed externally in order to function. Neovim's equivalent to a dedicated VSCode language plugin would be a server configuration entry in nvim-lspconfig, or manually managed in your personal configuration via :h lsp.

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.

MLIR and TableGen
2 participants