-- Tests for maparg(). -- Also test utf8 map with a 0x80 byte. local helpers = require('test.functional.helpers') local clear, feed, insert = helpers.clear, helpers.feed, helpers.insert local execute, expect = helpers.execute, helpers.expect describe('maparg()', function() setup(clear) it('is working', function() execute('set cpo-=<') execute('set encoding=utf8') -- Test maparg() with a string result execute('map foo isfoo') execute('vnoremap