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

termux-language-server is not registered with lspconfig #483

Open
2 tasks done
nogweii opened this issue Oct 31, 2024 · 1 comment
Open
2 tasks done

termux-language-server is not registered with lspconfig #483

nogweii opened this issue Oct 31, 2024 · 1 comment

Comments

@nogweii
Copy link

nogweii commented Oct 31, 2024

Problem description

I've added termux-language-server to the ensure_installed list. It does get installed, but it's not added to lspconfig, not even showing up as a configured server.

Why do you think this is an issue with mason-lspconfig.nvim?

This LSP used to be called pkgbuild_language_server but was renamed. I think adding an alias would be sufficient, but possibly lspconfig needs to be updated to reflect the additional filetypes.

Neovim version (>= 0.7)

NVIM v0.10.2

Build type: RelWithDebInfo

LuaJIT 2.1.1727870382

Operating system/version

Linux 6.11.5-arch1-1

I've manually reviewed the Nvim LPS client log (:LspLog) to find potential errors

  • Yes

I've recently downloaded the latest plugin version of mason.nvim, mason-lspconfig.nvim, and nvim-lspconfig

  • Yes

Affected language servers

termux-language-server

Steps to reproduce

  1. :MasonInstall termux-language-server
  2. :LspInfo
  3. Observe that it's not in the list of registered servers

Actual behavior

That there would be a pkgbuild_language_server LSP server registered with Neovim.

Expected behavior

It does not get registered.

LspInfo

lspconfig: require("lspconfig.health").check()

LSP configs active in this session (globally) ~
- Configured servers: ts_ls, jsonls, cssls, lua_ls, standardrb, css_variables, yamlls, html, taplo, gitlab_ci_ls, clangd, docker_compose_language_service, basedpyright, marksman, jsonnet_ls, terraformls, tflint, bashls, ruby_lsp, gopls, ansiblels, crystalline, jinja_lsp, ruff_lsp, dockerls
- OK Deprecated servers: (none)

LSP configs active in this buffer (id=(invalid buffer)) ~
- Language client log: ~/.local/var/nvim/lsp.log
- Detected filetype: `(invalid buffer)`
- 0 client(s) attached to this buffer


### LspLog

_No response_

### Healthcheck

```Text
==============================================================================
mason: require("mason.health").check()

mason.nvim ~
- OK mason.nvim version v1.10.0
- OK PATH: prepend
- OK Providers: 
    mason.providers.registry-api
    mason.providers.client
- OK neovim version >= 0.7.0

mason.nvim [Registries] ~
- OK Registry `github.com/mason-org/mason-registry version: 2024-10-31-jazzy-okapi` is installed.

mason.nvim [Core utils] ~
- OK unzip: `UnZip 6.00 of 20 April 2009, by Info-ZIP.  Maintained by C. Spieler.  Send`
- OK wget: `GNU Wget 1.24.5 built on linux-gnu.`
- OK curl: `curl 8.10.1 (x86_64-pc-linux-gnu) libcurl/8.10.1 OpenSSL/3.4.0 zlib/1.3.1 brotli/1.1.0 zstd/1.5.6 libidn2/2.3.7 libpsl/0.21.5 libssh2/1.11.0 nghttp2/1.64.0 nghttp3/1.6.0`
- OK gzip: `gzip 1.13`
- OK tar: `tar (GNU tar) 1.35`
- OK bash: `GNU bash, version 5.2.37(1)-release (x86_64-pc-linux-gnu)`
- OK sh: `Ok`

mason.nvim [Languages] ~
- OK Go: `go version go1.23.2 linux/amd64`
- OK cargo: `cargo 1.82.0 (8f40fc59f 2024-08-21)`
- OK PHP: `PHP 8.3.13 (cli) (built: Oct 23 2024 07:04:22) (NTS)`
- OK Ruby: `ruby 3.3.4 (2024-07-09 revision be1089c8ec) [x86_64-linux]`
- WARNING luarocks: failed to parse version
  - ADVICE:
    - Error: ...g/.local/share/nvim/lazy/mason.nvim/lua/mason/health.lua:214: attempt to compare number with nil
- OK node: `v23.1.0`
- OK Composer: `Composer version 2.8.1 2024-10-04 11:31:01`
- WARNING julia: not available
  - ADVICE:
    - spawn: julia failed with exit code - and signal -. julia is not executable
- OK python: `Python 3.12.7`
- OK java: `openjdk version "23" 2024-09-17`
- OK RubyGem: `3.5.11`
- OK npm: `10.9.0`
- OK javac: `javac 23`
- OK pip: `pip 24.2 from /usr/lib/python3.12/site-packages/pip (python 3.12)`
- OK python venv: `Ok`

mason.nvim [GitHub] ~
- OK GitHub API rate limit. Used: 4. Remaining: 56. Limit: 60. Reset: Thu 31 Oct 2024 12:13:46 PM MST.
  Install and authenticate via gh-cli to increase rate limit.


### Screenshots or recordings

_No response_
@nogweii
Copy link
Author

nogweii commented Oct 31, 2024

Ah, hm, there is an existing issue in termux-language-server's repo.

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

No branches or pull requests

1 participant