From 0d329818422e5c55a5ddc730a3d08453427b96a0 Mon Sep 17 00:00:00 2001 From: iFargle Date: Wed, 7 Feb 2024 13:32:47 +0900 Subject: [PATCH] test --- .../common/software/cli/neovim/default.nix | 68 +------------------ 1 file changed, 3 insertions(+), 65 deletions(-) diff --git a/home-manager/common/software/cli/neovim/default.nix b/home-manager/common/software/cli/neovim/default.nix index 8d4a1b6b..13888aae 100644 --- a/home-manager/common/software/cli/neovim/default.nix +++ b/home-manager/common/software/cli/neovim/default.nix @@ -14,8 +14,10 @@ fzfWrapper nvim-treesitter elixir-tools-nvim - nvchad-ui + + # Themes catppuccin-nvim + tokyonight-nvim ]; }; @@ -37,68 +39,4 @@ source = "${pkgs.vimPlugins.nvchad}/"; target = "./nvim"; }; - - xdg.configFile."nvim-custom-plugins" = { - enable = true; - target = "./nvim/lua/custom/plugins.lua"; - text = '' -local overrides = require("custom.configs.overrides") - ----@type NvPluginSpec[] -local plugins = { - - -- Override plugin definition options - - { - "neovim/nvim-lspconfig", - dependencies = { - -- format & linting - { - "jose-elias-alvarez/null-ls.nvim", - config = function() - require "custom.configs.null-ls" - end, - }, - }, - config = function() - require "plugins.configs.lspconfig" - require "custom.configs.lspconfig" - end, -- Override to setup mason-lspconfig - }, - - -- override plugin configs - { - "williamboman/mason.nvim", - opts = overrides.mason - }, - - { - "nvim-treesitter/nvim-treesitter", - opts = overrides.treesitter, - }, - - { - "nvim-tree/nvim-tree.lua", - opts = overrides.nvimtree, - }, - - -- Install a plugin - { - "max397574/better-escape.nvim", - event = "InsertEnter", - config = function() - require("better_escape").setup() - end, - }, - - -- vim-fugitive for integrated Git - { - "tpope/vim-fugitive", - event = "VeryLazy", - } -} - -return plugins - ''; - }; }