remove unused version regex

This commit is contained in:
Kay Simmons 2023-02-05 23:25:20 -08:00
parent 4642817e72
commit 035901127a

View File

@ -7,8 +7,6 @@ use async_trait::async_trait;
use client::http::HttpClient;
use futures::{io::BufReader, StreamExt};
use language::LanguageServerName;
use lazy_static::lazy_static;
use regex::Regex;
use smol::fs;
use util::{async_iife, ResultExt};
@ -17,10 +15,6 @@ use super::installation::{latest_github_release, GitHubLspBinaryVersion};
#[derive(Copy, Clone)]
pub struct LuaLspAdapter;
lazy_static! {
static ref LUALS_VERSION_REGEX: Regex = Regex::new(r"\d+\.\d+\.\d+").unwrap();
}
#[async_trait]
impl super::LspAdapter for LuaLspAdapter {
async fn name(&self) -> LanguageServerName {