refactor: change lsp icons to nf-cod-symbol
where possible
This commit is contained in:
parent
b587baa728
commit
ca36a396e6
1 changed files with 3 additions and 3 deletions
|
@ -170,7 +170,7 @@ impl Lsp {
|
|||
#[inline]
|
||||
pub fn string(&self) -> &str {
|
||||
if self.enabled {
|
||||
return self.string.as_ref().map_or("", |string| string);
|
||||
return self.string.as_ref().map_or("", |string| string);
|
||||
}
|
||||
""
|
||||
}
|
||||
|
@ -178,7 +178,7 @@ impl Lsp {
|
|||
#[inline]
|
||||
pub fn number(&self) -> &str {
|
||||
if self.enabled {
|
||||
return self.number.as_ref().map_or("", |number| number);
|
||||
return self.number.as_ref().map_or("", |number| number);
|
||||
}
|
||||
""
|
||||
}
|
||||
|
@ -210,7 +210,7 @@ impl Lsp {
|
|||
#[inline]
|
||||
pub fn key(&self) -> &str {
|
||||
if self.enabled {
|
||||
return self.key.as_ref().map_or("", |key| key);
|
||||
return self.key.as_ref().map_or("", |key| key);
|
||||
}
|
||||
""
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue