aboutsummaryrefslogtreecommitdiffstats
path: root/modules/home/soispha/conf/nvim/plgs/lsp-progress-nvim/default.nix
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-05-23 13:31:11 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-05-23 13:33:40 +0200
commitfd9b0ecef4142a62b45404700ba1cff488f84a73 (patch)
treeef6c1f74f05a2220a41ccff4b0890c39229f32f7 /modules/home/soispha/conf/nvim/plgs/lsp-progress-nvim/default.nix
parentrefactor(pkgs): Categorize into `by-name` shards (diff)
downloadnixos-config-fd9b0ecef4142a62b45404700ba1cff488f84a73.zip
refactor(modules/home): Setup as "normal" NixOS module
Diffstat (limited to 'modules/home/soispha/conf/nvim/plgs/lsp-progress-nvim/default.nix')
-rw-r--r--modules/home/soispha/conf/nvim/plgs/lsp-progress-nvim/default.nix50
1 files changed, 0 insertions, 50 deletions
diff --git a/modules/home/soispha/conf/nvim/plgs/lsp-progress-nvim/default.nix b/modules/home/soispha/conf/nvim/plgs/lsp-progress-nvim/default.nix
deleted file mode 100644
index 6602ceb6..00000000
--- a/modules/home/soispha/conf/nvim/plgs/lsp-progress-nvim/default.nix
+++ /dev/null
@@ -1,50 +0,0 @@
-{
- lib,
- pkgs,
- ...
-}: {
- programs.nixvim = {
- # TODO: package lsp-progress-nvim though a module
- extraConfigLuaPost = ''
- ${lib.strings.fileContents ./lua/lsp-progress-nvim.lua}
- '';
- extraPlugins = [
- pkgs.vimExtraPlugins.lsp-progress-nvim
- ];
-
- # Status line setup
- autoGroups.lsp_refresh.clear = true;
- autoCmd = [
- {
- event = ["User LspProgressStatusUpdated"];
- pattern = ["*"];
- callback =
- /*
- lua
- */
- {
- __raw = ''
- require("lualine").refresh
- '';
- };
- group = "lsp_refresh";
- description = "Refresh the statusbar when the lsp status was updated.";
- }
- ];
- plugins.lualine = let
- get_lsp_progress = {
- __raw =
- /*
- lua
- */
- ''
- require('lsp-progress').progress
- '';
- };
- in {
- sections = {
- lualine_c = [{name = get_lsp_progress;}];
- };
- };
- };
-}