Bug 499873 - LSP server for all the filetypes
Summary: LSP server for all the filetypes
Status: REPORTED
Alias: None
Product: kate
Classification: Applications
Component: application (other bugs)
Version First Reported In: 24.12.1
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-12 11:54 UTC by Daniele Scasciafratte
Modified: 2025-02-17 11:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniele Scasciafratte 2025-02-12 11:54:59 UTC
The idea is that you can use a wildcard to apply that LSP server to all the filetypes.

For example https://github.com/SilasMarvin/lsp-ai and also https://github.com/tekumara/typos-lsp (I already use it on nvim).
Comment 1 Waqar Ahmed 2025-02-12 12:00:32 UTC
Have you tried specifying a highlighting mode regex such as:

highlightingModeRegex: ".*",
Comment 2 Christoph Cullmann 2025-02-16 21:17:18 UTC
True, if the server doesn't care for the language id that might work.
Comment 3 Daniele Scasciafratte 2025-02-17 11:00:39 UTC
"*": {
		"command": "something"
        	},
It is more easy to understand compared to:

"lsp-ai": {
highlightingModeRegex: ".*",
		"command": "something"
        	},

Also because in this way I don't think that works on a new file window.