diff options
| author | JVaverka <[email protected]> | 2021-07-19 03:33:57 -0400 | 
|---|---|---|
| committer | GitHub <[email protected]> | 2021-07-19 12:03:57 +0430 | 
| commit | fe69c43d664aa2cae17bd543af256db4b2e1bfaf (patch) | |
| tree | d29c479b7d7360afcdb3e3af086bc7563ea55372 /ftplugin | |
| parent | e50a586a3a08b29ef9dac3094ee563d989a68190 (diff) | |
[Feature]: Add language server support for Julia (#423) (#918)
Diffstat (limited to 'ftplugin')
| -rw-r--r-- | ftplugin/julia.lua | 14 | 
1 files changed, 14 insertions, 0 deletions
| diff --git a/ftplugin/julia.lua b/ftplugin/julia.lua new file mode 100644 index 00000000..f1688bad --- /dev/null +++ b/ftplugin/julia.lua @@ -0,0 +1,14 @@ +local cmd = { +  "julia", +  "--startup-file=no", +  "--history-file=no", +  -- vim.fn.expand "~/.config/nvim/lua/lsp/julia/run.jl", +  CONFIG_PATH .. "/lua/lsp/julia/run.jl", +} +require("lspconfig").julials.setup { +  cmd = cmd, +  on_new_config = function(new_config, _) +    new_config.cmd = cmd +  end, +  filetypes = { "julia" }, +} | 
