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
Notes: sideshowbarker 2024-07-19 02:02:56 +09:00
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);