From b58b1ffcac2985505848a63954ca51a2a0a5387a Mon Sep 17 00:00:00 2001 From: caem Date: Sat, 28 Sep 2024 21:05:55 +0200 Subject: [PATCH] nvim: Add cord.nvim --- dotfiles/nvim/lua/plugins/presence.lua | 20 ++++++++++++++++++++ modules/packages/nvim.nix | 1 + 2 files changed, 21 insertions(+) create mode 100644 dotfiles/nvim/lua/plugins/presence.lua diff --git a/dotfiles/nvim/lua/plugins/presence.lua b/dotfiles/nvim/lua/plugins/presence.lua new file mode 100644 index 0000000..292844a --- /dev/null +++ b/dotfiles/nvim/lua/plugins/presence.lua @@ -0,0 +1,20 @@ +return { + "vyfor/cord.nvim", + build = "./build || .\\build", + event = "VeryLazy", + config = function() + require"cord".setup { + editor = { + tooltip = "I will escape this meat prison one day.", + }, + display = { + show_repository = false, + show_cursor_position = true, + }, + lsp = { + show_problem_count = true, + severity = 2, + }, + } + end +} diff --git a/modules/packages/nvim.nix b/modules/packages/nvim.nix index 61a38f0..392bf53 100644 --- a/modules/packages/nvim.nix +++ b/modules/packages/nvim.nix @@ -32,6 +32,7 @@ fd texlab haskell-language-server + rustc ]; };