Skip to content

feat request: add ft field in lsp spec #275

@xiaoshihou514

Description

@xiaoshihou514

Feature description

Thanks for this great one-stop solution for setting up Haskell dev environment!
This feature request is here because I have sth in my status line that checks if the attached lsp's filetype contains the current buffer's ft. It would be very nice if haskell-tools.nvim provide these so that other plugins/scripts can identify haskell-tools.nvim as a Haskell lsp.

vim.print(vim.lsp.get_active_clients()[1].config.filetype)                                                         
-- Expected: {"haskell", "cabal" ...}
-- Actual: nil

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions