]> git.lizzy.rs Git - rust.git/commit
Allow syntax tree to update when changing files
authorVille Penttinen <villem.penttinen@gmail.com>
Sun, 3 Mar 2019 20:03:37 +0000 (22:03 +0200)
committerVille Penttinen <villem.penttinen@gmail.com>
Sun, 3 Mar 2019 20:03:37 +0000 (22:03 +0200)
commit0db95fc812d2c839e847527b774dfda170266cec
tree89f05d9798cf77a2798ff5fd643649cbb9071e77
parent1b4e0ec1c868c7f2a0eef1e59bfa382db85a6900
Allow syntax tree to update when changing files

Previously when using the file based syntax tree, it would not update until a
change had been made in the new file. Now we automatically update the syntax
tree to match the current file.
editors/code/src/events/change_active_text_editor.ts
editors/code/src/extension.ts