Closed i-am-logger closed 1 year ago
but does not show available functions from source. Is that the expected behavior?
What do you mean by "available functions from source"? Any example?
If you mean to complete package names from nixpkgs, that's not supported yet.
I mean intellisense/code completion … like when typing home.
should expect to see the available function on the home-manager object.
I seem to have issues with setting up tree-sitter on helix .. I’m using nixOS
I mean intellisense/code completion … like when typing home. should expect to see the available function on the home-manager object.
As Ocalica pointed out, we are not there yet. Currently you get completion on available "top level" bindings. Not its children.
There is just not enough information available.
Setting up tree sitter is completely unrelated to nil
.
when typing
home.
should expect to see the available function on the home-manager object.
Option completion is not implemented yet. It's kind of hard. Currently we only support completions that are "known locally in the same file".
I'll close this issue since Helix should work out of box. But feel free to open a feature request issue for the NixOS/home-manager option completion.
My current
languages.toml
Forhelix
Has the following:The code completion seems to work only for what is local to the file but does not show available functions from source. Is that the expected behavior?