Commit Graph

  • 567e525f55 ingo#buffer#scratch#converted#Create(): Keep original 'modified' state after toggling Ingo Karkat 2019-07-24 15:28:23 +02:00
  • 0515aaf2f8 ingo#buffer#scratch#converted#Create(): CHG: Default toggle mapping to <LocalLeader><LocalLeader> Ingo Karkat 2019-07-24 15:27:46 +02:00
  • 5183557860 Add ingo#buffer#scratch#converted#Create() to convert buffer contents to a scratch buffer with the possibility to sync back and ingo#ftplugin#converter#builder#EditAsFiletype() that can be used by filetype plugins to edit one filetype in an intermediate different format Ingo Karkat 2019-07-24 15:04:16 +02:00
  • 77615dcddf Documentation: Suggest using :bwipe instead of :close Ingo Karkat 2019-07-24 15:01:00 +02:00
  • 6a6870e564 Refactoring: Make s:FilterBuffer() public Ingo Karkat 2019-07-24 14:55:14 +02:00
  • 578ac3139c Cosmetics: Remote duplicate unreachable return Ingo Karkat 2019-07-24 12:04:07 +02:00
  • 09b27ebf26 ingo#buffer#scratch#CreateWithWriter(): FIX: Need to actually configure a non-writable scratch buffer, too Ingo Karkat 2019-07-24 11:28:37 +02:00
  • 92112e713a ENH: Also support Funcref a:contentsCommand / a:scratchCommand for ingo#buffer#generate#Create() and ingo#buffer#scratch#Create\[WithWriter]() Ingo Karkat 2019-07-24 11:01:00 +02:00
  • ba5cf6b671 ingo#buffer#scratch#CreateWithWriter(): Support empty a:Writer Ingo Karkat 2019-07-23 22:17:28 +02:00
  • 5d8268c7dd Add optional a:NextFilenameFuncref to ingo#buffer#scratch#Create\[WithWriter]() Ingo Karkat 2019-07-23 21:48:32 +02:00
  • 8d8084e4d3 Add ingo#text#Replace(), a more generic variant of ingo#text#Remove() Ingo Karkat 2019-07-12 11:46:03 +02:00
  • f642a8376a ENH: Minor: Make ingo#cursor#StartInsert() isAtEndOfLine argument optional Ingo Karkat 2019-07-11 23:46:51 +02:00
  • e62b5119e2 Add ingo#selection#Get{Ex,In}clusiveEndPos() Ingo Karkat 2019-07-11 22:56:34 +02:00
  • 19df426b3d Add ingo#area#frompattern#GetCurrent() and ingo#text#frompattern#GetCurrent(), variants of ...#GetAroundHere() Ingo Karkat 2019-07-11 16:58:17 +02:00
  • acc0e32ad2 Add ingo#pos#Sort() Ingo Karkat 2019-07-11 13:50:02 +02:00
  • ac6a031c6d Add ingo#funcref#UnaryIdentity() Ingo Karkat 2019-07-11 08:34:54 +02:00
  • cd2a326868 Add ingo#window#special#HasDiffWindow() Ingo Karkat 2019-07-10 19:20:04 +02:00
  • beb5e66c0e Renaming: Consistently use a:record instead of a:dict Ingo Karkat 2019-07-10 19:13:18 +02:00
  • f5458782ca ingo#window#switches#WinSaveCurrentBuffer(): ENH: Also record the current tabpage if the new a:isSaveTabPages is true Ingo Karkat 2019-07-10 19:12:41 +02:00
  • dfd64e4dd7 ingo#window#switches#WinRestoreCurrentBuffer(): ENH: Also search in other tabpages if the new a:isSearchTabPages is true Ingo Karkat 2019-07-10 19:05:43 +02:00
  • a0ab39241a ingo/window/locate.vim: ENH: Support special a:winVarName of "bufnr" that + allows searching for bufnr instead of window-local variables Ingo Karkat 2019-07-10 19:01:46 +02:00
  • e7cc1815df Add ingo#register#IsWritable() Ingo Karkat 2019-07-10 16:41:12 +02:00
  • 7a786d435f Add ingo#buffer#scratch#CreateWithWriter(), a variant of ingo#buffer#scratch#Create() that supports custom persistence Ingo Karkat 2019-07-10 15:39:35 +02:00
  • d72f5c3173 Tests: Add coverage for ingo#range#sort#AscendingByStartLnum() Ingo Karkat 2019-07-09 15:17:23 +02:00
  • 21e8741f4a Add ingo#collections#SortOnFirstListElement(), ingo#collections#SortOnSecondListElement(), and ingo#range#sort#AscendingByStartLnum() Ingo Karkat 2019-07-09 15:12:23 +02:00
  • 3669656fdd Cosmetics: Delete changelog Ingo Karkat 2019-06-10 11:17:44 +02:00
  • ecd47bf12e Add ingo#date#format#Epoch() Ingo Karkat 2019-06-10 11:17:24 +02:00
  • ae5507b7a5 Merge tag '1.038' Ingo Karkat 2019-06-09 19:45:48 +02:00
  • 0552bf12eb Merge branch 'release/1.038' into stable 1.038 Ingo Karkat 2019-06-09 19:45:35 +02:00
  • fb92c948d7 Release 1.038 Ingo Karkat 2019-06-09 19:44:51 +02:00
  • 22fcadb987 Add ingo/comments/indent.vim module Ingo Karkat 2019-06-05 17:54:11 +02:00
  • ad22670338 FIX: ingo#comments#SplitAll(): isBlankRequired is missing from the returned List when there's no comment Ingo Karkat 2019-06-05 17:53:18 +02:00
  • 76b1f50dc4 ingo#join#Lines(): Return join success. Also do proper counting in ingo#join#Ranges() Ingo Karkat 2019-06-04 14:23:50 +02:00
  • 8e0242c5e3 Add ingo#join#Range() variant of ingo#join#Ranges() Ingo Karkat 2019-06-04 13:58:56 +02:00
  • 5a23caba31 ingo#join#Lines(): Add tests and fix problems Ingo Karkat 2019-06-04 13:45:53 +02:00
  • 59f749e5ba Add ingo#pos#Compare(), useful for sort() Ingo Karkat 2019-05-30 11:12:18 +02:00
  • 337e869b68 Add ingo#regexp#MakeWholeWordOrWORDSearch() variant Ingo Karkat 2019-05-26 21:32:02 +02:00
  • c9107d7a26 Factor out ingo#msg#MsgFromCustomException() Ingo Karkat 2019-05-26 21:22:52 +02:00
  • a01208c353 FIX: Make ingo#cmdline#showmode#TemporaryNoShowMode() work again Ingo Karkat 2019-05-15 23:02:07 +02:00
  • cdd9d11d5e Add ingo#collections#FileModificationTimeSort() Ingo Karkat 2019-05-13 12:29:02 +02:00
  • 23960faccd dict: Cosmetics: Remove changelog, add cpo Ingo Karkat 2019-05-13 12:23:27 +02:00
  • 69a0c41ac4 ENH: ingo#dict#FromKeys() can also take a ValueExtractor Funcref in addition to the static defaultValue Ingo Karkat 2019-05-13 11:45:54 +02:00
  • 36dfd65f6c Tests: Add coverage for existing ingo#dict#FromKeys() Ingo Karkat 2019-05-13 11:36:12 +02:00
  • cfd10538a2 Tests: Add coverage for new ingo#dict#FromValues() Ingo Karkat 2019-05-13 11:32:34 +02:00
  • 410d364da4 Add ingo#dict#FromValues() Ingo Karkat 2019-05-13 11:23:06 +02:00
  • 79f2b53460 Documentation: ingo#compat#command#Mods() mention Vim version that has the support Ingo Karkat 2019-05-07 08:38:49 +02:00
  • 185222208b ingo#compat#maparg() escaping didn't consider <; in fact, it needs to escape stand-alone < and escaped \<, but not proper key notations like <C-CR> Ingo Karkat 2019-04-11 15:47:04 +02:00
  • 3e6c0db698 Add ingo#str#Wrap() Ingo Karkat 2019-04-08 07:30:12 +02:00
  • 13f315f7c6 ingo#ftplugin#converter#builder#Filter(): CHG: Pass full invocation context to Funcref Ingo Karkat 2019-04-07 20:26:11 +02:00
  • 18055ba71e ENH: Allow Funcref commandline, pass additional a:isBang flag to ...#Filter() and on to the Funcref Ingo Karkat 2019-04-05 15:09:25 +02:00
  • dbc0927f2a Support sole command attribute or commandline without command, just arguments Ingo Karkat 2019-04-05 13:48:32 +02:00
  • bfe52d23a5 Make ingo#ftplugin#converter#external#Filter() handle any Ex command (not just :!) and extract into separate builder module Ingo Karkat 2019-04-05 12:17:38 +02:00
  • 5dbd4ff859 Refactoring: Extract supporting functions for (external) file converters into a separate autoload script Ingo Karkat 2019-04-05 11:56:03 +02:00
  • 05fbc4ff59 Refactoring: Define s:{Pre,Post}Action() wrappers Ingo Karkat 2019-04-05 11:49:35 +02:00
  • 9e2a6f799f Minor: Also handle filetype from definition in ingo#ftplugin#converter#external#Filter() Ingo Karkat 2019-04-05 11:40:11 +02:00
  • 6d0d6705ea Documentation: Describe API of new Filter() and DifferentFiletype() functions Ingo Karkat 2019-04-05 09:59:08 +02:00
  • bb7ab7f8ba ENH: Support optional {pre,post}Action in commandDefinitions Ingo Karkat 2019-04-04 17:37:25 +02:00
  • cb0aa0ba81 Add ingo#ftplugin#converter#external#Filter() variant of ingo#ftplugin#converter#external#DifferentFiletype() Ingo Karkat 2019-04-04 17:29:47 +02:00
  • 6ac99d8af7 CHG: Allow to take additional command arguments after the selected filter command Ingo Karkat 2019-04-04 17:24:27 +02:00
  • 89819bf978 Add ingo#ftplugin#converter#external#GetArgumentMaps() Ingo Karkat 2019-04-04 17:23:23 +02:00
  • 81f27e6711 Add ingo#plugin#cmdcomplete#MakeTwoStageFixedListAndMapCompleteFunc() Ingo Karkat 2019-04-04 17:20:25 +02:00
  • d1f9adf7fa ingo#cmdargs#command#Parse(): Support special a:argumentExpr value of "*" that parses any regular command argument Ingo Karkat 2019-04-04 15:36:35 +02:00
  • 14a3e530b0 ingo#cmdargs#command#Parse(): Documentation: Clarify a:argumentExpr Ingo Karkat 2019-04-04 15:30:48 +02:00
  • 2a36938c05 Add ingo#ftplugin#converter#external#DifferentFiletype() Ingo Karkat 2019-04-04 13:22:14 +02:00
  • fe2c103aa5 BUG: Minor: Not enough arguments for printf() Ingo Karkat 2019-04-04 13:21:48 +02:00
  • e6d3b0b178 Documentation: Improve documentation for ingo#ftplugin#converter#external# API Ingo Karkat 2019-04-04 10:45:28 +02:00
  • a8877dfe51 ingo#change#GetOverwrittenText(): Refactoring: Minor: use ingo#change#Set() here, too Ingo Karkat 2019-04-03 11:05:55 +02:00
  • 573fea7551 ingo#change#Set(): Minor: No need to use compat wrapper for setpos() here Ingo Karkat 2019-04-03 11:04:51 +02:00
  • 6f07b8147b Refactoring: Use ingo#change#Set() for updating last changed area Ingo Karkat 2019-04-02 12:01:13 +02:00
  • 204439f249 BUG: Regression: Missing ) after 067dea5834 Ingo Karkat 2019-04-02 11:57:28 +02:00
  • 02270f4fcc Add ingo#change#Set() Ingo Karkat 2019-04-01 21:01:16 +02:00
  • 63da310eae ingo#selection#Set(): Also take separate line, column arguments Ingo Karkat 2019-04-01 19:45:39 +02:00
  • 7d7db42ee1 Cosmetics: Delete changelog Ingo Karkat 2019-04-01 19:26:34 +02:00
  • 067dea5834 ingo#text#replace#Between(): Refactoring: Use new ingo#pos#Make4() Ingo Karkat 2019-04-01 19:25:34 +02:00
  • 515f5d9eab ingo#selection#Set(): Take either 2 or 4-argument pos Ingo Karkat 2019-04-01 19:20:09 +02:00
  • 087ca68cec Add ingo#pos#Make4() and ingo#pos#Make2() Ingo Karkat 2019-04-01 19:18:53 +02:00
  • 8a74bc3577 - Add ingo#selection#Set() and ingo#selection#Make() Ingo Karkat 2019-03-29 22:18:49 +01:00
  • 7c8bd85f8a Merge tag '1.037' Ingo Karkat 2019-03-28 21:19:25 +01:00
  • 7f4e6702c2 Merge branch 'release/1.037' into stable 1.037 Ingo Karkat 2019-03-28 21:19:10 +01:00
  • 1850b65fda Release 1.037 Ingo Karkat 2019-03-28 21:19:01 +01:00
  • f4060ea00c Add ingo#dict#Make() (analog to ingo#list#Make()) Ingo Karkat 2019-03-20 14:29:34 +01:00
  • 44c69c7815 Merge tag '1.036' Ingo Karkat 2019-03-17 18:16:07 +01:00
  • 02be6554c3 Merge branch 'release/1.036' into stable 1.036 Ingo Karkat 2019-03-17 18:15:54 +01:00
  • 5586a0b459 Add new files to manifest Ingo Karkat 2019-03-17 18:14:35 +01:00
  • 90558751ae Release 1.036 Ingo Karkat 2019-03-17 18:12:50 +01:00
  • f1cfcc013a FIX: ingo#regexp#deconstruct#TranslateCharacterClasses(): Add forgotten character classes (digit, punct) Ingo Karkat 2019-03-13 09:15:06 +01:00
  • f3022a0c8b BUG: ingo#regexp#deconstruct#ToQuasiLiteral(): Escaping of character classes ignored Ingo Karkat 2019-03-13 08:49:45 +01:00
  • e4e203ad4f Add ingo#regexp#deconstruct#TranslateBranches() and include in ingo#regexp#deconstruct#ToQuasiLiteral() Ingo Karkat 2019-03-11 08:41:56 +01:00
  • 663a40087c ENH: Translate single-class [inverted] collection classes like character classes Ingo Karkat 2019-03-11 07:17:36 +01:00
  • 0139c26530 Refactoring: Pass all replacements into s:TransformCollection() Ingo Karkat 2019-03-10 22:07:04 +01:00
  • 092ddc43c9 Add ingo#regexp#deconstruct#TranslateCharacterClasses() variant that translates instead of removing Ingo Karkat 2019-03-10 21:59:50 +01:00
  • 0c4fca5c9d ENH: Keep single literal character in collection, else replace with … Ingo Karkat 2019-03-10 21:36:27 +01:00
  • e34c1f3cbc ENH: Add a:option.isCapture to ingo#regexp#collection#Expr() Ingo Karkat 2019-03-10 21:28:11 +01:00
  • 536b8cc062 FIX: Don't match optionally matched atoms \%[] in ingo#regexp#collection#Expr() Ingo Karkat 2019-03-10 21:25:22 +01:00
  • 1f675f04af Add ingo#regexp#deconstruct#TranslateNumberEscapes() and include it in ingo#regexp#deconstruct#ToQuasiLiteral() Ingo Karkat 2019-03-10 20:27:24 +01:00
  • 698f1320f7 Add ingo#regexp#deconstruct#RemoveCharacterClasses() and include it in ingo#regexp#deconstruct#ToQuasiLiteral() Ingo Karkat 2019-03-10 20:06:25 +01:00
  • 63210167a9 FIX: Make ingo#pos#Before() return column 0 if passed a position with column 1 Ingo Karkat 2019-03-09 21:38:00 +01:00
  • 819562213a Add ingo#area#EmptyArea() Ingo Karkat 2019-03-09 10:17:56 +01:00
  • c870a01776 Documentation: Emphasize meaning of endCol in area Ingo Karkat 2019-03-08 22:10:07 +01:00
  • 2b17c36e19 FIX: Off-by-one in ingo#area#IsEmpty(). Also check for invalid area Ingo Karkat 2019-03-08 22:09:49 +01:00