discord-presence-lsp
This commit is contained in:
parent
cf545e9bf8
commit
c949375961
4 changed files with 66 additions and 18 deletions
|
@ -26,6 +26,36 @@
|
|||
command = "${pkgs.nushell}/bin/nu";
|
||||
args = [ "--lsp" ];
|
||||
};
|
||||
"discord-presence-lsp" = {
|
||||
command = "discord-presence-lsp";
|
||||
config = {
|
||||
# initialization_options = {
|
||||
application_id = "1376167046974279731";
|
||||
base_icons_url = "https://raw.githubusercontent.com/xhyrom/zed-discord-presence/main/assets/icons/";
|
||||
state = "Working on {filename}";
|
||||
details = "In {workspace}";
|
||||
large_image = "{language}";
|
||||
large_text = "{language:u}";
|
||||
small_image = "logo";
|
||||
small_text = "Helix";
|
||||
# idle = {
|
||||
# timeout = 999999999999999999;
|
||||
# action = "change_activity";
|
||||
# state = "Idling";
|
||||
# details = "In Helix";
|
||||
# large_image = "logo";
|
||||
# large_text = "Helix";
|
||||
# small_image = "idle";
|
||||
# small_text = "Idle";
|
||||
# };
|
||||
rules = {
|
||||
mode = "blacklist";
|
||||
paths = [ "absolute path" ];
|
||||
};
|
||||
git_integration = true;
|
||||
# };
|
||||
};
|
||||
};
|
||||
"rust-analyzer" = {
|
||||
config = {
|
||||
check.command = "check";
|
||||
|
@ -84,7 +114,10 @@
|
|||
language = [
|
||||
{
|
||||
name = "nu";
|
||||
language-servers = [ "nu-builtin-lsp" ];
|
||||
language-servers = [
|
||||
"nu-builtin-lsp"
|
||||
"discord-presence-lsp"
|
||||
];
|
||||
}
|
||||
{
|
||||
name = "php";
|
||||
|
@ -92,12 +125,20 @@
|
|||
}
|
||||
{
|
||||
name = "nix";
|
||||
# language-servers = [""]
|
||||
formatter = {
|
||||
command = "${pkgs.nixfmt-rfc-style}/bin/nixfmt";
|
||||
args = [ "--quiet" ];
|
||||
};
|
||||
auto-format = true;
|
||||
}
|
||||
{
|
||||
name = "rust";
|
||||
language-servers = [
|
||||
# "rust-analyzer"
|
||||
"discord-presence-lsp"
|
||||
];
|
||||
}
|
||||
{
|
||||
name = "html";
|
||||
roots = [ ".git" ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue