Mercurial > vim
view runtime/indent/c.vim @ 12112:6afc7339c2ad v8.0.0936
patch 8.0.0936: mode() returns wrong value for a terminal window
commit https://github.com/vim/vim/commit/2bb7b6b0e477612cc098cba27cc63ec3d19a2527
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 13 20:58:33 2017 +0200
patch 8.0.0936: mode() returns wrong value for a terminal window
Problem: Mode() returns wrong value for a terminal window.
Solution: Return 't' when typed keys go to a job.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 13 Aug 2017 21:00:04 +0200 |
parents | fca8a9b65afa |
children | 4027cefc2aab |
line wrap: on
line source
" Vim indent file " Language: C " Maintainer: Bram Moolenaar <Bram@vim.org> " Last Change: 2005 Mar 27 " Only load this indent file when no other was loaded. if exists("b:did_indent") finish endif let b:did_indent = 1 " C indenting is built-in, thus this is very simple setlocal cindent let b:undo_indent = "setl cin<"