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:
parent
7f3e1fa826
commit
6b55b007dd
11 changed files with 459 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue