Skip to content
This repository has been archived by the owner on Oct 13, 2024. It is now read-only.

Documentation for Example Lua in Readme #15

Open
SteffenBlake opened this issue Dec 6, 2023 · 3 comments
Open

Documentation for Example Lua in Readme #15

SteffenBlake opened this issue Dec 6, 2023 · 3 comments

Comments

@SteffenBlake
Copy link

SteffenBlake commented Dec 6, 2023

For these lines of the Readme here:

    on_attach = <on_attach you would pass to nvim-lspconfig>, -- required
    capabilities = <capabilities you would pass to nvim-lspconfig>, -- required

Could we get expansion on what "pass to nvim-lspconfig" looks like, example code on how you would do that?

For folks not extremely familiar with lspconfig, it's not right away clear on what we are intended to do.

Perhaps a "working example" lua.init file with the bare minimum necessary to demo this plugin on its own working in an /examples folder could work, and then just link to that in the readme?

IE:
"Full bare minimum working example here: [Link]"

@marvindore
Copy link

marvindore commented Dec 7, 2023

I am interested in this as well. i was unable to get the CSInstallRoslyn command to work as it continuously errors, but i was able to install Roslyn from the GitHub repository. I wonder what should a config look like to connect this plugin to a local Roslyn install in my home directory?

Running Neovim Nightly
OS Ubuntu

@marvindore
Copy link

Hey @SteffenBlake I was able to get the plugin working, if you are still having trouble can you share your config.

@SteffenBlake
Copy link
Author

That seems out of scope of this github issues discussion. The scope is discussing if the README's documentation is clear enough or needs improvement and, if so, what would be better.

For what it us worth I was able to get it working as well, I have examples on my github repo here, commented out: https://github.com/SteffenBlake/pixxel-nvim/blob/a749b7aca67008e076f87021268ebed30a47aff4/lua/lsp-config/init.lua#L110

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants