williamboman / nvim-lsp-installer

Further development has moved to https://github.com/williamboman/mason.nvim!
https://github.com/williamboman/mason.nvim
Apache License 2.0
2k stars 123 forks source link

Add support for OpenCL language server #393

Closed krishnakumarg1984 closed 2 years ago

krishnakumarg1984 commented 2 years ago

Which server would you like to request to be added?

Which languages does this server target?

How is this server distributed?

Further Comments

It is vital to add this language server to vim. There is literally no good extension (either in vimscript or Lua) that provides modern OpenCL editing capabilities. The existing plugins are all outdated syntax highlighting based on old OpenCL standards. OpenCL is getting popular as a vendor-agnostic way to program heterogeneous systems that includes accelerators like GPUs and FPGAs.

github-actions[bot] commented 2 years ago

Hello! Cool! Pull requests are always very welcomed to add new servers. If the distribution of the server is simple, the installation will most likely be so as well (existing server installers may be used for reference!). Otherwise, @williamboman will get around to looking into this ASAP!

williamboman commented 2 years ago

Hello! I will wait for initial response in https://github.com/Galarius/vscode-opencl/issues/34 before proceeding with this

williamboman commented 2 years ago

So just FYI: it seems like much of the VSCode extension's features are implemented on the client side entirely, meaning some of it won't be available for other clients. The author made an effort to extract the server from the VSCode extension to its own repository with a separate release pipeline, so this should be good to land soon

williamboman commented 2 years ago

Added in #415. Note that you may run into a bunch of errors when saving files. This was fixed in https://github.com/Galarius/opencl-language-server/pull/2 but has not yet made it into a new release.