mirror of
https://github.com/latex-lsp/texlab.git
synced 2025-12-23 09:19:21 +00:00
Always reload log files whenever they change
This commit is contained in:
parent
1265f8965a
commit
95efdb138b
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ pub trait Workspace: Send + Sync {
|
|||
fn reload(&self, path: PathBuf) -> Result<Option<Arc<Document>>> {
|
||||
let uri = Arc::new(Uri::from_file_path(path.clone()).unwrap());
|
||||
|
||||
if self.is_open(&uri) {
|
||||
if self.is_open(&uri) && !uri.as_str().ends_with(".log") {
|
||||
return Ok(self.get(&uri));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue