xolox / vim-lua-ftplugin

Lua file type plug-in for the Vim text editor
http://peterodding.com/code/vim/lua-ftplugin
187 stars 27 forks source link

Quickfix opens luac binary #26

Closed actionless closed 9 years ago

actionless commented 10 years ago

Steps to reproduce: 1) let g:lua_compiler_name = '/usr/sbin/luac5.1' 2) touch test.lua; vim test.lua 3) write smth like abc=123 4) :LuaCheckGlobals 5) press [Enter]

expected result: jump to test.lua:1

actual result: /usr/sbin/luac5.1 binary loaded into the new buffer

hewei-chn commented 9 years ago

see pull #38 , I think it will works for you .

actionless commented 9 years ago

@hewei-chn thanks, but i have already moved to https://github.com/scrooloose/syntastic/wiki/Syntax-Checkers which is more generalized solution and support luac and/or luacheck