From 75d94bf08b32c2dcb5c5fce3f65b7b7ed17be3d8 Mon Sep 17 00:00:00 2001 From: MrFoX <65967000+FooqX@users.noreply.github.com> Date: Sun, 12 Oct 2025 13:17:26 +0300 Subject: [PATCH] Update README.md 1. removed the text where it says that nimlangserver requires nimsuggest, since it's now built in to Nim core and you do not have to know this information. 2. made text more consistent by adding the missing bullet points in the part where it says how to install nim extension for different text editors 3. improved the text about neovim setup 4. moved the emacs setup guide to where all the other text editor setup guides are (what is emacs even doing down there instead of being at the top with all the other text editors) aswell as removed the redundant vscode setup duplicate near where emacs was. 5. removed 'You can install nimlangserver using the instructions for your text editor below', because it was useless there as there weren't any instructions below. You can re-add this where the actual instructions are if you want. --- README.md | 35 ++++++++++++----------------------- 1 file changed, 12 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 6e11a7b..60843da 100644 --- a/README.md +++ b/README.md @@ -10,10 +10,6 @@ Nim Language Server, or `nimlangserver`, is a language server for Nim. ### 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 @@ -31,13 +27,13 @@ nimble build https://github.com/nim-lang/vscode-nim#using ### Sublime Text -Install [LSP-nimlangserver](https://packagecontrol.io/packages/LSP-nimlangserver) from Package Control. +- 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. +- Install [Nim](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: +- Neovim has built-in [LSP](https://neovim.io/doc/user/lsp.html) 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 <= 0.2.4` must be used. An entry point for the tests must be provided via the vsc extension `nim.test.entryPoint` or `testEntryPoint` in future versions of `nimble` +In order to list and run tests, the test library `unittest2 >= 0.2.4` must be used. An entry point for the tests must be provided via the vsc extension `nim.test.entryPoint` or `testEntryPoint` in future versions of `nimble`. ## Related Projects