aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.md b/README.md
index c9f2464..032bd42 100644
--- a/README.md
+++ b/README.md
@@ -11,6 +11,7 @@ Language server for Odin. This project is still in early development.
- [Vs Code](#vs-code)
- [Sublime](#sublime)
- [Vim](#vim)
+ - [Neovim](#neovim)
- [Emacs](#emacs)
## Installation
@@ -142,6 +143,18 @@ Configuration of the LSP:
}
```
+### Neovim
+Neovim has a builtin support for LSP.
+
+There is a plugin that turns easier the setup, called [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig). You can
+install it with you prefered package manager.
+
+A simple configuration to use with Odin would be like this:
+```lua
+local lspconfig = require('lspconfig')
+lspconfig.ols.setup({})
+```
+
### Emacs
```
;; With odin-mode (https://github.com/mattt-b/odin-mode) and lsp-mode already added to your init.el of course!.