view runtime/ftplugin/dircolors.vim @ 30908:11115c806541 v9.0.0788

patch 9.0.0788: ModeChanged autocmd not executed when Visual ends with CTRL-C Commit: https://github.com/vim/vim/commit/61c4b04799bf114cadc3bbf212ae8b2ad22a6980 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Oct 18 15:10:11 2022 +0100 patch 9.0.0788: ModeChanged autocmd not executed when Visual ends with CTRL-C Problem: ModeChanged autocmd not executed when Visual mode is ended with CTRL-C. Solution: Do not trigger the autocmd when got_int is set. (closes #11394)
author Bram Moolenaar <Bram@vim.org>
date Tue, 18 Oct 2022 16:15:04 +0200
parents 1218c5353e2b
children
line wrap: on
line source

" Vim filetype plugin file
" Language:             dircolors(1) input file
" 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< fo<"

setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

let &cpo = s:cpo_save
unlet s:cpo_save