Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finding features #1965

Closed
rignet-bicteg opened this issue Apr 5, 2022 · 1 comment
Closed

Finding features #1965

rignet-bicteg opened this issue Apr 5, 2022 · 1 comment

Comments

@rignet-bicteg
Copy link

Hello,

I'm trying to do 3 things and I can't find ways to do them. I suspect they're already there, but I can't find them in the docs / options.

  1. Language aliasing - I'm working with a java like language, for which I want to enable the java tree sitter highlighting, how do I do that?
  2. Buffer autocompletion - I want to do autocompletion with words found in the opened buffers
  3. Fuzzy word search - I want to do a file search for files that contain certain word. Like Telescope's live grep feature.

Please tell me if I'm failing to find how to use these, or if they do not exist.
Thank you

@the-mikedavis
Copy link
Member

#1866 was recently merged that lets you set a language with a command (for example :set-language java). You can also make a ~/.config/helix/languages.toml (if you're on linux/macos) that is merged with the languages.toml in this repo, so you could say something like

[[language]]
name = "java"
file-types = ["java", "javalike"]

So the java language and highlights will be used for .java and .javalike files for example.

Auto-complete is currently only provided by the LSP but there have been discussions about alternative mechanisms (#1063).

Fuzzy global search can be done with space/.

Also feel free to join us on the Matrix space! Questions like these would be a good fit there.

@kirawi kirawi closed this as completed Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants