aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanielGavin <danielgavin5@hotmail.com>2023-05-06 20:26:02 +0200
committerDanielGavin <danielgavin5@hotmail.com>2023-05-06 20:26:02 +0200
commit2b0dccaa496fd809e36e7d979995e843bca28bfb (patch)
tree352e483f14605e5a79d708c4b6231fe4645ddc2c
parent84efa3bb4e93b9624107ed0a798d8a98e386f1d6 (diff)
parenta7e1a1b0837f9bd3b6a208a1e2ef77d796a5e55b (diff)
Merge branch 'master' of https://github.com/DanielGavin/ols
-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!.