pub struct LspServerConfig {
pub command: String,
pub args: Vec<String>,
pub language_id: String,
pub extensions: Vec<String>,
}Expand description
Language server configuration for a specific language.
Fields§
§command: String§args: Vec<String>§language_id: String§extensions: Vec<String>Implementations§
Source§impl LspServerConfig
impl LspServerConfig
Sourcepub fn detect_available() -> Vec<Self>
pub fn detect_available() -> Vec<Self>
Detect available language servers on the system.
Trait Implementations§
Source§impl Clone for LspServerConfig
impl Clone for LspServerConfig
Source§fn clone(&self) -> LspServerConfig
fn clone(&self) -> LspServerConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LspServerConfig
impl RefUnwindSafe for LspServerConfig
impl Send for LspServerConfig
impl Sync for LspServerConfig
impl Unpin for LspServerConfig
impl UnsafeUnpin for LspServerConfig
impl UnwindSafe for LspServerConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more