Add hover test and tweak dismiss logic
This commit is contained in:
parent
1da1853a76
commit
dddfc7beae
5 changed files with 410 additions and 28 deletions
|
@ -571,6 +571,10 @@ impl Language {
|
|||
&self.config.brackets
|
||||
}
|
||||
|
||||
pub fn path_suffixes(&self) -> &[String] {
|
||||
&self.config.path_suffixes
|
||||
}
|
||||
|
||||
pub fn should_autoclose_before(&self, c: char) -> bool {
|
||||
c.is_whitespace() || self.config.autoclose_before.contains(c)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue