Skip to content

Commit

Permalink
fix: Fixed code coloring issues
Browse files Browse the repository at this point in the history
Fixed an issue where code could not be colored when the project was opened in directory mode

Log: fix issue
  • Loading branch information
Kakueeen committed Aug 8, 2024
1 parent 55b3e8d commit 3540f3b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/common/lsp/protocol/new/extendedproject.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ struct ProjectKey
ProjectKey();
ProjectKey(const std::string &language, const std::string &workspace, const std::string &output);
ProjectKey(const ProjectKey &other);
bool isValid() const { return !workspace.empty() && !language.empty() && !outputDirectory.empty(); }
bool isValid() const { return !workspace.empty() && !language.empty(); }
bool operator==(const ProjectKey &other)
{
return language == other.language
Expand Down
1 change: 0 additions & 1 deletion src/tools/languageadapter/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ QProcess *createCxxServ(const newlsp::ProjectKey &key)
procAs << "--clang-tidy";
procAs << "--completion-style=bundled";
procAs << "--limit-results=500";
procAs << "-j=$(nproc)";

auto proc = new QProcess();
proc->setProgram("/usr/bin/bash");
Expand Down

0 comments on commit 3540f3b

Please sign in to comment.