Files
neovim/runtime
github-actions[bot] 5eab16fa24 [Backport release-0.8] docs(api): pattern is not expanded for autocommands (#20838)
docs(api): pattern is not expanded for autocommands

Problem: Unlike `:autocmd`, `nvim_create_autocommand()` does not expand
environment variables in the `pattern`, which is unexpected.

Solution: Add a note to the documentation explaining this and suggesting
using `expand()` explicitly.

(cherry picked from commit eeaf943ca3)

Co-authored-by: Christian Clason <c.clason@uni-graz.at>
2022-10-27 18:59:25 -07:00
..
2022-09-02 15:20:29 +01:00
2022-09-28 12:48:36 +02:00
2022-09-28 12:48:36 +02:00
2022-09-28 12:48:36 +02:00
2021-09-13 16:33:41 +02:00
2021-05-01 22:29:03 -04:00
2022-09-02 15:20:29 +01:00
2022-09-28 12:48:36 +02:00
2022-08-20 10:04:55 +02:00
2019-07-29 20:50:07 +02:00
2022-09-28 12:48:36 +02:00
2021-04-27 09:21:32 -04:00
2019-07-29 20:50:07 +02:00
2022-09-30 17:15:13 +02:00
2022-09-18 15:20:20 +02:00
2022-07-26 11:26:23 +02:00