Tests for 'lispwords' settings being global-local STARTTEST :so small.vim :set nocompatible viminfo+=nviminfo :" :" Testing 'lispwords' :" :setglobal lispwords=foo,bar,baz :setlocal lispwords-=foo | setlocal lispwords+=quux :redir >> test.out | echon "\nTesting 'lispwords' local value" | setglobal lispwords? | setlocal lispwords? | echo &lispwords . "\n" | redir end :setlocal lispwords< :redir >> test.out | echon "\nTesting 'lispwords' value reset" | setglobal lispwords? | setlocal lispwords? | echo &lispwords . "\n" | redir end :qa! ENDTEST