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

Add installation and implementation instructions #21

Open
lescx opened this issue Oct 17, 2024 · 7 comments
Open

Add installation and implementation instructions #21

lescx opened this issue Oct 17, 2024 · 7 comments

Comments

@lescx
Copy link

lescx commented Oct 17, 2024

I would like to see instructions for dummies (like me) on how to set up the LSP and attach it to a file.

I'm using the Helix editor and Emacs and would like to see a quick start guide on how to attach the config-lsp LSP to specific files.

@Myzel394
Copy link
Owner

Definitely! I'm currently figuring out how to properly add it to neovim; I think the process is similar for Helix and Emacs, I don't know much about those editors sadly :/

Btw, how did you come across this so quickly? I only released this a few hours ago! :D

@lescx
Copy link
Author

lescx commented Oct 17, 2024

Thank you very much.

You might want to ask Aaron @qbit how he found it so quickly. ;)

image

@Myzel394
Copy link
Owner

Hey @lescx I've added some help for neovim to the README.md - does this help you installing it in Helix?

@lescx
Copy link
Author

lescx commented Oct 18, 2024

It does. I've found that there are no config-specific file types other than sshclientconfig for Helix at the moment.

A workaround I found is to create a local helix config directory (e.g. /etc/ssh/.helix) and specifiying the LSP on a per directory basis. But on the other hand, in the same amount of time you could have just edited the config file itself.

@Myzel394
Copy link
Owner

It does. I've found that there are no config-specific file types other than sshclientconfig for Helix at the moment.

~/.ssh/config returns sshclientconfig? What filetype do other config files, such as /etc/ssh/sshd_config or /etc/fstab return?

@lescx
Copy link
Author

lescx commented Oct 18, 2024

~/.ssh/config and /etc/ssh/ssh_config return filetype sshclientconfig. For other config files (including /etc/ssh/sshd_config), it defaults to filetype text. Supported file types for Helix can be found in their supported languages documentation.

@Myzel394
Copy link
Owner

Okay thanks for the info. I'll take a look at Helix later. Ideally, config-lsp should be added as the default lsp :D

I'll focus on Neovim and VS Code first, as more people use these at the moment

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

No branches or pull requests

2 participants