Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nim-lang/langserver
The Nim language server implementation (based on nimsuggest)
https://github.com/nim-lang/langserver
Last synced: 10 days ago
JSON representation
The Nim language server implementation (based on nimsuggest)
- Host: GitHub
- URL: https://github.com/nim-lang/langserver
- Owner: nim-lang
- Created: 2018-06-06T09:41:21.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-17T14:39:37.000Z (about 2 months ago)
- Last Synced: 2024-09-18T13:47:28.964Z (about 2 months ago)
- Language: Nim
- Homepage:
- Size: 989 KB
- Stars: 198
- Watchers: 10
- Forks: 28
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nim Language Server
Nim Language Server, or `nimlangserver`, is a language server for Nim.
## Installation
**IMPORTANT** you might want to use latest build of the `nimlangserver` and/or build it from source.
`nimlangserver` requires `nimble >= 0.16.1`
### Installing binaries
_NB:_ `nimlangserver` requires `nimsuggest` version that supports `--v3`:
- `devel` containing [19826](https://github.com/nim-lang/Nim/pull/19826)
- 1.6+ containing [19892](https://github.com/nim-lang/Nim/pull/19892)You can install the latest release into `$HOME/.nimble/bin` using e.g.:
```sh
nimble install nimlangserver
```### From Source
```bash
nimble build
```### VSCode
- [vscode-nim](https://github.com/nim-lang/vscode-nim) has support for `nimlangserver`. Follow the instructions at:
https://github.com/nim-lang/vscode-nim#using### Sublime Text
Install [LSP-nimlangserver](https://packagecontrol.io/packages/LSP-nimlangserver) from Package Control.### Zed Editor
Install [Nim Extenstion](https://github.com/foxoman/zed-nim) from the Zed Editor extensions.### Neovim
- [lsp](https://neovim.io/doc/user/lsp.html) Neovim has built-in LSP support. Although, you might want to use something like [lsp-config](https://github.com/neovim/nvim-lspconfig) to take care of the boilerplate code for the most LSP configurations. Install `lsp-config` using your favourite plugin manager an place the following code into your `init.vim` config:
```lua
lua <