Skip to content

Commit ba533a7

Browse files
committed
Update example server commands.
1 parent 091bc32 commit ba533a7

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

INSTALL.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,10 @@ Example configuration
6767
set hidden
6868
6969
let g:LanguageClient_serverCommands = {
70-
\ 'rust': ['rustup', 'run', 'nightly', 'rls'],
70+
\ 'rust': ['~/.cargo/bin/rustup', 'run', 'stable', 'rls'],
7171
\ 'javascript': ['/usr/local/bin/javascript-typescript-stdio'],
72+
\ 'javascript.jsx': ['tcp://127.0.0.1:2089'],
73+
\ 'python': ['/usr/local/bin/pyls'],
7274
\ }
7375
7476
nnoremap <silent> K :call LanguageClient#textDocument_hover()<CR>

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ Example configuration
5151
set hidden
5252
5353
let g:LanguageClient_serverCommands = {
54-
\ 'rust': ['rustup', 'run', 'nightly', 'rls'],
54+
\ 'rust': ['~/.cargo/bin/rustup', 'run', 'stable', 'rls'],
5555
\ 'javascript': ['/usr/local/bin/javascript-typescript-stdio'],
5656
\ 'javascript.jsx': ['tcp://127.0.0.1:2089'],
57-
\ 'python': ['pyls'],
57+
\ 'python': ['/usr/local/bin/pyls'],
5858
\ }
5959
6060
nnoremap <F5> :call LanguageClient_contextMenu()<CR>

0 commit comments

Comments
 (0)