Commit Graph

6 Commits

Author SHA1 Message Date
Foo-x
d712063aa0
Closes #4483: migrate to eslint (#8702) 2023-12-22 20:16:43 -05:00
Jason Fields
5a2dc0210d Simplify tslint.json by extending tslint:recommended
As a side-effect, our linting just got substantially stricter, and this had to be a pretty wide-reaching change to comply. Sorry if this complicates any merges!
2021-03-05 20:20:44 -05:00
rebornix
3d0e91e2da Polyfill OS/Process/setImmediate 2021-02-01 16:19:31 -08:00
rebornix
b5d17c6a59 off load vimrc module in web. 2021-01-29 14:23:12 -08:00
Jason Fields
8a15cdb842 Make getAndUpdateModeHandler return undefined when there is no active editor
This means `vimState.editor` should never be undefined - now we should start using that instead of `vscode.window.activeTextEditor` to avoid a whole bunch of pesky race conditions.
Refs #5663
2020-11-16 14:58:05 -05:00
Peng Lyu
c900a7eaa8
Nodeless entry for Vim extension (#5130)
Add a new entry for running Vim in nodeless environment and load platform-specific modules based on the target.

This PR includes changes to:
- fs. In node, it's node's native fs; in nodeless, it uses vscode.workspace.fs.
- historyFile. In node, it stores the history in file system; in nodeless, it stores in memory.
- logger. In node, it uses winson; in nodeless, it uses browser console.
- lastly, it relies on Webpack to tree shake unwanted code paths (for example, remove nvim related code paths from the bundle in nodeless environment).
2020-09-20 13:57:38 -04:00