remove unused version regex
This commit is contained in:
parent
4642817e72
commit
035901127a
1 changed files with 0 additions and 6 deletions
|
@ -7,8 +7,6 @@ use async_trait::async_trait;
|
||||||
use client::http::HttpClient;
|
use client::http::HttpClient;
|
||||||
use futures::{io::BufReader, StreamExt};
|
use futures::{io::BufReader, StreamExt};
|
||||||
use language::LanguageServerName;
|
use language::LanguageServerName;
|
||||||
use lazy_static::lazy_static;
|
|
||||||
use regex::Regex;
|
|
||||||
use smol::fs;
|
use smol::fs;
|
||||||
use util::{async_iife, ResultExt};
|
use util::{async_iife, ResultExt};
|
||||||
|
|
||||||
|
@ -17,10 +15,6 @@ use super::installation::{latest_github_release, GitHubLspBinaryVersion};
|
||||||
#[derive(Copy, Clone)]
|
#[derive(Copy, Clone)]
|
||||||
pub struct LuaLspAdapter;
|
pub struct LuaLspAdapter;
|
||||||
|
|
||||||
lazy_static! {
|
|
||||||
static ref LUALS_VERSION_REGEX: Regex = Regex::new(r"\d+\.\d+\.\d+").unwrap();
|
|
||||||
}
|
|
||||||
|
|
||||||
#[async_trait]
|
#[async_trait]
|
||||||
impl super::LspAdapter for LuaLspAdapter {
|
impl super::LspAdapter for LuaLspAdapter {
|
||||||
async fn name(&self) -> LanguageServerName {
|
async fn name(&self) -> LanguageServerName {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue