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

Simplify language server startup #9

Closed
Cloudperry opened this issue May 20, 2024 · 1 comment
Closed

Simplify language server startup #9

Cloudperry opened this issue May 20, 2024 · 1 comment

Comments

@Cloudperry
Copy link

The readme suggests to use an autocmd for starting the language server. The LS can also be started by adding "hyprlang" to the filetypes option of the LS and running this:

vim.filetype.add({
  pattern = { [".*/hypr/.*%.conf"] = "hyprlang" },
})

Maybe you should change the filetypes option to include "hyprlang" by default and suggest using this filetype detection pattern for starting the LS. The autocmd is a very non-standard way of starting it and in my Neovim it seemed to trigger very often (when going to command mode and back etc).

@ewen-lbh
Copy link
Member

Will do! see #12

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

2 participants