this post was submitted on 07 Oct 2025
973 points (95.7% liked)

Programmer Humor

26772 readers
1402 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Ephera@lemmy.ml 4 points 1 day ago* (last edited 1 day ago) (1 children)

Personally, I find Kate is decent enough for most coding tasks. It does not have an open plugin ecosystem, so I guess, maybe it wouldn't work for you. But aside from plugins, whenever I see people using VS Code/-ium, I wonder why they keep raving about it.

It just looks like a bogstandard editor with LSP support to me. And Microsoft may have gotten that LSP ball rolling, but it's supported in lots of editors now...

[–] felbane@lemmy.world 1 points 1 day ago (2 children)

VScode is certainly a heck of a lot easier to get LSPs working than e.g. vim.

If someone made it actually easy to set up neovim with lsp support that works as well as with vscode, there'd be no reason to give Microsoft any attention at all

[–] Mikina@programming.dev 1 points 1 hour ago

This was one of my biggest issues, but I did manage to succesfully switch to nvim few months ago, by installing ideavim into Rider, vscode-vim into vscode (so I can't easily escape it when I get lazy), but most importantly - setting LazyVim as my default editor, which has been a lifesaver.

It has a pretty good LazyExtras interface for easily installing a ton of plugins, almost for every language. You just open the LazyVim menu, select a language you want, and it installs LSPs, debuggers and whatnot you may need for it. It's probably using the nvim-lspconfig mentioned in other comments, but it has been pretty seamless.

But any other pre-made nvim config will work, this one is just more approachable than someone's random plugin list.

[–] Ephera@lemmy.ml 2 points 1 day ago (2 children)

Is the LSP support a plugin in Neo-/Vim ?

In Kate, you just install the LSP server, which is typically as simple as apt install marksman and then Kate will automatically start it when it encounters an appropriate file.

Kate also has a Vi Mode, if that's what you're looking for. ¯\_(ツ)_/¯

[–] AeonFelis@lemmy.world 3 points 22 hours ago (1 children)

The LSP support itself is builtin in Neovim (not in Vim though, AFAIK), but each language server needs to be configured and activated. There is a plugin with all(ish) configurations - https://github.com/neovim/nvim-lspconfig - and activation is done with a vim.lsp.enable("server-name") command, which you just put in your config and the Neovim will start the LSP when you open a relevant file.

[–] Ephera@lemmy.ml 1 points 11 hours ago (1 children)

Ah, I guess that makes sense. Kate automatically detects available LSP server executables but then prompts you before starting them for the first time, in case you did not install that and it's malware, or I guess, in case you just placed a script there which happened to be called the same, but would be very bad to run.

Neovim could theoretically do that, too, but then you need a way to block executables, so that it stops prompting you every time, which you'd probably want in a separate config file.
So, it's definitely a simpler solution and perhaps moreso what one would expect from a TUI editor, for you to just list the ones to run in the config file.

[–] AeonFelis@lemmy.world 2 points 10 hours ago

Neovim has something better - there is a plugin that installs the servers for you - https://github.com/mason-org/mason.nvim - and then you can just use the servers that plugin has installed (which should be more trustworthy because you just need to trust the plugin and not some random executable)

There is also https://github.com/mason-org/mason-lspconfig.nvim which bridges the two and automatically enables servers that were installed via Mason.

[–] marlowe221@lemmy.world 3 points 1 day ago (1 children)

Where might I find a list of languages/LSPs that Kate supports and will load automatically like that?

[–] Ephera@lemmy.ml 2 points 1 day ago (1 children)

Here is the default configuration: https://invent.kde.org/utilities/kate/-/blob/master/addons/lspclient/settings.json

If you do need more LSP servers or a different one for a language, you can specify your own custom configuration in the same format.