view runtime/syntax/testdir/input/vim_ex_abbreviate.vim @ 34402:80f395e142c6

runtime(vim): Update base-syntax, fix :unabbrev highlighting (#14077) Commit: https://github.com/vim/vim/commit/1624970d321cfb637ac76232df9c9b3f2fae904c Author: dkearns <dougkearns@gmail.com> Date: Fri Feb 23 05:45:05 2024 +1100 runtime(vim): Update base-syntax, fix :unabbrev highlighting (https://github.com/vim/vim/issues/14077) Fixes issue https://github.com/vim/vim/issues/7876 Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Thu, 22 Feb 2024 20:00:04 +0100
parents
children
line wrap: on
line source

" Vim :abbreviate commands

abbrev <buffer> foo foobar
cabbrev <buffer> cfoo cfoobar
iabbrev <buffer> ifoo cfoobar

abbrev <expr> <buffer> foo foobar
cabbrev <expr> <buffer> cfoo cfoobar
iabbrev <expr> <buffer> ifoo cfoobar

noreabbrev <buffer> foo foobar
cnoreabbrev <buffer> cfoo cfoobar
inoreabbrev <buffer> ifoo cfoobar

abbrev <expr> <buffer> foo foobar
cabbrev <expr> <buffer> cfoo cfoobar
iabbrev <expr> <buffer> ifoo cfoobar

unabbrev <buffer> foo
cunabbrev <buffer> cfoo
iunabbrev <buffer> ifoo

abclear <buffer>
cabclear <buffer>
iabclear <buffer>