Commit Graph

5890 Commits

Author SHA1 Message Date
dependabot[bot]
02b7264ca9
Bump nth-check from 2.0.0 to 2.0.1 (#7097)
Bumps [nth-check](https://github.com/fb55/nth-check) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/fb55/nth-check/releases)
- [Commits](https://github.com/fb55/nth-check/compare/v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: nth-check
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-20 19:40:18 -04:00
renovate[bot]
bd5e846813
Update dependency ts-loader to v9.2.6 (#7096)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-20 22:38:10 +00:00
Jason Fields
ecdac37576 Fix line ranges like 3,%, %,3, and 3,* 2021-09-16 23:11:19 -04:00
renovate[bot]
02218033a1
Update dependency webpack to v5.53.0 (#7091)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-16 15:58:06 +00:00
renovate[bot]
fe14a586eb
Update dependency prettier to v2.4.1 (#7090)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-16 11:01:56 +00:00
Jason Fields
43d62b5003 Slight cleanup of LineRange parser 2021-09-16 01:29:20 -04:00
WhiteSource Renovate
2ce6c12818
Pin dependency @types/parsimmon to 1.10.6 (#7088) 2021-09-15 22:57:56 -04:00
Jason Fields
22a1a66d91 Completely re-write core of ex command parser
Here's a refactor that's long overdue: ex command parsing.
We have (for some reason) been using a custom-built parser which is
incomplete, buggy, and complicated.
Now we're using Parsimmon, a parser combinator library.

This fixes a few bugs and implements a few small features, but it's
mostly a small step toward more complete support for Vimscript.

Some next steps:
  - Support patterns in LineRanges
  - Improve ex command argument parsing by using Parsimmon
  - Support comments, combining commands with `|`
2021-09-15 22:53:28 -04:00
renovate[bot]
19e20cbedb
Update dependency @types/lodash to v4.14.173 (#7087)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-16 01:01:31 +00:00
renovate[bot]
45403b3277
Update dependency @types/node to v12.20.25 (#7086)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-15 00:00:39 +00:00
Jason Fields
3d8827ad6d Support :substitute with the n flag (count matches, but don't substitute)
Fixes #7081
2021-09-13 17:04:39 -04:00
renovate[bot]
94a79f3b46
Update dependency typescript to v4.4.3 (#7077)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-10 18:52:15 -04:00
renovate[bot]
2bc20df8a2
Update dependency vsce to v1.99.0 (#7076)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-10 13:24:07 +00:00
renovate[bot]
867ec6f283
Update dependency webpack to v5.52.1 (#7075)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-10 11:03:02 +00:00
renovate[bot]
ffbb202979
Update dependency prettier to v2.4.0 (#7073)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-09 13:14:27 +00:00
renovate[bot]
1fcd1e2acd
Update dependency source-map-support to v0.5.20 (#7072)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-09 11:36:49 +00:00
Michael Ye
9a6ca3aeb3
Fix ROADMAP.md typo (#7066) 2021-09-07 11:48:53 -04:00
renovate[bot]
cad7c1158e
Update dependency @types/node to v12.20.24 (#7063)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-07 09:48:37 +00:00
renovate[bot]
ffb2fb7482
Update dependency vsce to v1.97.0 (#7060)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-06 15:22:42 +00:00
Jason Fields
e0a5276939 Refactor BaseAction.mustBeFirstKey out
An operator must be followed by a count, an operator (`dd`) or with a motion-like action.
This was, as far as I can tell, the use of `mustBeFirstKey`, so let's just encode that rule and drop the property.
Introducing `isNumber` for this feels a bit silly (I'll refactor later), but I think this is an improvement.
2021-09-05 22:00:32 -04:00
Jason Fields
ae52c4ece3 Slight refactor to make gn and gN (albeit janky) TextObjects 2021-09-05 21:54:47 -04:00
Jason Fields
6d5073a568 Make BaseAction.preservesDesiredColumn a readonly property, not a method 2021-09-05 17:07:21 -04:00
Jason Fields
6444396917 Fix I, c and s in Visual Block with multiple cursors 2021-09-05 16:26:22 -04:00
Renovate Bot
fecb75af21 Update dependency webpack-stream to v7 2021-09-04 17:29:36 -04:00
Jason Fields
795fcb4aa7 Replace vscode-test dependency with @vscode/test-electron 2021-09-04 16:41:00 -04:00
renovate[bot]
d38d537115
Update dependency webpack to v5.52.0 (#7054)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-03 12:21:05 -04:00
renovate[bot]
ff197e6e27
Update dependency fork-ts-checker-webpack-plugin to v6.3.3 (#7053)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-03 11:43:23 +00:00
renovate[bot]
fcac5c5424
Update dependency webpack to v5.51.2 (#7050)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-02 10:49:40 -04:00
renovate[bot]
6770cd0964
Update dependency clean-webpack-plugin to v4 (#7048)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-01 15:30:04 +00:00
Sandeep Somavarapu
dadcbda745
make vim strict ui extension (#7049) 2021-09-01 08:08:19 -07:00
renovate[bot]
f7ee801958
Update dependency vsce to v1.96.3 (#7046)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-01 13:37:26 +00:00
Jason Fields
23e5d3e252 File (uppercase) marks should be associated with a document, not an editor 2021-08-31 23:50:07 -04:00
Jason Fields
4685de445c Implement ]' and ['
Fixes #7041
2021-08-31 23:39:21 -04:00
renovate[bot]
94a073767f
Update dependency @types/node to v12.20.23 (#7044)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-31 20:25:02 -04:00
Jason Fields
cfa09d157f Disallow operator with mark across files with backtick
Forgot this in 10401bd1e0
2021-08-31 19:36:13 -04:00
Jason Fields
6fad5a1021 Refactor special marks
Moving these special cases into `getMark` ensures that:
- They work both with single quote and backtick
- They can be paired with an operator
- They can be referenced by ex commands
2021-08-31 19:28:29 -04:00
Jason Fields
224056289f Only show file mark in gutter of correct file 2021-08-31 16:52:41 -04:00
Jason Fields
10401bd1e0 Throw E20 if trying to use file mark with operator across files 2021-08-31 16:47:22 -04:00
renovate[bot]
81b501daa2
Update dependency @types/node to v12.20.22 (#7040)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-31 18:30:49 +00:00
w-cantin
ad98412528
Added documentation for all Vim Modes (#6945)
Fixes #5273
2021-08-31 01:03:40 -04:00
Jason Fields
c0474b3fa3 Refactor matchpairs to allow for pairs other than <,>
Refs #4855
2021-08-31 00:43:23 -04:00
sql-koala
19c2a02d36
Support matchpairs option for < and > (#5066)
Fixes #4855
2021-08-31 00:08:19 -04:00
Jason Fields
482cf9c518 bump version 2021-08-30 22:10:46 -04:00
Jason Fields
2bdf6c8487 Don't assume vimState.editor.visibleRanges is non-empty
Fixes #7027
2021-08-30 21:51:51 -04:00
Jason Fields
06ca186055 Move VimState.focusChanged into ModeHandler 2021-08-30 21:39:05 -04:00
Jason Fields
81d49f33c3 Refine type of VimState.lastVisualSelection.mode to only include Visual modes 2021-08-30 15:38:51 -04:00
Jason Fields
7d81f8905c Don't assume globalState.searchState exists, even if we're in SearchInProgress mode
This SHOULD be a safe assumption, but see #7038. This is more of a workaround than a proper fix.
Fixes #6343
2021-08-30 15:34:29 -04:00
renovate[bot]
850db3c57d
Update dependency vsce to v1.96.2 (#7036)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-30 11:02:47 -04:00
renovate[bot]
139ecf0edc
Update dependency mocha to v9.1.1 (#7032)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-28 15:49:57 +00:00
renovate[bot]
104cf4779a
Update dependency typescript to v4.4.2 (#7031)
For now, `--useUnknownInCatchVariables` is disabled
2021-08-26 23:05:13 -04:00