mirror of
https://github.com/joshuadavidthomas/django-language-server.git
synced 2025-09-08 03:10:34 +00:00
change agent module
This commit is contained in:
parent
cbe170f629
commit
3af91d404c
2 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ async fn main() -> Result<ExitCode> {
|
||||||
let cli = Cli::parse();
|
let cli = Cli::parse();
|
||||||
match cli.command {
|
match cli.command {
|
||||||
Command::Serve(_serve) => {
|
Command::Serve(_serve) => {
|
||||||
let python = PythonProcess::new::<Vec<&OsStr>, &OsStr>("djls.agent", None, None)?;
|
let python = PythonProcess::new::<Vec<&OsStr>, &OsStr>("djls_agent", None, None)?;
|
||||||
djls_server::serve(python).await?
|
djls_server::serve(python).await?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -105,7 +105,7 @@ class LSPAgent:
|
||||||
|
|
||||||
|
|
||||||
async def main() -> None:
|
async def main() -> None:
|
||||||
logger.debug("Starting DJLS...")
|
logger.debug("Starting djls-agent...")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
logger.debug("Initializing LSPAgent...")
|
logger.debug("Initializing LSPAgent...")
|
Loading…
Add table
Add a link
Reference in a new issue