diff options
-rw-r--r-- | settings.json | 14 | ||||
-rw-r--r-- | settings/julia-language-server.vim | 13 |
2 files changed, 27 insertions, 0 deletions
diff --git a/settings.json b/settings.json index 2dc8a9c..c62470e 100644 --- a/settings.json +++ b/settings.json @@ -275,6 +275,20 @@ } } ], + "julia": [ + { + "command": "julia-language-server", + "requires": [ + "julia" + ], + "vim-plugin": { + "extensions": [ + "jl" + ], + "name": "ajpaulson/julia-syntax.vim" + } + } + ], "kotlin": [ { "command": "kotlin-language-server", diff --git a/settings/julia-language-server.vim b/settings/julia-language-server.vim new file mode 100644 index 0000000..ce07288 --- /dev/null +++ b/settings/julia-language-server.vim @@ -0,0 +1,13 @@ +augroup vimlsp_settings_julia_language_server + au! + LspRegisterServer { + \ 'name': 'julia-language-server', + \ 'cmd': {server_info->lsp_settings#get('julia-language-server', 'cmd', [lsp_settings#exec_path('julia-language-server')])}, + \ 'root_uri':{server_info->lsp_settings#get('julia-language-server', 'root_uri', lsp_settings#root_uri(g:lsp_settings_root_markers))}, + \ 'initialization_options': lsp_settings#get('julia-language-server', 'initialization_options', v:null), + \ 'whitelist': lsp_settings#get('julia-language-server', 'whitelist', ['julia']), + \ 'blacklist': lsp_settings#get('julia-language-server', 'blacklist', []), + \ 'config': lsp_settings#get('julia-language-server', 'config', {}), + \ 'workspace_config': lsp_settings#get('julia-language-server', 'workspace_config', {}), + \ } +augroup END |