mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-31 15:32:51 +00:00
HackStudio: Add a Shell language server
This commit is contained in:
parent
7f3e1fa826
commit
6b55b007dd
Notes:
sideshowbarker
2024-07-19 02:02:56 +09:00
Author: https://github.com/alimpfard
Commit: 6b55b007dd
Pull-request: https://github.com/SerenityOS/serenity/pull/3675
Reviewed-by: https://github.com/awesomekling
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