view runtime/ftplugin/ld.vim @ 26994:8d9506f3542e v8.2.4026

patch 8.2.4026: ml_get error with specific win_execute() command Commit: https://github.com/vim/vim/commit/e664a327014f4aa8baf8549a34a4caab2f3116a3 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jan 7 14:08:03 2022 +0000 patch 8.2.4026: ml_get error with specific win_execute() command Problem: ml_get error with specific win_execute() command. (Sean Dewar) Solution: Check cursor and Visual area are OK.
author Bram Moolenaar <Bram@vim.org>
date Fri, 07 Jan 2022 15:15:03 +0100
parents 1218c5353e2b
children 7c7432a53a6c
line wrap: on
line source

" Vim filetype plugin file
" Language:             ld(1) script
" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
" Latest Revision:      2008-07-09

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

let s:cpo_save = &cpo
set cpo&vim

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

setlocal comments=s1:/*,mb:*,ex:*/ commentstring=/*%s*/ include=^\\s*INCLUDE
setlocal formatoptions-=t formatoptions+=croql

let &cpo = s:cpo_save
unlet s:cpo_save