Future<int> winGetWidth(Window window) { return call('nvim_win_get_width', args: [ window, ]).then<int>((v) => v as int); }