Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cp-dsl-replication
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
oceandsl
cp-dsl-replication
Commits
44516c23
Commit
44516c23
authored
May 21, 2021
by
Reiner Jung
Browse files
Options
Downloads
Patches
Plain Diff
Updated documentation for vim.
parent
3e6207bb
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+5
-3
5 additions, 3 deletions
README.md
example.vimrc
+3
-1
3 additions, 1 deletion
example.vimrc
with
8 additions
and
4 deletions
README.md
+
5
−
3
View file @
44516c23
...
@@ -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
...
...
...
...
This diff is collapsed.
Click to expand it.
example.vimrc
+
3
−
1
View file @
44516c23
...
@@ -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',
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment