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 instructions to Lua language server #17

Merged
merged 10 commits into from
Apr 11, 2022

Conversation

terokarvinen
Copy link
Contributor

No description provided.

Tero Karvinen added 10 commits April 5, 2022 11:22
This allows LSP plugin to work with micro version that's installed with Debian 11-Bullseye package management (apt-get install micro).

I have tested that LSP plugin works with that version, and my test is detailed on https://terokarvinen.com/2022/micro-editor-lsp-support-python-and-go-jump-to-definition-show-function-signature/

The version requirement could be lower than that, maybe 2.0.0, but I have only tested with 2.0.8.
At least one language server is required to use LSP plugin. Instructions for installing these servers are important, as LSP plugin cannot be used without them.

Currently, help explains the installation of language servers for Go and Python. For Python, the active fork pylsp is installed, with optional type checking and moderate settings.
At least one language server is required to use LSP plugin. Instructions for installing these servers are important, as LSP plugin cannot be used without them.

Currently, help explains the installation of language servers for Go and Python. For Python, the active fork pylsp is installed, with optional type checking and moderate settings.
Default settings allow using LSP plugin without modifying settings.json. Most users are not likely to figure out and test support for new language servers, so they are likely to use default settings.

This makes plugin installation process very simple. Installing micro with LSP support for Go becomes a two step process. E.g. for Debian: 'sudo apt-get install micro golang-go gopls; micro --plugin install lsp'.
I did not test that these language servers work, I simply added their names and filetypes from README.
@AndCake AndCake merged commit ae3ea81 into AndCake:master Apr 11, 2022
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.

2 participants