summaryrefslogtreecommitdiff
path: root/src/autocmd.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.0158: triggering CompleteDone earlier is not backwards compatiblev8.2.0158Bram Moolenaar2020-01-261-0/+1
| | | | | | Problem: Triggering CompleteDone earlier is not backwards compatible. (Daniel Hahler) Solution: Add CompleteDonePre instead.
* patch 8.2.0098: exe stack length can be wrong without being detectedv8.2.0098Bram Moolenaar2020-01-071-0/+3
| | | | | Problem: Exe stack length can be wrong without being detected. Solution: Add a check when ABORT_ON_INTERNAL_ERROR is defined.
* patch 8.2.0056: execution stack is incomplete and inefficientv8.2.0056Bram Moolenaar2019-12-291-18/+15
| | | | | | Problem: Execution stack is incomplete and inefficient. Solution: Introduce a proper execution stack and use it instead of sourcing_name/sourcing_lnum. Create a string only when used.
* patch 8.1.2368: using old C style commentsv8.1.2368Bram Moolenaar2019-11-301-8/+9
| | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate.
* patch 8.1.2243: typos in commentsv8.1.2243Bram Moolenaar2019-11-021-2/+2
| | | | | | Problem: Typos in comments. Solution: Fix the typos. (Dominique Pelle, closes #5160) Also adjust formatting a bit.
* patch 8.1.2219: no autocommand for open window with terminalv8.1.2219Bram Moolenaar2019-10-261-0/+1
| | | | | Problem: No autocommand for open window with terminal. Solution: Add TerminalWinOpen. (Christian Brabandt)
* patch 8.1.2046: SafeState may be triggered at the wrong momentv8.1.2046Bram Moolenaar2019-09-161-0/+1
| | | | | | Problem: SafeState may be triggered at the wrong moment. Solution: Move it up higher to after where messages are processed. Add a SafeStateAgain event to tigger there.
* patch 8.1.2044: no easy way to process postponed workv8.1.2044Bram Moolenaar2019-09-151-0/+1
| | | | | Problem: No easy way to process postponed work. (Paul Jolly) Solution: Add the SafeState autocommand event.
* patch 8.1.1901: the +insert_expand feature is not always availablev8.1.1901Bram Moolenaar2019-08-211-8/+1
| | | | | Problem: The +insert_expand feature is not always available. Solution: Graduate the +insert_expand feature.
* patch 8.1.1891: functions used in one file are globalv8.1.1891Bram Moolenaar2019-08-201-1/+1
| | | | | Problem: Functions used in one file are global. Solution: Add "static". (Yegappan Lakshmanan, closes #4840)
* patch 8.1.1887: the +cmdline_compl feature is not in the tiny versionv8.1.1887Bram Moolenaar2019-08-181-2/+0
| | | | | Problem: The +cmdline_compl feature is not in the tiny version. Solution: Graduate the +cmdline_compl feature.
* patch 8.1.1873: cannot build tiny versionv8.1.1873Bram Moolenaar2019-08-171-3/+0
| | | | | Problem: Cannot build tiny version. Solution: Remove #ifdef for is_autocmd_blocked().
* patch 8.1.1805: au_did_filetype is declared twicev8.1.1805Bram Moolenaar2019-08-031-10/+0
| | | | | Problem: Au_did_filetype is declared twice. Solution: Remove it from autocmd.c. (closes #4767)
* patch 8.1.1588: in :let-heredoc line continuation is recognizedv8.1.1588Bram Moolenaar2019-06-251-1/+1
| | | | | Problem: In :let-heredoc line continuation is recognized. Solution: Do not consume line continuation. (Ozaki Kiichi, closes #4580)
* patch 8.1.1454: build failure without the conceal featurev8.1.1454Bram Moolenaar2019-06-021-2/+0
| | | | | Problem: Build failure without the conceal feature. Solution: Remove #ifdef.
* patch 8.1.1425: win_execute() does not set window pointers properlyv8.1.1425Bram Moolenaar2019-05-301-3/+1
| | | | | | Problem: Win_execute() does not set window pointers properly. Solution: Use switch_win_noblock(). Also execute autocommands in a popup window.
* patch 8.1.1414: alloc() returning "char_u *" causes a lot of type castsv8.1.1414Bram Moolenaar2019-05-281-2/+2
| | | | | | Problem: Alloc() returning "char_u *" causes a lot of type casts. Solution: Have it return "void *". (Mike Williams) Define ALLOC_ONE() to check the simple allocations.
* patch 8.1.1391: no popup window supportv8.1.1391Bram Moolenaar2019-05-251-12/+6
| | | | | Problem: No popup window support. Solution: Add initial code for popup windows. Add the 'wincolor' option.
* patch 8.1.1384: using "int" for alloc() often results in compiler warningsv8.1.1384Bram Moolenaar2019-05-241-4/+4
| | | | | | Problem: Using "int" for alloc() often results in compiler warnings. Solution: Use "size_t" and remove type casts. Remove alloc_check(), Vim only works with 32 bit ints anyway.
* patch 8.1.1205: a BufReadPre autocommand may cause the cursor to movev8.1.1205Bram Moolenaar2019-04-251-1/+8
| | | | | | | Problem: A BufReadPre autocommand may cause the cursor to move. Solution: Restore the cursor position after executing the autocommand, unless the autocommand moved it. (Christian Brabandt, closes #4302, closes #4294)
* patch 8.1.1138: plugins don't get notified when the popup menu changesv8.1.1138Bram Moolenaar2019-04-081-0/+12
| | | | | Problem: Plugins don't get notified when the popup menu changes. Solution: Add the CompleteChanged event. (Andy Massimino. closes #4176)
* patch 8.1.1115: cannot build with older C compilerv8.1.1115Bram Moolenaar2019-04-041-5/+5
| | | | | Problem: Cannot build with older C compiler. Solution: Move variable declaration to start of block.
* patch 8.1.1113: making an autocommand trigger once is not so easyv8.1.1113Bram Moolenaar2019-04-041-11/+59
| | | | | | Problem: Making an autocommand trigger once is not so easy. Solution: Add the ++once argument. Also add ++nested as an alias for "nested". (Justin M. Keyes, closes #4100)
* patch 8.1.1086: too many curly bracesv8.1.1086Bram Moolenaar2019-03-301-2/+0
| | | | | | Problem: Too many curly braces. Solution: Remove curly braces where they are not needed. (Hirohito Higashi, closes #3982)
* patch 8.1.0825: code for autocommands is mixed with file I/O codev8.1.0825Bram Moolenaar2019-01-261-0/+2579
Problem: Code for autocommands is mixed with file I/O code. Solution: Move autocommand code to a separate file. (Yegappan Lakshmanan, closes #3863)