Mercurial > vim
comparison runtime/ftplugin/lua.vim @ 31139:20cf2080f1ee
Update runtime files
Commit: https://github.com/vim/vim/commit/d13166e788fcaef59ec65c20b46ca4be16625669
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Nov 18 21:49:57 2022 +0000
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 18 Nov 2022 23:00:05 +0100 |
parents | 3295247d97a5 |
children | a7801222c9c5 |
comparison
equal
deleted
inserted
replaced
31138:e3510cfd5e37 | 31139:20cf2080f1ee |
---|---|
2 " Language: Lua | 2 " Language: Lua |
3 " Maintainer: Doug Kearns <dougkearns@gmail.com> | 3 " Maintainer: Doug Kearns <dougkearns@gmail.com> |
4 " Previous Maintainer: Max Ischenko <mfi@ukr.net> | 4 " Previous Maintainer: Max Ischenko <mfi@ukr.net> |
5 " Contributor: Dorai Sitaram <ds26@gte.com> | 5 " Contributor: Dorai Sitaram <ds26@gte.com> |
6 " C.D. MacEachern <craig.daniel.maceachern@gmail.com> | 6 " C.D. MacEachern <craig.daniel.maceachern@gmail.com> |
7 " Last Change: 2022 Oct 15 | 7 " Last Change: 2022 Nov 16 |
8 | 8 |
9 if exists("b:did_ftplugin") | 9 if exists("b:did_ftplugin") |
10 finish | 10 finish |
11 endif | 11 endif |
12 let b:did_ftplugin = 1 | 12 let b:did_ftplugin = 1 |
19 setlocal formatoptions-=t formatoptions+=croql | 19 setlocal formatoptions-=t formatoptions+=croql |
20 | 20 |
21 let &l:define = '\<function\|\<local\%(\s\+function\)\=' | 21 let &l:define = '\<function\|\<local\%(\s\+function\)\=' |
22 | 22 |
23 " TODO: handle init.lua | 23 " TODO: handle init.lua |
24 setlocal includeexpr=substitute(v:fname,'\\.','/','g') | 24 setlocal includeexpr=substitute(v:fname,'\.','/','g') |
25 setlocal suffixesadd=.lua | 25 setlocal suffixesadd=.lua |
26 | 26 |
27 let b:undo_ftplugin = "setlocal cms< com< def< fo< inex< sua<" | 27 let b:undo_ftplugin = "setlocal cms< com< def< fo< inex< sua<" |
28 | 28 |
29 if exists("loaded_matchit") && !exists("b:match_words") | 29 if exists("loaded_matchit") && !exists("b:match_words") |