Skip to content

ocaml-mlx/ocaml_mlx.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

ocaml_mlx.nvim

neovim plugin for mlx.

Installation

With vim-plug (or your favorite plugin manager):

Plug 'neovim/nvim-lspconfig'
Plug 'nvim-treesitter/nvim-treesitter'
Plug 'ocaml-mlx/ocaml_mlx.nvim'

Then in init.lua (before lsp setup):

require 'ocaml_mlx'

Then run :TSInstall ocaml_mlx to install the treesitter parser.

Support formatting with ocamlformat-mlx

To enable formatting with ocamlformat-mlx (not yet released on opam), install stevearc/conform.nvim:

Plug 'stevearc/conform.nvim'

Then in init.lua:

local conform = require 'conform'

conform.setup {
  formatters_by_ft = {
    ocaml_mlx = {"ocamlformat_mlx"},
  }
}

Releases

No releases published

Packages

No packages published