Commit Graph

5170 Commits

Author SHA1 Message Date
rebornix
52a96c684e bump version 2020-11-30 08:58:12 -08:00
rebornix
756afc9a08 update extensionKind priority. 2020-11-29 18:04:36 -08:00
rebornix
ac5c77f68e bump version 2020-09-25 15:48:47 -07:00
rebornix
bc54d447ea fix #5212. 2020-09-25 14:17:44 -07:00
Dale Vaillancourt
c244bc61f4
Make getConfiguration use the document languageId (#5245)
Now settings which have been modified for a particular file type will be respected by VSCodeVim.
Fixes #4503
This required updating to @types/vscode 1.42, which appears to be the earliest version that supports this API.
2020-09-25 14:45:27 -04:00
Jason Fields
77e10787c9 Use file URI scheme in implementation of existsAsync for node
Fixes #5220, fixes #5229
Credit to @hy2k for pointing this out
2020-09-25 14:32:44 -04:00
rebornix
8894fa6a60 VERSION is not accepted by marketplace, use .txt. 2020-09-22 16:31:25 -07:00
rebornix
76493d845b bump version 2020-09-22 15:09:49 -07:00
rebornix
a0c7ac3a0d publish with web. 2020-09-22 14:49:15 -07:00
rebornix
b774b99b93 update entry file & publish steps 2020-09-22 12:42:41 -07:00
Jason Fields
fd4807b45d Remove/change deprecated Travis options 2020-09-21 01:57:17 -04:00
Jason Fields
d5b2924697 Another attempt at a beta release
Creating .vsix needs to happen in deploy step
Refs #5178
2020-09-21 01:43:35 -04:00
Jason Fields
77e572134f Attempt at setting up a beta GitHub release
Refs #5178
2020-09-21 01:25:03 -04:00
Jason Fields
f18dde3ed9 Allow vim.editVimrc command to be run when no editor is open 2020-09-20 19:44:13 -04:00
renovate[bot]
f8ba743c68
chore(deps): pin dependency event-stream to 4.0.1 (#5203)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-20 19:49:38 +00: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
renovate[bot]
dad9c847ce
chore(deps): update dependency ts-loader to v8.0.4 (#5200)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-19 07:25:21 +00:00
renovate[bot]
7bf96233de
chore(deps): update dependency typescript to v4.0.3 (#5199)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-18 21:54:27 +00:00
renovate[bot]
a4365a7acb
chore(deps): update dependency webpack to v4.44.2 (#5195)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-18 01:11:32 +00:00
renovate[bot]
b746f50da6
chore(deps): update dependency prettier to v2.1.2 (#5190)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-16 02:30:30 +00:00
Risto McIntosh
f80afd6b8a
Fix key binding typo in README (#5183) 2020-09-15 14:54:25 -04:00
Ayman Bagabas
b348e08bb7
Add support for smartRelativeLine (#5010)
Adds support for smartRelativeLine, which toggles VSCode's line numbers between absolute and relative depending on the current mode.
Fixes #3020
2020-09-15 12:19:56 -04:00
renovate[bot]
374d21c8d8
Update dependency pretty-quick to v3.0.2 (#5175)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-11 00:48:11 +00:00
renovate[bot]
714071ab75
Update dependency pretty-quick to v3.0.1 (#5174)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-10 04:36:15 +00:00
renovate[bot]
b85eb6eb48
Update dependency webpack-merge to v5.1.4 (#5172)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-09 08:49:34 +00:00
sql-koala
caa8b6368e
Folding: fix a few bugs & small refactor (#5169)
Fixes #5167, fixes #5168
2020-09-08 02:23:50 -04:00
renovate[bot]
4983b3a20c
chore(deps): update dependency husky to v4.3.0 (#5170)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-07 11:27:38 +00:00
Jason
691cb77469 Improvements to .vimrc syntax highlighting 2020-09-04 02:50:41 -04:00
Jason Fields
5b89cec1c2 vimrc: support for toggling comments 2020-09-01 16:43:23 -04:00
renovate[bot]
7275183a98
Update dependency webpack-stream to v6.1.0 (#5160)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-01 19:48:04 +00:00
renovate[bot]
73227d74b9
Update dependency webpack-merge to v5.1.3 (#5159)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-30 07:17:58 +00:00
renovate[bot]
f654eac9bb
Update dependency @types/lodash to v4.14.161 (#5157)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-29 02:12:58 +00:00
renovate[bot]
131bdf7a63
Update dependency mocha to v8.1.3 (#5155)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-28 21:53:11 +00:00
Jason Fields
523aca282c Make a handful of Loggers static
We were constructing several Loggers (each with a few transport streams) for each VimState.
I think these are relatively lightweight, but still - totally unnecessary. Should reduce memory usage a bit.
2020-08-28 13:01:53 -04:00
Jason Fields
86a97d53a9 Make EasyMotion TextEditorDecorationTypes static
No need to re-construct these every time a VimState is created
2020-08-28 01:43:18 -04:00
Jason Fields
3ceaa2f246 Refactor: make VimState.recordedMacro nullable (and rename to macro)
A macro is being recorded if VimState.macro is not undefined.
Most VimStates will never use a macro, so no sense constructing one eagerly.
2020-08-28 01:04:16 -04:00
Jason Fields
dfe5e3966c Remove VimState.registerName
This isn't used anywhere; the "active" register is held on RecordedState.
2020-08-28 00:25:41 -04:00
renovate[bot]
a8560c5f81
Update dependency webpack-stream to v6 (#5154)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-27 19:46:30 +00:00
Jason Fields
9cb685dc5d Put a Range instead of two Positions on ReplaceTextTransformation
This is a baby step toward #4585. Really, this Range should be a vscode.Range, but let's first bring ReplaceTextTransformation in line with other transformation types.
2020-08-27 12:22:35 -04:00
Jason Fields
1a55f891c7 Fix closing parameter hints
Tried to do this in fd3ae79d9a, but neglected that <Esc> in insert mode is handled by a different action.
2020-08-27 12:09:23 -04:00
Jason Fields
acbd84f1a6 Make SurroundState.range a vscode.Range
Refs #4585
2020-08-27 11:38:02 -04:00
Jason Fields
b982dbcef5 Typescript 4.0 adoption: fancy new assignment operators 2020-08-27 11:09:12 -04:00
Jason
fd3ae79d9a Call closeParameterHints when exiting insert mode
Occasionally the parameter hint popup would "stick" (I'm not totally sure why), but it should close when you leave insert mode, so let's make sure that's done explicitly.
2020-08-27 00:38:21 -04:00
renovate[bot]
64fb187114
Update dependency prettier to v2.1.1 (#5149)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-26 05:56:46 +00:00
renovate[bot]
9beac712fc
Update dependency mocha to v8.1.2 (#5148)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-25 20:36:12 +00:00
renovate[bot]
923b0d9cae
Update dependency @types/lodash to v4.14.160 (#5146)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-24 18:46:50 +00:00
renovate[bot]
bf9f406894
Update dependency prettier to v2.1.0 (#5144)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-24 15:11:29 +00:00
renovate[bot]
ee9a2c3cbc
Update dependency ts-loader to v8.0.3 (#5143)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-24 10:22:33 +00:00
renovate[bot]
eec9969c60
Update dependency @types/sinon to v9.0.5 (#5141)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-21 19:25:13 +00:00
Jason Fields
86d75fcd5e Surround refactor
Surround is one of the ugliest ducklings in the codebase; here's an attempt to make it a bit saner.
None of the structure has really changed (yet); most of this is just rearrangement, clean up, comments, etc.
Only real behavioral change is a reduction of the number of transformations done from 4 to 2 when deleting or changing a surrounding tag. I'm not sure why it was written as it was, and it still seems to work 🤞
2020-08-21 02:07:26 -04:00