diff options
| author | Adam Stankiewicz <sheerun@sher.pl> | 2020-10-23 01:13:09 +0200 | 
|---|---|---|
| committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-10-23 01:13:09 +0200 | 
| commit | 50a9a7345f8f9a9f81712554f42e9e62995d094f (patch) | |
| tree | cf4425968084b0e4c6f6361cc06dda4c342ae9be | |
| parent | 29ec69ffa095a16fe15e4c63c1a6ba90974efd74 (diff) | |
| download | vim-polyglot-50a9a7345f8f9a9f81712554f42e9e62995d094f.tar.gz vim-polyglot-50a9a7345f8f9a9f81712554f42e9e62995d094f.zip | |
Update
Diffstat (limited to '')
| -rw-r--r-- | after/syntax/c.vim | 3 | ||||
| -rw-r--r-- | extras/menu.vim | 18 | ||||
| -rwxr-xr-x | scripts/build | 1 | 
3 files changed, 19 insertions, 3 deletions
| diff --git a/after/syntax/c.vim b/after/syntax/c.vim index c533862c..821350c3 100644 --- a/after/syntax/c.vim +++ b/after/syntax/c.vim @@ -7,7 +7,7 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cpp-modern') ==  "                  http://www.vim.org/scripts/script.php?script_id=3064  " Maintainer:      bfrg <bfrg@users.noreply.github.com>  " Website:         https://github.com/bfrg/vim-cpp-modern -" Last Change:     Oct 17, 2020 +" Last Change:     Oct 22, 2020  "  " Extended C syntax highlighting including highlighting of user-defined  " functions. @@ -34,6 +34,7 @@ if get(g:, 'cpp_member_highlight', 0)      syn match cStructMember "\<\h\w*\>\%((\|<\)\@!" contained      syn cluster cParenGroup add=cStructMember      syn cluster cPreProcGroup add=cStructMember +    syn cluster cMultiGroup add=cStructMember      hi def link cStructMember Identifier      if &filetype ==# 'cpp' diff --git a/extras/menu.vim b/extras/menu.vim index f969c1b1..e1765243 100644 --- a/extras/menu.vim +++ b/extras/menu.vim @@ -2,7 +2,7 @@  " You can also use this as a start for your own set of menus.  "  " Maintainer:	Bram Moolenaar <Bram@vim.org> -" Last Change:	2020 Mar 29 +" Last Change:	2020 Sep 28  " Note that ":an" (short for ":anoremenu") is often used to make a menu work  " in all modes and avoid side effects from mappings defined by the user. @@ -89,6 +89,21 @@ an 9999.75 &Help.-sep2-			<Nop>  an 9999.80 &Help.&Version		:version<CR>  an 9999.90 &Help.&About			:intro<CR> +if exists(':tlmenu') +  tlnoremenu 9999.10 &Help.&Overview<Tab><F1>		<C-W>:help<CR> +  tlnoremenu 9999.20 &Help.&User\ Manual		<C-W>:help usr_toc<CR> +  tlnoremenu 9999.30 &Help.&How-To\ Links		<C-W>:help how-to<CR> +  tlnoremenu <silent> 9999.40 &Help.&Find\.\.\.		<C-W>:call <SID>Helpfind()<CR> +  tlnoremenu 9999.45 &Help.-sep1-			<Nop> +  tlnoremenu 9999.50 &Help.&Credits			<C-W>:help credits<CR> +  tlnoremenu 9999.60 &Help.Co&pying			<C-W>:help copying<CR> +  tlnoremenu 9999.70 &Help.&Sponsor/Register		<C-W>:help sponsor<CR> +  tlnoremenu 9999.70 &Help.O&rphans			<C-W>:help kcc<CR> +  tlnoremenu 9999.75 &Help.-sep2-			<Nop> +  tlnoremenu 9999.80 &Help.&Version			<C-W>:version<CR> +  tlnoremenu 9999.90 &Help.&About			<C-W>:intro<CR> +endif +  fun! s:Helpfind()    if !exists("g:menutrans_help_dialog")      let g:menutrans_help_dialog = "Enter a command or word to find help on:\n\nPrepend i_ for Input mode commands (e.g.: i_CTRL-X)\nPrepend c_ for command-line editing commands (e.g.: c_<Del>)\nPrepend ' for an option name (e.g.: 'shiftwidth')" @@ -1196,4 +1211,3 @@ let &cpo = s:cpo_save  unlet s:cpo_save  " vim: set sw=2 : - diff --git a/scripts/build b/scripts/build index 91a7a26c..15d12333 100755 --- a/scripts/build +++ b/scripts/build @@ -891,6 +891,7 @@ def generate_fallback    filetype_content.gsub!(/^au StdinReadPost \* .+?runtime!.+?endif/m) {}    filetype_content.gsub!(/^au filetypedetect BufNewFile,BufRead,StdinReadPost \*\n.+?endif/m) {}    File.write('extras/filetype.vim', filetype_content) +  File.write('extras/menu.vim', File.read('tmp/vim/vim/runtime/menu.vim'))    autoload_content = File.read('tmp/vim/vim/runtime/autoload/dist/ft.vim')     autoload_content.gsub!('dist#ft#', 'polyglot#ft#') | 
