view runtime/ftplugin/logindefs.vim @ 13816:9b0e4976dac6 v8.0.1780

patch 8.0.1780: test fails because Vim in a terminal uses wrong 'encoding' commit https://github.com/vim/vim/commit/77bfd756a02c3b3150d6c08ddbf89b66362dad8d Author: Bram Moolenaar <Bram@vim.org> Date: Mon Apr 30 18:03:10 2018 +0200 patch 8.0.1780: test fails because Vim in a terminal uses wrong 'encoding' Problem: Test fails because Vim in a terminal uses wrong 'encoding'. Solution: Set encoding in the test where it matters. (James McCoy, closes #2847)
author Christian Brabandt <cb@256bit.org>
date Mon, 30 Apr 2018 18:15:06 +0200
parents 1218c5353e2b
children
line wrap: on
line source

" Vim filetype plugin file
" Language:             login.defs(5) configuration 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