[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] luacheck 0.7.2
- From: Andrew Starks <andrew.starks@...>
- Date: Thu, 8 Jan 2015 17:24:08 -0600
On Thursday, January 8, 2015, Tim Caswell <email@example.com> wrote:
I finally got luacheck in windows in sublime text 3.
- Use luarocks windows package and use the provided lua binary.
- Set all the system paths it wants you to set. This is a pain, but important.
- Open a visual studio command prompt (search for "visual studio tools folder" in the start screen) to get the proper PATHs set
- luarocks install luacheck
- It worked mostly, but didn't install two dependencies, so I installed those also using luarocks
- Got the sublime package to patch and support windows paths https://github.com/SublimeLinter/SublimeLinter-luacheck/issues/2
God luck. I sometimes do lua development on windows, and I just don't feel at home without luacheck support in my editor.
I went through similar hoops with Sublime Text 3 on windows. I used "he olde batch file trick":
lua.exe %~dp0\luacheck.lua %*
Where the magic noise in front of the file name expands to "the path of this batch file"
I submitted this as a pull request.