view runtime/ftplugin/cfg.vim @ 21626:ebceee9391cf v8.2.1363

patch 8.2.1363: test trying to run terminal when it is not supported Commit: https://github.com/vim/vim/commit/e46a2ed0d8471b93a8b9edd98280d5de4a02c623 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Aug 4 21:04:57 2020 +0200 patch 8.2.1363: test trying to run terminal when it is not supported Problem: Test trying to run terminal when it is not supported. Solution: Check if Vim can be run in a terminal.
author Bram Moolenaar <Bram@vim.org>
date Tue, 04 Aug 2020 21:15:03 +0200
parents 97b40b4c6911
children
line wrap: on
line source

" Vim filetype plugin file
" Language:		Configuration File
" Maintainer:		Christian Brabandt <cb@256bit.org>
" Latest Revision:	2018-12-24

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 cms< fo<"

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

let &cpo = s:cpo_save
unlet s:cpo_save