Commit Graph

  • a613da65e2 Refactoring: Extract s:RenderExCommandWithVal() Ingo Karkat 2021-06-08 21:56:08 +02:00
  • 027704c0d5 Add ingo#window#iterate#AllWithErrorsEchoed() variant of ...#All() Ingo Karkat 2021-06-08 21:46:56 +02:00
  • 53e9ecc545 Replace :noautocmd windo with temporary additions of relevant events to 'eventignore' Ingo Karkat 2021-06-08 15:36:41 +02:00
  • 73ecedd7db Don't execute a:Action with :noautocmd :keepjumps Ingo Karkat 2021-06-08 15:26:43 +02:00
  • 151e3a943e ENH: Allow interpolation of v:val in String action Ingo Karkat 2021-06-08 13:24:38 +02:00
  • 899b9a1a6b FIX: Need to actually turn a:action into a string for win_execute execution Ingo Karkat 2021-06-08 13:22:54 +02:00
  • 09b7329788 Refactoring: Extract l:isFuncref flag Ingo Karkat 2021-06-08 13:21:32 +02:00
  • 696f14e8d4 Documentation: Add ingo/window/iterate.vim module Ingo Karkat 2021-06-07 21:40:21 +02:00
  • e020305faa Compatibility: Add alternative ingo#window#iterate#All() implementation that uses win_execute() instead of :windo Ingo Karkat 2021-06-07 21:35:47 +02:00
  • c0994dade4 Optimization: Skip the save / restore if there's only one window Ingo Karkat 2021-06-07 21:27:20 +02:00
  • dc6b2c26b2 Add ingo#window#iterate#All() Ingo Karkat 2021-06-07 21:25:07 +02:00
  • dd90ef1ed9 Add ingo#escape#mapping#keys() Ingo Karkat 2021-03-22 10:39:27 +01:00
  • 39b0592b8d dirforaction: ENH: Add a:parameters.completeFunctionHook Ingo Karkat 2021-03-16 13:50:11 +01:00
  • 1b6002acd0 dirforaction: BUG: Passed filenames with escaped glob characters not handled correctly; need to use the unescaped filename for l:isAbsoluteFilename check Ingo Karkat 2021-03-10 19:35:28 +01:00
  • 4196829a5b Refactoring: Minor: Define l:unescapedFilename also when l:filename is set and reuse the variable for s:ResolveDirspecs() Ingo Karkat 2021-03-10 19:34:45 +01:00
  • d62e4c0206 Add ingo#window#special#HasOtherDiffWindow() variant of ingo#window#special#HasDiffWindow() Ingo Karkat 2021-03-09 21:10:07 +01:00
  • 8845fbfb49 ingo#plugin#rendered#ListJoinedOrBraceExpression(): Consider short option including isIgnoreCase and separately offer ignorecase toggling, too Ingo Karkat 2021-02-21 22:13:01 +01:00
  • 550cb1837a ingo#subs#BraceCreation#FromList(): Allow override of short option defaults Ingo Karkat 2021-02-21 21:59:10 +01:00
  • 9f804488d1 ingo#subs#BraceCreation#FromList(): Include isIgnoreCase in short option Ingo Karkat 2021-02-21 21:54:33 +01:00
  • 9f2a177257 ingo#subs#BraceCreation#FromList(): FIX: Wrong variable scope Ingo Karkat 2021-02-21 21:43:20 +01:00
  • c1170e7d9a Add optional a:isIgnoreCase argument to ignore case differences when searching for common substrings Ingo Karkat 2021-02-21 21:38:32 +01:00
  • eba8c73c9e ingo#list#lcs#FindAllCommon(): Documentation: List of prefix, suffix is also taken Ingo Karkat 2021-02-21 19:52:00 +01:00
  • 76bc5d19e0 Cosmetics: Remove changelog Ingo Karkat 2020-12-21 08:33:33 +01:00
  • f282d5f135 Add ingo#hlgroup#Get{Foreground,Background,}Color() Ingo Karkat 2020-12-21 08:33:10 +01:00
  • 7b3f6e1e62 ingo#hlgroup#LinksTo(): Reimplementation: Use synIDattr(..., 'name') Ingo Karkat 2020-12-21 08:26:33 +01:00
  • 2150ac462b ingo#cmdargs#glob#IsSpecialFile(): Compatibility: Avoid E706: Variable type mismatch for l:SpecialFileReadablePredicate in Vim 7.4.888 Ingo Karkat 2020-11-21 20:59:30 +01:00
  • ae5443aa73 - Deprecated: ingo#subst#expr#emulation#Substitute() is now available as a compat function ingo#compat#substitution#RecursiveSubstitutionExpression() Ingo Karkat 2020-10-20 21:34:11 +02:00
  • 00d43284d7 Add ingo#buffer#IsWritable() Ingo Karkat 2020-10-20 12:02:18 +02:00
  • 50ccb9517f ingo#compat#maparg(): Avoid "E121: Undefined variable: rhs" / "E716: Key not present in " Dictionary: rhs" in case empty / non-existing a:name is passed Ingo Karkat 2020-10-15 22:03:46 +02:00
  • 19bdfab50c Revert "Add ingo#compat#mapping#MetaShift()" Ingo Karkat 2020-09-28 10:56:03 +02:00
  • 597ecc9425 ingo#compat#mapping#MetaShift(): S- must only be used with GTK UI, as this doesn't work with Windows GVIM Ingo Karkat 2020-09-21 21:24:07 +02:00
  • ac3306f870 Add ingo#compat#mapping#MetaShift() Ingo Karkat 2020-09-21 15:53:08 +02:00
  • 3980e83c1b FIX: ingo#cmdargs#file#FileOptionsAndCommandsToEscapedExCommandLine(): Unescape cmdline-special symbols and backslashes first Ingo Karkat 2020-09-18 20:24:34 +02:00
  • 55e7dedb2a Add ingo#escape#file#CmdlineSpecialEscape() Ingo Karkat 2020-09-18 19:26:52 +02:00
  • 9cbe3665af ingo#subs#apply#FlexibleExpression(): Documentation: Add note on handling List result from passed expression Ingo Karkat 2020-09-05 15:35:31 +02:00
  • 79ded65509 ingo#subs#apply#FlexibleExpression(): Allow filtering and adding of processed matches / splits by having expression return a List Ingo Karkat 2020-09-05 12:29:55 +02:00
  • c528682c67 ingo#subs#apply#FlexibleExpression(): Allow filtering and adding of processed individual lines by having expression return a List Ingo Karkat 2020-09-05 12:26:17 +02:00
  • e278b0b556 Add ingo#subs#apply#FlexibleExpression() Ingo Karkat 2020-09-04 21:44:34 +02:00
  • 922991091d Minor: Actually support no-argument form of ingo#query#get#[Writable]Register() Ingo Karkat 2020-09-03 15:52:45 +02:00
  • 58ea8a4d21 Housekeeping: Git-ignore tags to suppress "untracked content" after running :helptags Ingo Karkat 2020-08-18 09:53:44 +02:00
  • 56ba2f1020 Merge tag '1.042' Ingo Karkat 2020-08-03 16:41:34 +02:00
  • 401dd7329b Merge branch 'release/1.042' into stable 1.042 Ingo Karkat 2020-08-03 16:41:21 +02:00
  • 0430717262 Release 1.042 Ingo Karkat 2020-08-03 16:40:01 +02:00
  • c4ea0e478d ingo#text#frompattern#GetCurrent(): Add a:options.returnValueOnNoSelection Ingo Karkat 2020-07-18 15:23:59 +02:00
  • 42cbfdb9db ingo#text#frompattern#GetCurrent() CHG: Turn a:currentPos argument into a:options Ingo Karkat 2020-07-18 15:21:16 +02:00
  • f101455219 ingo#area#frompattern#GetCurrent() adds optional a:options.firstLnum and a:options.lastLnum Ingo Karkat 2020-07-18 15:07:06 +02:00
  • f8ae89c7c1 ingo#area#frompattern#GetCurrent(): CHG: Turn a:returnValueOnNoSelection, a:currentPos arguments into a:options Ingo Karkat 2020-07-18 14:54:39 +02:00
  • b6a4807840 Documentation: FIX: Minor: Use correct corresponding function (copy-and-paste error) Ingo Karkat 2020-07-18 14:53:57 +02:00
  • 787ec5c062 Add ingo#change#processed#NetChange() Ingo Karkat 2020-07-02 21:07:08 +02:00
  • 63a86da00c Expose ingo#mapmaker#OpfuncExpression(); it can avoid duplication of ...#Expression() functions in many plugins Ingo Karkat 2020-07-02 21:00:29 +02:00
  • 84454dbee0 Housekeeping: Add GitHub issue templates Ingo Karkat 2020-06-17 21:51:21 +02:00
  • 4f4fddf81b ingo#plugin#cmdcomplete#dirforaction#setup(): Compatibility: Avoid "E693: Can only compare Funcref with Funcref" Ingo Karkat 2020-06-12 10:49:59 +02:00
  • 2a04d9fdce Add ingo#text#InsertHere() Ingo Karkat 2020-05-29 21:36:09 +02:00
  • a19ccba25f Add ingo#regexp#collection#LargeRange() Ingo Karkat 2020-05-14 19:10:43 +02:00
  • 75599b19f7 Cosmetics: Remove changelog Ingo Karkat 2020-05-06 21:50:18 +02:00
  • bd4f51b5b6 Support List of precisions in ingo#units#Format() and default to not showing a fraction for bytes in ingo#units#FormatBytesDecimal() and ingo#units#FormatBytesBinary() Ingo Karkat 2020-05-06 21:49:38 +02:00
  • 2d6c30a44e BUG: ingo#join#Lines() inserts the separator before the line's last character when joining with a following empty line and a:isKeepSpace Ingo Karkat 2020-04-01 09:26:18 +02:00
  • afa60d7718 Merge tag '1.041' Ingo Karkat 2020-03-12 13:41:35 +01:00
  • 2486b5531d Merge branch 'release/1.041' into stable 1.041 Ingo Karkat 2020-03-12 13:41:23 +01:00
  • 26da914779 Release 1.041 Ingo Karkat 2020-03-12 13:40:24 +01:00
  • 69604afd81 Cosmetics: Delete changelog and dependency Ingo Karkat 2020-03-10 16:49:57 +01:00
  • 8a113147ea FIX: Also include unprintable characters (e.g. ^G) in ingo#cmdargs#command#DelimiterExpr() Ingo Karkat 2020-03-10 16:25:21 +01:00
  • 6d0cf1cf32 Tests: Add coverage for ingo#smartcase#IsSmartCasePattern() and ingo#smartcase#Undo() Ingo Karkat 2020-03-10 16:07:15 +01:00
  • ace1bea7fa Cosmetics: Delete changelog Ingo Karkat 2020-03-10 15:50:41 +01:00
  • 8290b2e1b6 FIX: ingo#smartcase#IsSmartCasePattern() and ingo#smartcase#Undo() now also handle the smartcased single all-lower or -uppercase alphabetic word special case Ingo Karkat 2020-03-10 15:50:03 +01:00
  • d132e1aecf Add ingo#collections#{CharacterCount,StringDisplayWidth}{Asc,Desc}Sort() Ingo Karkat 2020-03-06 16:11:40 +01:00
  • b26c35353b Add ingo#list#merge#Distinct() Ingo Karkat 2020-03-06 11:49:43 +01:00
  • a379b873fe Cosmetics: Simplify dependencies Ingo Karkat 2020-03-06 09:52:27 +01:00
  • dbf8f9f489 Documentation: Mention inverse function for ingo#collections#SeparateItemsAndSeparators() Ingo Karkat 2020-03-06 09:51:40 +01:00
  • d32edb4f5e Documentation: Mention changes to ingo#regexp#deconstruct#ToQuasiLiteral() and added deconstruction functions Ingo Karkat 2020-03-06 09:14:19 +01:00
  • d9644ec9de Add ingo#regexp#deconstruct#{TranslateSingleCharacter,RemoveOther}Atoms() and also use those in ingo#regexp#deconstruct#ToQuasiLiteral() Ingo Karkat 2020-03-06 09:10:18 +01:00
  • 41f6bedb1d Refactoring: Extract ingo#regexp#parse#EscapedCharacterExpr() out of ingo#regexp#parse#OtherAtomExpr() Ingo Karkat 2020-03-06 09:01:31 +01:00
  • 6d42695d9c Tests: Add coverage for regexp parsing Ingo Karkat 2020-03-05 18:02:18 +01:00
  • b50d21c184 Refactoring: Extract ingo#regexp#parse#CharacterClassesExpr() and ingo#regexp#parse#OptionalSequenceExpr() Ingo Karkat 2020-03-05 18:00:00 +01:00
  • 86ef95936c CHG: Rename new atoms module to parse and move ingo#regexp#multi#Expr() to ingo#regexp#parse#MultiExpr() Ingo Karkat 2020-03-05 16:34:14 +01:00
  • 44845b81a2 Add ingo#regexp#atoms#{NumberEscapes,Branches,OtherAtom,NonOrdinaryAtom}Expr() Ingo Karkat 2020-03-05 16:19:56 +01:00
  • 76a7120268 Refactoring: Extract ingo#regexp#atoms#PositionAtomExpr() Ingo Karkat 2020-03-05 14:54:42 +01:00
  • c50ec0a2c2 ingo#plugin#cmdcomplete#dirforaction#setup(): ENH: Use special completion that only returns directories if a:parameters.action is "chdir" Ingo Karkat 2020-03-04 08:31:16 +01:00
  • e6cca1d075 Documentation: ingo#plugin#cmdcomplete#dirforaction#setup(): ENH: Use special completion that only returns directories if a:parameters.action is "chdir" Ingo Karkat 2020-03-03 22:12:24 +01:00
  • 58a403d030 ENH: Use special completion that only returns directories if a:parameters.action is "chdir" Ingo Karkat 2020-03-03 22:08:12 +01:00
  • f9b0b5b879 Refactoring: Add a:isReturnRawFilespecs to s:CompleteFiles() Ingo Karkat 2020-03-03 22:07:14 +01:00
  • 3ec5663361 Refactoring: Extract s:ResolveDirspecsToList() Ingo Karkat 2020-03-03 22:06:01 +01:00
  • 944c7683ba FIX: Don't concatenate dirspec and filename if the latter is absolute Ingo Karkat 2020-03-03 21:28:25 +01:00
  • b7a097bb2c WIP: Pass a:isAllowOtherDirs into s:Command() and check whether the passed filename conforms to it Ingo Karkat 2020-03-03 21:22:53 +01:00
  • 9934de8a2f FIX: Keep ../ prefix when completing upwards directories Ingo Karkat 2020-03-03 21:16:55 +01:00
  • 724f82a4f1 FIX: Need to unescape filename passed to s:ResolveDirspecs() Ingo Karkat 2020-03-03 20:50:48 +01:00
  • 8464fcb3e4 FIX: Don't complete subdirectories of a:dirspecs when argLead already contains a path Ingo Karkat 2020-03-03 20:32:51 +01:00
  • af1f9d3d11 Add ingo#fs#path#IsPath() Ingo Karkat 2020-03-03 20:17:03 +01:00
  • a4c8649ee3 ingo#fs#path#split#PathAndName(): Handle special cases and add tests Ingo Karkat 2020-03-03 20:03:39 +01:00
  • 2127f78d4f FIX: Also complete absolute argLead directories when a:isIncludeSubdirs is false Ingo Karkat 2020-03-03 17:47:08 +01:00
  • e35875cf4c ingo#plugin#cmdcomplete#dirforaction#setup(): Align generated function names and global context variable name Ingo Karkat 2020-03-03 15:54:47 +01:00
  • 3904aa1f32 Add ingo#plugin#cmdcomplete#dirforaction#setup() Ingo Karkat 2020-03-01 19:47:15 +01:00
  • 901c730665 Housekeeping: Add autoload/ingo/plugin/cmdcomplete/dirforaction.vim to manifest Ingo Karkat 2020-03-01 19:46:41 +01:00
  • 91d794df99 Documentation: Add ingo#plugin#cmdcomplete#dirforaction#setup() Ingo Karkat 2020-03-01 19:46:32 +01:00
  • e143a4bf51 Cosmetics: Delete changelog Ingo Karkat 2020-03-01 19:44:57 +01:00
  • d01606acf7 Renaming: Correct file header and autoload function name after importing into ingo-library Ingo Karkat 2020-03-01 19:43:38 +01:00
  • 60683a72b7 Adapt: Need to check <count> == -1 instead of <line2> to support current line as well as a lnum of 0 (since Vim 8.1.1241) Ingo Karkat 2020-01-30 00:00:00 +01:00
  • c16ee2da52 Ingo Karkat 2020-01-30 00:00:00 +01:00
  • 838741f999 Ingo Karkat 2018-12-01 00:00:00 +01:00
  • 5784c3d834 ENH: Add a:options.isAllowOtherDirs to configure handling of absolute argleads Ingo Karkat 2017-08-23 00:00:00 +02:00