small change
This commit is contained in:
@@ -14,4 +14,5 @@ tokio = { version = "1.38.0", features = ["full"] }
|
|||||||
tokio-macros = "2.3.0"
|
tokio-macros = "2.3.0"
|
||||||
rand = "0.8.5"
|
rand = "0.8.5"
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
|
serde = "1.0.203"
|
||||||
lsp-types = "0.97.0"
|
lsp-types = "0.97.0"
|
||||||
@@ -1,12 +1,16 @@
|
|||||||
use once_cell::sync::Lazy;
|
use once_cell::sync::Lazy;
|
||||||
use regex::Regex;
|
use regex::Regex;
|
||||||
|
use serde::{Deserialize, Serialize};
|
||||||
use serde_json::{self, Value};
|
use serde_json::{self, Value};
|
||||||
|
|
||||||
use std::{
|
use std::{
|
||||||
fs::{self, File},
|
fs::{self, File},
|
||||||
io::{stdin, Read, Write},
|
io::{stdin, Read, Write},
|
||||||
path::Path,
|
path::Path,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pub fn run_method<F>(func: F) {}
|
||||||
|
|
||||||
pub fn run_lsp_server() {
|
pub fn run_lsp_server() {
|
||||||
if Path::new("/Users/klestiselimaj/work/wyst/log.txt").exists() {
|
if Path::new("/Users/klestiselimaj/work/wyst/log.txt").exists() {
|
||||||
fs::remove_file("/Users/klestiselimaj/work/wyst/log.txt");
|
fs::remove_file("/Users/klestiselimaj/work/wyst/log.txt");
|
||||||
|
|||||||
Reference in New Issue
Block a user