diff options
author | Sean Dewar <seandewar@users.noreply.github.com> | 2022-11-24 10:23:50 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-24 10:23:50 +0000 |
commit | 868d8d69627c4b8fd5225da0dff5905f75645946 (patch) | |
tree | 56f21690606a99140cfc2df4422626d56b1fca51 /runtime/ftplugin/lua.vim | |
parent | c9adbcafaec6c7aecb01e8f06a423a74b0a01116 (diff) | |
download | rneovim-868d8d69627c4b8fd5225da0dff5905f75645946.tar.gz rneovim-868d8d69627c4b8fd5225da0dff5905f75645946.tar.bz2 rneovim-868d8d69627c4b8fd5225da0dff5905f75645946.zip |
vim-patch:partial:b59ae59a5870 (#21170)
Update runtime files
https://github.com/vim/vim/commit/b59ae59a58706e454ef8c78276f021b1f58466e7
- Omit `map()` lambda arg comment. Not worth mentioning for legacy script
(and is already hinted at below).
- Cherry-pick latest `'thesaurusfunc'` example.
- Skip `optwin.vim` `'keyprotocol'` change.
- 🧜♀️
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'runtime/ftplugin/lua.vim')
-rw-r--r-- | runtime/ftplugin/lua.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/ftplugin/lua.vim b/runtime/ftplugin/lua.vim index c6ce4a0615..88b1fc9d44 100644 --- a/runtime/ftplugin/lua.vim +++ b/runtime/ftplugin/lua.vim @@ -4,7 +4,7 @@ " Previous Maintainer: Max Ischenko <mfi@ukr.net> " Contributor: Dorai Sitaram <ds26@gte.com> " C.D. MacEachern <craig.daniel.maceachern@gmail.com> -" Last Change: 2022 Nov 16 +" Last Change: 2022 Nov 19 if exists("b:did_ftplugin") finish @@ -21,7 +21,7 @@ setlocal formatoptions-=t formatoptions+=croql let &l:define = '\<function\|\<local\%(\s\+function\)\=' " TODO: handle init.lua -setlocal includeexpr=substitute(v:fname,'\.','/','g') +setlocal includeexpr=tr(v:fname,'.','/') setlocal suffixesadd=.lua let b:undo_ftplugin = "setlocal cms< com< def< fo< inex< sua<" |