Commit Graph

5940 Commits

Author SHA1 Message Date
renovate[bot]
53e699ca11
Update dependency @types/node to v12.20.33 (#7172) 2021-10-19 13:04:13 -04:00
renovate[bot]
7382a24e19
Update dependency fork-ts-checker-webpack-plugin to v6.3.4 (#7173)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-19 12:52:53 -04:00
Jason Fields
94503c480e bump version 2021-10-19 12:39:51 -04:00
Jason Fields
c0f19a145f Make :ex an alias for :e[dit] and :exi[t] an alias for :x[it] 2021-10-19 12:36:14 -04:00
Jason Fields
37d2d0d864 Fix argument parsers for buffer/tab ex commands
Fixes #7171
2021-10-19 12:19:27 -04:00
Jason Fields
007872ab63 Implement :ce[nter] 2021-10-19 03:01:11 -04:00
Jason Fields
9ee8edf481 Implement :ri[ght] 2021-10-19 02:45:12 -04:00
Jason Fields
af9fd5a26b Remove stray debug logging in test case 2021-10-19 02:23:30 -04:00
Jason Fields
987d998d06 Implement :le[ft] 2021-10-19 02:20:43 -04:00
Jason Fields
f4b06cfff6 bump version 2021-10-18 17:46:52 -04:00
Jason Fields
2350984fd7 Throw E488 ("trailing characters") if an ex command's arguments fail to parse
This is inexact and should be improved in the future, but at least this error will be displayed nicely.
2021-10-18 13:31:50 -04:00
Jason Fields
83b9792fa6 Implement gO, which shows the file outline 2021-10-16 22:06:56 -04:00
Jason Fields
71d9c1670f Implement a few simple ex commands
- `:p[rint]` and friends (arguments still unsupported)
- `:te[rminal]`
- `:asc[ii]`
2021-10-16 21:00:43 -04:00
Jean Pierre
3d37bb4898
Load process polyfill automatically, required by util (#7156)
Fixes #7150
2021-10-15 11:01:11 -04:00
Jason Fields
cf6673f2c1 Add :up[date] as alias for :w[rite] 2021-10-15 02:27:00 -04:00
Jason Fields
aaee7e2cbe Don't throw exception if a pattern fails to parse 2021-10-15 00:42:54 -04:00
Jason Fields
0eb3d1d950 Fix bug in new Pattern implementation that would cause it to miss one match 2021-10-14 23:36:56 -04:00
Jason Fields
10e554f4e5 Refactor ex command argument parsing
We're now using Parsimmon for ex command arguments, which allows for much better, more complicated argument parsing.
A handful of cases work now that didn't before, but I probably broke some as well - this still requires quite a lot more work.
Fixes #5888, fixes #5859, fixes #7058
2021-10-14 22:46:06 -04:00
Jason Fields
8aa78b21cf Prettier 2021-10-14 17:09:15 -04:00
Jason Fields
5d25171edc
Create SECURITY.md
Fixes #6219
2021-10-14 16:17:51 -04:00
Jason Fields
0922abbbe0 Remove broken link to "Linux setup" section in README
Fixes #7080
2021-10-14 14:06:51 -04:00
Jason Fields
e9df5b7b11 Backticks around key in error message 2021-10-14 14:04:42 -04:00
Jason Fields
27b915808f Enable forceConsistentCasingInFileNames in tsconfig
See www.typescriptlang.org/tsconfig#forceConsistentCasingInFileNames
2021-10-14 01:10:15 -04:00
Jason Fields
f86cacb5bc Fix <C-^> when working with files outside the workspace
Absolute paths need to be handled differently.
Fixes #6679
2021-10-14 00:50:09 -04:00
hellorayza
0f5734054d
Update ROADMAP.ZH.md (#7137)
Co-authored-by: Jason Fields <jasonfields4@gmail.com>
2021-10-11 15:26:15 -04:00
J.R. Maingat
3a0f14d1f4
Add actions for increasing/decreasing pane width/height with <C-w> +/-, >/< (#7138)
Fixes #2044
2021-10-07 00:12:31 -04:00
berknam
a7f71a1a53 Fix mouse selection not selecting last character of line
Fixes #4039, fixes #3260
2021-10-06 03:12:00 -04:00
renovate[bot]
f64d698681
Update dependency @types/node to v12.20.28 (#7134)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-06 00:26:19 +00:00
renovate[bot]
312bedec77
Update dependency webpack to v5.57.1 (#7133)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-05 16:19:38 -04:00
renovate[bot]
4c10e49679
Update dependency webpack to v5.57.0 (#7131)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-05 12:26:21 -04:00
Joe Crop
af52449166
:w! should not permanently change file permissions (#7092)
- In proper vim fashion, force-writing a file should not change the permissions of the file permanently
- When making a file writable (now temporarily), the chmod value should be octal, but was decimal
Fixes #6553
2021-10-05 00:45:50 -04:00
Shinichi Katayama
112a3b7fc1
Evaluate configuration.iskeyword whenever it's needed (#7126)
This ensures correct behavior when the setting is changed or when switching between languages.
Fixes #7123
2021-10-04 18:59:59 -04:00
renovate[bot]
8f0462958b
Update dependency webpack to v5.56.1 (#7127)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-04 10:19:40 +00:00
Jason Fields
61ed5637ce Significant refactor of search system and :s[ubstitute]
Central to this refactor is a rationalization of pattern parsing - we now have an immutable`Pattern` class with its own Parsimmon parser; it's now used everywhere.

A few enhancements, such as supporting `/{pattern}/` as line specifier in line range

And some bugs fixed:
- `\n` now expands to `\r?\n` (to work with CRLF files)
- `\<` and `\>` (word boundaries) are now mapped to `\b`

Refs #3996
2021-10-03 00:09:05 -04:00
J.R. Maingat
0c6a84a349
Fix bang (:!) command with ranges (#7122)
Line range tests didn't catch the recent regression
where selection ranges were ignored in the bang command.

Fixes #3136 (again)
2021-10-02 20:10:56 -04:00
Jason Fields
be298cfc3a Refactor parsing of ex command names; complete list of builtins 2021-10-02 19:46:59 -04:00
renovate[bot]
62003a76ec
Update dependency webpack to v5.56.0 (#7121)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-01 16:19:54 +00:00
renovate[bot]
2fbffbabdf
Update dependency webpack to v5.55.1 (#7119)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 10:26:39 +00:00
rebornix
4a7da4d17c
bump version 2021-09-28 17:20:22 -07:00
renovate[bot]
cb8b1de818
Update dependency vsce to v1.100.1 (#7116)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-28 20:55:18 +00:00
renovate[bot]
a69989c843
Update dependency webpack to v5.55.0 (#7117)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-28 19:57:57 +00:00
renovate[bot]
694d4fc8d3
Update dependency @types/lodash to v4.14.175 (#7114)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 22:46:52 +00:00
renovate[bot]
6810126aaa
Update dependency @types/node to v12.20.27 (#7113)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-25 13:43:09 +00:00
renovate[bot]
963dfef19a
Update dependency mocha to v9.1.2 (#7112)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-25 12:08:27 +00:00
renovate[bot]
2d221c06b5
Update dependency @types/sinon to v10.0.4 (#7111)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-25 01:38:50 -04:00
renovate[bot]
b2cec30724
Update dependency @types/lodash to v4.14.174 (#7110)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-25 04:39:44 +00:00
renovate[bot]
4dd19db497
Update dependency webpack to v5.54.0 (#7109)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-24 22:04:53 +00:00
renovate[bot]
2da276357d
Update dependency vsce to v1.100.0 (#7104)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-22 15:03:09 +00:00
renovate[bot]
936ec964a4
Update dependency @types/node to v12.20.26 (#7101)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-21 22:16:06 +00:00
renovate[bot]
a7541c8145
Update dependency @types/sinon to v10.0.3 (#7098)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-21 03:51:04 +00:00