Commit Graph

  • 1fe998c29d ENH: Get <mods> information into s:Command() and pass this on to a:Action, and make this accessible to a:Action Funcrefs via a context object g:CommandCompleteDirForAction_Context Ingo Karkat 2017-08-23 00:00:00 +02:00
  • 0f3f26b4a2 Factor out s:ResolveDirspecs() Ingo Karkat 2017-02-20 00:00:00 +01:00
  • 06140a2231 Factor our s:ResolveDirspec() Ingo Karkat 2017-01-26 00:00:00 +01:00
  • 9a779ece36 Emulate lower priority of filespecs matching 'suffixes' via custom s:SuffixesSort() function, and use that when multiple glob() results have to be combined and sorted Ingo Karkat 2017-01-26 00:00:00 +01:00
  • a2ff39e7b5 CommandCompleteDirForAction.vim Ingo Karkat 2015-04-02 00:00:00 +02:00
  • fd6349538c ENH: Support List of a:parameters.browsefilter Ingo Karkat 2015-04-01 00:00:00 +02:00
  • ad0da93a28 ENH: Support multiple and fnamemodify()'ed placement of the filespec in a:parameters.action similar to 'makeprg' Ingo Karkat 2015-02-13 00:00:00 +01:00
  • 5790fb4a13 Fix typo Ingo Karkat 2015-01-08 00:00:00 +01:00
  • d2835acf22 Use ingo#compat#glob() Ingo Karkat 2014-09-23 00:00:00 +02:00
  • 1137b7dcad Abort on error Ingo Karkat 2014-09-22 00:00:00 +02:00
  • fbd99a93af Ingo Karkat 2014-06-07 00:00:00 +02:00
  • 6932f18be0 Move escapings.vim into ingo-library Ingo Karkat 2014-04-28 00:00:00 +02:00
  • d0cf5a6805 Use ingo/fs/path.vim Ingo Karkat 2013-08-08 00:00:00 +02:00
  • ce10278218 Better handling for errors from :echoerr Ingo Karkat 2013-06-26 00:00:00 +02:00
  • 3311448b85 Move ingofileargs.vim into ingo-library Ingo Karkat 2013-06-10 00:00:00 +02:00
  • a8ee9205b3 Minor refactoring Ingo Karkat 2013-06-01 00:00:00 +02:00
  • d2469307ba Ingo Karkat 2013-05-31 00:00:00 +02:00
  • 721ba9aace ENH: Allow determining the a:dirspec during runtime by taking a Funcref instead of string Ingo Karkat 2013-05-31 00:00:00 +02:00
  • a10ec3f2fc Ingo Karkat 2013-03-23 00:00:00 +01:00
  • 870f52a193 Handle ++enc= and +cmd file options and commands Ingo Karkat 2013-01-28 00:00:00 +01:00
  • bf56f9b5fb Apply special logic to support lnum 0 with a:parameters.commandAttributes = "-range=-1" described at :help ingo-command-lnum Ingo Karkat 2013-01-28 00:00:00 +01:00
  • 3c6ffd113b ENH: Added a:parameters.FilespecProcessingFunction to allow processing of both dirspec and filename Ingo Karkat 2012-12-01 00:00:00 +01:00
  • dbec6a965a Ingo Karkat 2012-09-13 00:00:00 +02:00
  • 535bd6f275 ENH: Allow special "%" value or Funcref for a:parameters.defaultFilename Ingo Karkat 2012-06-12 00:00:00 +02:00
  • 39d5961497 You can then use the new command with file completion Ingo Karkat 2012-05-14 00:00:00 +02:00
  • dc52339ebc ENH: Get <bang> infomation ingo s:Command() and pass this on to a:Action, and make this accessible to a:Action Funcrefs via a context object g:CommandCompleteDirForAction_Context Ingo Karkat 2012-05-14 00:00:00 +02:00
  • 7c3a547abf Ingo Karkat 2012-01-27 00:00:00 +01:00
  • 471cc00ae1 Generated command now actually demands argument unless a:parameters.defaultFilename is given Ingo Karkat 2011-11-12 00:00:00 +01:00
  • 2b09f986d5 ENH: action and postAction now also support Funcrefs instead of Ex commands Ingo Karkat 2011-09-21 00:00:00 +02:00
  • 2b9aea5229 ENH: Added a:parameters.FilenameProcessingFunction to allow processing of the completed or typed filespec Ingo Karkat 2011-09-21 00:00:00 +02:00
  • cce3821643 Collapsed s:CommandWithOptionalArgument(), s:CommandWithPostAction() and the direct definition for a non-optional, non-postAction command into s:Command(), which already handles all cases anyway, getting rid of the conditional Ingo Karkat 2011-01-22 00:00:00 +01:00
  • 5b343d9e3a Ingo Karkat 2011-01-22 00:00:00 +01:00
  • 7f6b2d8d5e ENH: Added a:parameters.overrideCompleteFunction and returning the generated completion function name in order to allow hooking into the completion Ingo Karkat 2011-01-14 00:00:00 +01:00
  • 96a3a2207f Ingo Karkat 2010-12-10 00:00:00 +01:00
  • dcb3cc9ef8 Implemented a:parameters.postAction Ingo Karkat 2010-12-10 00:00:00 +01:00
  • e80f064b44 FIX: Filtering out subdirectories from the file completion candidates; opening them doesn't yet work, anyway, because only the file name itself is returned Ingo Karkat 2010-08-27 00:00:00 +02:00
  • 6247d537ff Implemented a:parameter.postAction, e.g. to :setfiletype after opening the file Ingo Karkat 2010-08-27 00:00:00 +02:00
  • 6c1da40362 Simplified CommandCompleteDirForAction#setup() interface via parameter hash that allows to omit defaults and makes it more easy to extend Ingo Karkat 2010-07-06 00:00:00 +02:00
  • be2e7b1d56 BUG: With optional argument, the a:filename passed to s:CommandWithOptionalArgument() must not be escaped, only all other filespec fragments Ingo Karkat 2010-07-06 00:00:00 +02:00
  • 1c7f446a58 Added to arguments: a:commandAttributes e.g. to make buffer-local commands, a:defaultFilename to make the filename argument optional Ingo Karkat 2009-10-27 00:00:00 +01:00
  • 13978c66f4 file creation Ingo Karkat 2009-10-26 00:00:00 +01:00
  • d78907c440 file creation Ingo Karkat 2009-10-26 00:00:00 +01:00
  • 9abc06ae08 Add ingo#str#trcd() variant of ingo#str#trd() Ingo Karkat 2020-03-01 13:03:51 +01:00
  • 99b59c8db4 ingo#{area,text}#frompattern#Get(): Pass context object instead of just the match Ingo Karkat 2020-02-29 22:19:50 +01:00
  • 215292a6a5 ingo#text#frompattern#Get(): Inline s:UniqueAdd(), add s:PredicateCheck(), and only invoke the latter if non-unique match Ingo Karkat 2020-02-29 19:14:59 +01:00
  • 7e63d0cd5f Add optional a:Predicate argument to ingo#area#frompattern#Get() and ingo#text#frompattern#Get() Ingo Karkat 2020-02-29 16:42:29 +01:00
  • 1eb3660d78 ingo#area#frompattern#Get(): Make last two arguments optional Ingo Karkat 2020-02-29 16:16:02 +01:00
  • 4a26ab8149 ingo#text#frompattern#Get(): Make last three arguments optional Ingo Karkat 2020-02-29 15:55:04 +01:00
  • ea2c831f0b ingo#window#quickfix#Cmd{Pre,Post}(): More intelligent derivation of event subject from a:actionName Ingo Karkat 2020-02-29 11:55:36 +01:00
  • 9f5f3ca41c Add ingo#window#quickfix#CmdPre() and ingo#window#quickfix#CmdPost() Ingo Karkat 2020-02-28 22:32:25 +01:00
  • d543bf4e18 Add ingo#window#quickfix#GetOtherList() variant of ingo#window#quickfix#GetList() that gets the quickfixType passed in Ingo Karkat 2020-02-28 22:00:20 +01:00
  • 6bf28ce092 ingo#selection#Get{In,Ex}clusiveEndPos(): Prevent "E951 \% value too large" by checking line length Ingo Karkat 2020-02-25 22:37:59 +01:00
  • 509c9a22c6 ENH: Actually check for existence of the underlying file_line.vim target Ingo Karkat 2020-02-16 21:15:30 +01:00
  • 3cfb4328bd Introduce g:IngoLibrary\_SpecialWindowPredicates customization for ingo#cmdargs#glob#Resolve() Ingo Karkat 2020-02-16 20:47:36 +01:00
  • 0d33532f43 ingo#cmdargs#register#Parse{Ap,Pre}pendedWritableRegister(): ENH Allow using the a:directSeparator default while supplying a:isPreferText by passing an empty List Ingo Karkat 2020-01-31 20:55:06 +01:00
  • bca3ad786e ingo#regexp#EscapeLiteralText(): Make second argument (a:additionalEscapeCharacters) optional Ingo Karkat 2020-01-31 12:41:24 +01:00
  • a4ca05610e Also add ingo#register#pending#Normal() (without ...Bang) Ingo Karkat 2019-11-08 10:06:31 +01:00
  • b11fad12ce Add ingo/register/pending.vim module Ingo Karkat 2019-11-07 14:53:08 +01:00
  • cbffccb6ae Merge tag '1.040' Ingo Karkat 2019-10-31 11:12:09 +01:00
  • 3a80a8ee6f Merge branch 'release/1.040' into stable 1.040 Ingo Karkat 2019-10-31 11:11:49 +01:00
  • d6a76f8ca0 Release 1.040 Ingo Karkat 2019-10-31 11:09:47 +01:00
  • 56d88a4dd3 Add ingo/plugin/register.vim module Ingo Karkat 2019-10-30 08:28:19 +01:00
  • 5208efbf65 Add ingo#change#virtcols#Get(), a variant of ingo#selection#virtcols#Get() Ingo Karkat 2019-10-28 17:22:17 +01:00
  • 1535cc83e2 ingo#search#buffer#IsKeywordMatch(): FIX: Existing clients actually pass pattern, not literal text Ingo Karkat 2019-10-25 15:44:34 +02:00
  • 5a4f44ec7b Add ingo#plugin#cmdcomplete#MakeFirstArgumentFixedListCompleteFunc() variant of ingo#plugin#cmdcomplete#MakeFixedListCompleteFunc() Ingo Karkat 2019-10-25 12:02:38 +02:00
  • cc5f778ef2 Documentation: Minor: Clarify that ingo#plugin#cmdcomplete#MakeFixedListCompleteFunc() and ingo#plugin#cmdcomplete#MakeListExprCompleteFunc() work on all arguments Ingo Karkat 2019-10-25 11:19:56 +02:00
  • c811e0e225 ingo#window#quickfix#IsQuickfixList(): Make type check more robust and consistent by storing the result in a buffer-local variable Ingo Karkat 2019-10-21 15:36:48 +02:00
  • b2616b740b Add ingo#window#quickfix#SetOtherList() generalization of ingo#window#quickfix#SetList() and ingo#window#quickfix#GetName() and ingo#window#quickfix#GetPrefix() Ingo Karkat 2019-10-21 15:32:51 +02:00
  • c88da2d7b9 Add ingo#date#format#FilesystemCompatibleTimestamp() variant Ingo Karkat 2019-09-20 11:51:40 +02:00
  • bc2eb45661 Add ingo#str#TrimTrailing() variant of ingo#str#Trim() Ingo Karkat 2019-09-20 11:25:19 +02:00
  • 07136cd2c7 Merge tag '1.039' Ingo Karkat 2019-09-10 21:03:42 +02:00
  • 9ba63a4ffe Merge branch 'release/1.039' into stable 1.039 Ingo Karkat 2019-09-10 21:03:32 +02:00
  • 8d7daf70c6 Release 1.039 Ingo Karkat 2019-09-10 21:02:18 +02:00
  • 43ab5b2fa9 ingo#option#listchars#Render(): ENH: Support passing fallback Ingo Karkat 2019-09-09 16:34:39 +02:00
  • 8af33bbf12 ingo#option#listchars#Render(): CHG: Pass override Dict as option Ingo Karkat 2019-09-09 16:27:43 +02:00
  • f0bf0f1995 ingo#option#listchars#Render(): ENH: Support passing custom listcharsDict Ingo Karkat 2019-09-09 15:49:12 +02:00
  • ce79db81c9 Add ingo/options/listchars.vim module Ingo Karkat 2019-09-09 15:34:12 +02:00
  • b51d402811 Add ingo#option#listchars#Render() Ingo Karkat 2019-09-09 15:33:24 +02:00
  • f0b0452ef2 Add ingo#option#listchars#GetValues() Ingo Karkat 2019-09-09 14:59:19 +02:00
  • b303f21217 Add ingo#option#listchars#GetValue() Ingo Karkat 2019-09-09 14:55:22 +02:00
  • a6260faf80 Cosmetics: Fix typo Ingo Karkat 2019-09-09 14:42:50 +02:00
  • 8cef4d9120 ENH: ingo#cmdrangeconverter#LineToBufferRange(): Also allow Funcref argument Ingo Karkat 2019-08-16 11:19:47 +02:00
  • c33621781b FIX: ingo#register#accumulate#ExecuteOrFunc(): Need to use ingo#actions#ExecuteWithValOrFunc(), not ingo#actions#EvaluateWithValOrFunc() Ingo Karkat 2019-08-16 11:10:40 +02:00
  • 4466bdcf8c Add ingo#actions#ExecuteWithValOrFunc() variant of ingo#actions#EvaluateWithValOrFunc() Ingo Karkat 2019-08-16 11:08:51 +02:00
  • 00172001ac ingo#register#accumulate#ExecuteOrFunc(): Don't use temporary accumulator register when the target register is the black hole Ingo Karkat 2019-08-16 09:38:52 +02:00
  • e9bc39b1dd Documentation: ingo#register#accumulate#ExecuteOrFunc(): Improve API doc Ingo Karkat 2019-08-16 09:37:36 +02:00
  • 90fd0c212a ENH: ingo#plugin#cmd#withpattern#CommandWithPattern() Also support a:CommandTemplate Funcref argument Ingo Karkat 2019-08-14 16:02:35 +02:00
  • d65f21563e withpattern: Documentation: FIX: Minor: template is pattern, not range Ingo Karkat 2019-08-14 15:54:30 +02:00
  • e05d083dd7 ingo#buffer#scratch#CreateWithWriter(): Nicer output of write errors Ingo Karkat 2019-08-09 14:18:07 +02:00
  • 3c21c005c8 Add ingo#regexp#virtcols#StartAnchorPattern() and ingo#regexp#virtcols#EndAnchorPattern() Ingo Karkat 2019-07-26 10:34:02 +02:00
  • e8232e7ff0 Add ingo#selection#virtcols#GetLimitingPatterns() Ingo Karkat 2019-07-26 09:49:03 +02:00
  • 0306043d95 ENH: ingo#selection#virtcols#Get() adds an effectiveEndVirtCol attribute Ingo Karkat 2019-07-26 09:48:05 +02:00
  • db4ffeabf1 Refactoring: Define l:record instead of individual variables, rename b:IngoLibrary_scratch_converted Ingo Karkat 2019-07-25 08:33:35 +02:00
  • c569761d9a ENH: Allow to preset reserved marks for ingo#plugin#marks#Reserve() via g:IngoLibrary_Marks Ingo Karkat 2019-07-24 20:42:21 +02:00
  • 6865ebe974 ENH: Use reserved marks instead of change marks to allow parallel editing Ingo Karkat 2019-07-24 19:02:49 +02:00
  • 6b208d04ab Default a:options.isShowDiff to true only if the entire buffer is being edited Ingo Karkat 2019-07-24 18:21:06 +02:00
  • 8d7d402433 ENH: Support editing of a buffer subrange in a scratch buffer as a different filetype Ingo Karkat 2019-07-24 18:17:27 +02:00
  • 4480fd6d7d Documentation: FIX: Document a:isBang, remove duplication Ingo Karkat 2019-07-24 17:45:00 +02:00
  • beba84f30f ENH: Use :KeepView to try to keep the current position if the command is available Ingo Karkat 2019-07-24 15:35:46 +02:00
  • 11b822666a Refactoring: Extract s:MakeConverter() Ingo Karkat 2019-07-24 15:33:39 +02:00