dlang-community / DCD

The D Completion Daemon is an auto-complete program for the D programming language
GNU General Public License v3.0
349 stars 72 forks source link

TextAdept #76

Closed patrickjm closed 10 years ago

patrickjm commented 10 years ago

When using the TextAdept plugin, under the dmd lexer, when typing a "(" character, I get the following lua error:

...path\to\modules\dmd\dcd.lua:151: attempt to index local 'tmpFile' (a nil value)

I'm new to TextAdept, so I may have missed something that was implied in the directions but not explicitly stated. I moved the two lua files to their respective place in the modules\dmd folder, and I started the server, but beyond that, I'm not sure what to do.

Hackerpilot commented 10 years ago

This is on Windows, right?

patrickjm commented 10 years ago

Yeah, sorry for not making that clear up front.

Hackerpilot commented 10 years ago

Can you confirm that your checkout of DCD is up to date and that you're using Textadept 7.0?

Hackerpilot commented 10 years ago

I can reproduce this. Lua's doing dumb things with temporary file names...

patrickjm commented 10 years ago

Yeah, everything is up to date. Also, thanks for helping!

Kelet commented 10 years ago

Hi, I've submitted a pull request which may (or may not) fix this problem. I think that it is good behavior whether it fixes it or not though. See issue #77.