File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 4
4
5
5
1 . Ensure socat and netcat are installed
6
6
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.:
8
14
9
15
` ` ` sh
10
16
ln -s $KOTLIN_LSP_DIR /kotlin-lsp.sh $HOME /.local/bin/kotlin-ls
11
17
` ` `
12
18
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:
14
20
` ` ` lua
15
21
{
16
22
cmd = { " kotlin-ls" , " --stdio" },
24
30
25
31
Requires manual launch of language server
26
32
27
- 1. launch language server with kotlin-lsp.sh script
33
+ 1. launch language server with ` kotlin-lsp.sh` script
28
34
29
35
2. Configure [nvim.lsp](https://neovim.io/doc/user/lsp.html) e.g:
30
36
` ` ` lua
@@ -35,4 +41,4 @@ Requires manual launch of language server
35
41
root_markers = { " build.gradle" , " build.gradle.kts" , " pom.xml" },
36
42
}
37
43
` ` `
38
-
44
+
You can’t perform that action at this time.
0 commit comments