Move 'get lexers list' into separate function