view runtime/ftplugin/elm.vim @ 31365:040b59b92dca v9.0.1016

patch 9.0.1016: screenpos() does not count filler lines for diff mode Commit: https://github.com/vim/vim/commit/1cb16c3a20a9d17df1a8dc3813ef64dc98e42637 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 5 22:26:44 2022 +0000 patch 9.0.1016: screenpos() does not count filler lines for diff mode Problem: screenpos() does not count filler lines for diff mode. Solution: Add filler lines. (closes 11658)
author Bram Moolenaar <Bram@vim.org>
date Mon, 05 Dec 2022 23:30:04 +0100
parents 4d76b3e07c07
children
line wrap: on
line source

" Elm filetype plugin file
" Language: Elm
" Maintainer: Andreas Scharf <as@99n.de>
" Latest Revision: 2022-04-25

if exists("b:did_ftplugin")
  finish
endif
let b:did_ftplugin = 1

let s:cpo_save = &cpo
set cpo&vim

setlocal comments=s1fl:{-,mb:\ ,ex:-},:--
setlocal commentstring=--\ %s

let b:undo_ftplugin = "setl com< cms<"

let &cpo = s:cpo_save
unlet s:cpo_save