aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAdelar da Silva Queiróz <adelarsq@gmail.com>2023-05-06 14:06:38 -0300
committerGitHub <noreply@github.com>2023-05-06 14:06:38 -0300
commit3d838de15c786a7cce5592b8d0e67764706dd90a (patch)
tree6726c21f5d778b94ac45b33b4c5f4bb44f44de57 /README.md
parent7d8d803fcb2b3c92d4d9e5d37ea922c06c90d645 (diff)
Add Neovim configuration description
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.md b/README.md
index c9f2464..2605fcd 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 turn 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!.