1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-22 16:45:08 +00:00

HackStudio: Add a Shell language server

This commit is contained in:
AnotherTest 2020-10-03 17:25:51 +03:30 committed by Andreas Kling
parent 7f3e1fa826
commit 6b55b007dd
11 changed files with 459 additions and 4 deletions

View file

@ -483,6 +483,7 @@ void Editor::set_document(GUI::TextDocument& doc)
break;
case Language::Shell:
set_syntax_highlighter(make<GUI::ShellSyntaxHighlighter>());
m_language_client = get_language_client<LanguageClients::Shell::ServerConnection>(project().root_directory());
break;
default:
set_syntax_highlighter(nullptr);