diff --git a/config/default.nix b/config/default.nix index 28ea0f6..a1bd2cb 100644 --- a/config/default.nix +++ b/config/default.nix @@ -59,7 +59,6 @@ ./utils/illuminate.nix ./utils/markdown-preview.nix ./utils/mini.nix - ./utils/neocord.nix - + ./utils/neodev.nix ]; } diff --git a/config/utils/neocord.nix b/config/utils/neocord.nix deleted file mode 100644 index 0cfecdf..0000000 --- a/config/utils/neocord.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ - plugins.neocord = { - enable = true; - settings = { - auto_update = true; - blacklist = []; - client_id = "1157438221865717891"; - debounce_timeout = 10; - editing_text = "Editing..."; - enable_line_number = true; - logo = "https://repository-images.githubusercontent.com/325421844/ecb73f47-cb89-4ee0-a0fd-9743c2f3569a"; - logo_tooltip = "NixVim"; - file_assets = null; - file_explorer_text = "Browsing..."; - git_commit_text = "Committing changes..."; - global_timer = true; - line_number_text = "Line %s out of %s"; - log_level = null; - main_image = "logo"; - plugin_manager_text = "Managing plugins..."; - reading_text = "Reading..."; - show_time = true; - terminal_text = "Using Terminal..."; - workspace_text = "Working on %s"; - }; - }; -} - diff --git a/config/utils/neodev.nix b/config/utils/neodev.nix new file mode 100644 index 0000000..00a9479 --- /dev/null +++ b/config/utils/neodev.nix @@ -0,0 +1,12 @@ +{pkgs, ...}: { + extraPlugins = with pkgs.vimPlugins; [ + neodev-nvim + ]; + + extraConfigLua = '' + require("neodev").setup({ + library = { plugins = {"neotest"}, types = true}, + }) + ''; +} +