Skip to content
Snippets Groups Projects
Commit 44516c23 authored by Reiner Jung's avatar Reiner Jung
Browse files

Updated documentation for vim.

parent 3e6207bb
No related branches found
No related tags found
No related merge requests found
...@@ -66,7 +66,8 @@ Its installation is as follows: ...@@ -66,7 +66,8 @@ Its installation is as follows:
have to do this twice). have to do this twice).
- Merge or copy the `filetype.vim` to the `~/.vim` directory. This provides - Merge or copy the `filetype.vim` to the `~/.vim` directory. This provides
filetype information to ensure the correct LSP is used. filetype information to ensure the correct LSP is used.
- Start `vim` again - Start `vim` again with a file name ending with `.oconf`, e.g., `example.oconf`
This will start the LSP. Otherwise the LSP stays inactive.
- You can check the status that the LS is available with `:LspStatus`. - You can check the status that the LS is available with `:LspStatus`.
In case the status is offline or exited, some error might have occured. In case the status is offline or exited, some error might have occured.
...@@ -76,7 +77,8 @@ Its installation is as follows: ...@@ -76,7 +77,8 @@ Its installation is as follows:
In case the status is online, you are ready to go. Context help is available In case the status is online, you are ready to go. Context help is available
with CTRL-Space, similarily to Eclipse. with CTRL-Space, similarily to Eclipse.
Please note Vim only provides editing capabilites. Compilation must be performed **Notes:**
- Vim only provides editing capabilites. Compilation must be performed
by a command-line compiler. by a command-line compiler.
## Jupyter Setup ## Jupyter Setup
... ...
......
...@@ -13,7 +13,9 @@ Plug 'prabirshrestha/vim-lsp' ...@@ -13,7 +13,9 @@ Plug 'prabirshrestha/vim-lsp'
Plug 'prabirshrestha/asyncomplete-lsp.vim' Plug 'prabirshrestha/asyncomplete-lsp.vim'
call plug#end() call plug#end()
" pip install python-language-server " install language-server
" Please make sure that the 2 jar files are found by using absolute paths, e.g.,
" /home/trillian/bin/javassist-3.12.1.GA.jar
au User lsp_setup call lsp#register_server({ au User lsp_setup call lsp#register_server({
\ 'name': 'oconf', \ 'name': 'oconf',
\ 'cmd': ['java', \ 'cmd': ['java',
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment