Store project style settings in VCS.

I'm sick of getting my settings stomped on every god damn time I open CLion.
This commit is contained in:
2023-10-11 19:25:24 -07:00
parent 187ff6cb01
commit fd6e0c6899
12 changed files with 148 additions and 71 deletions

View File

@@ -44,20 +44,20 @@ anonymousName()
Buffer::Buffer()
: name(anonymousName()), path(std::nullopt), file(std::nullopt)
: name(anonymousName())
{
}
Buffer::Buffer(std::string fName)
: name(std::move(fName)), path(std::nullopt), file(std::nullopt)
: name(std::move(fName))
{
}
Buffer::Buffer(std::string fName, std::string fPath)
: name(std::move(fName)), path(std::move(fPath)), file(std::nullopt)
: name(std::move(fName)), path(std::move(fPath))
{
if (this->path) {
this->file = OptFile(File(this->path.value()));