add lua-mode and thrift-mode
fix conflict