Both syntax/vim.vim and syntax/lua.vim have change very recently, and as
a consequence (I suppose), syntax highlighting of Lua in a Vim script
is now completely wrong. For instance:
lua << EOF
for 1, 2 do
while true do
break
end
end
EOF
"while", (second) "do" and "break" aren't recognized as keywords, "true"
isn't recognized as a boolean, and the second "end" is marked as an
error. It looks like the first "do" defines a region up to the first
"end" (hence the second is an error), which region contains nothing
(hence no highlighting).
Note that Lua highlighting in a Lua file is ok.
Any idea?
Best,
Paul
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment