Mercurial > vim
view runtime/ftplugin/go.vim @ 18253:783f796a1426 v8.1.2121
patch 8.1.2121: mode is not updated when switching to terminal
Commit: https://github.com/vim/vim/commit/a27e1dcddc9e3914ab34b164f71c51b72903b00b
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Oct 7 22:27:36 2019 +0200
patch 8.1.2121: mode is not updated when switching to terminal
Problem: Mode is not updated when switching to terminal in Insert mode.
Solution: Redraw the mode when entering a terminal window. (Jason Franklin)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 07 Oct 2019 22:30:04 +0200 |
parents | 1e8ebf870720 |
children | 99d97826842a |
line wrap: on
line source
" Vim filetype plugin file " Language: Go " Maintainer: David Barnett (https://github.com/google/vim-ft-go) " Last Change: 2014 Aug 16 if exists('b:did_ftplugin') finish endif let b:did_ftplugin = 1 setlocal formatoptions-=t setlocal comments=s1:/*,mb:*,ex:*/,:// setlocal commentstring=//\ %s let b:undo_ftplugin = 'setl fo< com< cms<' " vim: sw=2 sts=2 et