【发布时间】:2015-08-20 08:10:17
【问题描述】:
我的emacs默认缩进是这样的:
FileChannel::FileChannel(const std::string &file_path) :
file_path_(file_path), fd_(0)
{
}
但我想要这样:
FileChannel::FileChannel(const std::string &file_path) :
file_path_(file_path), fd_(0)
{
}
或:
FileChannel::FileChannel(const std::string &file_path)
: file_path_(file_path), fd_(0)
{
}
我应该如何更改我的配置?
【问题讨论】:
-
我想你可以通过
google-c-style包获得后者。