robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
9e80f63c30
master
1-- Modules loaded here will not be cleared and reloaded by the local harness. 2-- Keeping these preloaded preserves cross-file setup while still resetting 3-- non-helper modules between files. 4local t =require ( 'test.testutil' ) 5require ( 'test.functional.testnvim' )() 6require ( 'test.functional.ui.screen' ) 7 8local has_ffi , ffi =pcall ( require , 'ffi' ) 9if t . is_os ( 'win' ) and has_ffi then 10ffi . cdef [[ 11typedef int errno_t ; 12errno_t _set_fmode ( int mode ); 13]] 14ffi . C . _set_fmode ( 0x8000 ) 15end