Mercurial > vim
view runtime/indent/cpp.vim @ 23857:16a19892e22e v8.2.2470
patch 8.2.2470: popup_getoptions() does not get textprop from other tab
Commit: https://github.com/vim/vim/commit/650264367725af6740b94cfd24d9f5caf0e91356
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 6 14:22:32 2021 +0100
patch 8.2.2470: popup_getoptions() does not get textprop from other tab
Problem: Popup_getoptions() does not get textprop from other tab.
Solution: use win_valid_any_tab(). (closes https://github.com/vim/vim/issues/7786)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 06 Feb 2021 14:30:04 +0100 |
parents | 7bc41231fbc7 |
children | 4027cefc2aab |
line wrap: on
line source
" Vim indent file " Language: C++ " Maintainer: Bram Moolenaar <Bram@vim.org> " Last Change: 2008 Nov 29 " 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<"