neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

dune.vim (430B)


      1 " Vim indent file
      2 " Language: dune
      3 " Maintainers:  Markus Mottl         <markus.mottl@gmail.com>
      4 " URL:          https://github.com/ocaml/vim-ocaml
      5 " Last Change:  2021 Jan 01
      6 "               2023 Aug 28 by Vim Project (undo_indent)
      7 
      8 if exists("b:did_indent")
      9 finish
     10 endif
     11 let b:did_indent = 1
     12 
     13 " dune format-dune-file uses 1 space to indent
     14 setlocal softtabstop=1 shiftwidth=1 expandtab
     15 
     16 let b:undo_indent = "setl et< sts< sw<"