Skip to content

Commit 5a57ef4

Browse files
Badyaintellij-monorepo-bot
authored andcommitted
Minor neovim setup improvements
GitOrigin-RevId: 9069e58b81111d9c13845a13353ab76de15d6538
1 parent 1e87e11 commit 5a57ef4

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

scripts/neovim.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,19 @@
44

55
1. Ensure socat and netcat are installed
66

7-
2. Create a symlink inside your PATH to run.sh script, e.g.:
7+
2. Ensure `kotlin-lsp.sh` is executable
8+
9+
```sh
10+
chmod +x $KOTLIN_LSP_DIR/kotlin-lsp.sh
11+
```
12+
13+
3. Create a symlink inside your `PATH` to `kotlin-lsp.sh` script, e.g.:
814

915
```sh
1016
ln -s $KOTLIN_LSP_DIR/kotlin-lsp.sh $HOME/.local/bin/kotlin-ls
1117
```
1218

13-
3. Configure [nvim.lsp](https://neovim.io/doc/user/lsp.html) e.g:
19+
4. Configure [nvim.lsp](https://neovim.io/doc/user/lsp.html) e.g:
1420
```lua
1521
{
1622
cmd = { "kotlin-ls", "--stdio" },
@@ -24,7 +30,7 @@
2430
2531
Requires manual launch of language server
2632
27-
1. launch language server with kotlin-lsp.sh script
33+
1. launch language server with `kotlin-lsp.sh` script
2834
2935
2. Configure [nvim.lsp](https://neovim.io/doc/user/lsp.html) e.g:
3036
```lua
@@ -35,4 +41,4 @@ Requires manual launch of language server
3541
root_markers = { "build.gradle", "build.gradle.kts", "pom.xml" },
3642
}
3743
```
38-
44+

0 commit comments

Comments
 (0)