travisbhartwell / nix-emacs

A set of useful Emacs modes and functions for users of Nix and Nix OS.
225 stars 32 forks source link

company-nixos-options fails with { synthax. #27

Open magnetophon opened 8 years ago

magnetophon commented 8 years ago

When I write nix.use I get completion suggestions. When I write nix = { use I don't get any.

CestDiego commented 8 years ago

This is a much harder problem than what company offers you to solve. It needs to check partial expressions in the buffer and honestly it's something I don't have the time to check now. Examples of this can be seen in python.el (how to manage dot syntax and classes)

On Thu, Feb 18, 2016 at 1:40 PM Bart Brouns notifications@github.com wrote:

When I write nix.use I get completion suggestions. When I write nix = { use I don't get any.

— Reply to this email directly or view it on GitHub https://github.com/travisbhartwell/nix-emacs/issues/27.

Diego Berrocal http://cestdiego.github.io

magnetophon commented 8 years ago

@CestDiego Yeah, thought so too. Thanks though!

Should I close the issue?

travisbhartwell commented 8 years ago

I'm fine with leaving this open as a reference as in "We'd like to have this, but don't currently have time to implement".

@CestDiego and I have definitely talked about this in the past.

CestDiego commented 8 years ago

I agree, this should be a reference.

On Thu, Feb 18, 2016 at 3:25 PM Travis B. Hartwell notifications@github.com wrote:

I'm fine with leaving this open as a reference as in "We'd like to have this, but don't currently have time to implement".

@CestDiego https://github.com/CestDiego and I have definitely talked about this in the past.

— Reply to this email directly or view it on GitHub https://github.com/travisbhartwell/nix-emacs/issues/27#issuecomment-185899505 .

Diego Berrocal http://cestdiego.github.io