Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kdheepak/jet.nvim


https://github.com/kdheepak/jet.nvim

Last synced: 23 days ago
JSON representation

Awesome Lists containing this project

README

        

# JET.nvim

![](https://github.com/kdheepak/JET.nvim/assets/1813121/87b969d6-c2ab-44d7-bc4b-529ede3eab42)

## Install

**With [Packer](https://github.com/wbthomason/packer.nvim):**

Add the following to `init.lua`:

```lua
use({
"~/gitrepos/JET.nvim",
requires = "jose-elias-alvarez/null-ls.nvim",
run = [[mkdir -p ~/.julia/environments/nvim-null-ls && julia --startup-file=no --project=~/.julia/environments/nvim-null-ls -e 'using Pkg; Pkg.add("JET")']],
ft = { "julia" },
config = function()
require("jet").setup()
end,
})
```

**With [vim-plug](https://github.com/junegunn/vim-plug):**

Run the following in a terminal:

```bash
$ mkdir -p ~/.julia/environments/nvim-null-ls && julia --startup-file=no --project=~/.julia/environments/nvim-null-ls -e 'using Pkg; Pkg.add("JET")'
```

Then add the following to your `init.vim` or `.vimrc`:

```vim
Plug 'jose-elias-alvarez/null-ls.nvim'
Plug 'kdheepak/JuliaFormatter.vim'

lua << EOF
require("jet").setup()
EOF
```

## Configuration

```lua
require("jet").setup({
timeout = 15000, -- timeout for JET.jl
setup_lspconfig = true, -- configure lspconfig
})
```