2024-02-03 13:33:17 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
plugins.lsp.enable = true;
|
2024-08-18 02:45:24 +00:00
|
|
|
plugins.lsp.inlayHints = true;
|
2024-02-03 13:33:17 +00:00
|
|
|
|
|
|
|
# Enable all of the LSP servers that I'll likely use.
|
|
|
|
plugins.lsp.servers = {
|
|
|
|
bashls.enable = true; # For Bash.
|
|
|
|
clangd.enable = true; # For C/C++.
|
|
|
|
cmake.enable = true; # For CMake.
|
|
|
|
cssls.enable = true; # For CSS.
|
|
|
|
denols.enable = true; # For Deno runtime.
|
|
|
|
dockerls.enable = true; # For Dockerfiles.
|
2024-11-14 08:16:50 +00:00
|
|
|
emmet_ls.enable = true; # For emmet support.
|
2024-02-03 13:33:17 +00:00
|
|
|
eslint.enable = true; # For JavaScript.
|
|
|
|
html.enable = true; # For HTML.
|
|
|
|
jsonls.enable = true; # There's one for JSON?
|
|
|
|
lemminx.enable = true; # And for XML?
|
|
|
|
ltex.enable = true; # And for LanguageTool, too?
|
2024-11-14 08:16:50 +00:00
|
|
|
lua_ls.enable = true; # For Lua.
|
2024-08-18 02:45:24 +00:00
|
|
|
nixd.enable = true; # For Nix.
|
2024-02-03 13:33:17 +00:00
|
|
|
nushell.enable = true; # For Nushell.
|
|
|
|
pyright.enable = true; # For Python.
|
2024-03-03 02:53:42 +00:00
|
|
|
|
|
|
|
# For Rust (even though I barely use it).
|
2024-11-14 08:16:50 +00:00
|
|
|
rust_analyzer = {
|
2024-03-03 02:53:42 +00:00
|
|
|
enable = true;
|
|
|
|
installRustc = false;
|
|
|
|
};
|
|
|
|
|
2024-02-03 13:33:17 +00:00
|
|
|
solargraph.enable = true; # For Ruby.
|
|
|
|
tailwindcss.enable = true; # For Tailwind CSS.
|
|
|
|
terraformls.enable = true; # For Terraform.
|
2024-11-14 08:16:50 +00:00
|
|
|
ts_ls.enable = true; # For TypeScript.
|
2024-02-03 13:33:17 +00:00
|
|
|
};
|
|
|
|
}
|