From 1be69caabb033867939a0f1531e0ee1f4b72d1b4 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 2 May 2023 01:11:22 +0100 Subject: [PATCH] fix(nvim): remove plugins.lua --- config/neovim/init.lua | 2 - config/neovim/lua/opdavies/plugins.lua | 137 ------------------------- 2 files changed, 139 deletions(-) delete mode 100644 config/neovim/lua/opdavies/plugins.lua diff --git a/config/neovim/init.lua b/config/neovim/init.lua index 2f8e49d..dd2b182 100644 --- a/config/neovim/init.lua +++ b/config/neovim/init.lua @@ -4,8 +4,6 @@ require "opdavies.globals" require("opdavies.options").setup() -require "opdavies.plugins" - require "opdavies.lsp" require "opdavies.telescope.setup" diff --git a/config/neovim/lua/opdavies/plugins.lua b/config/neovim/lua/opdavies/plugins.lua deleted file mode 100644 index 98915f8..0000000 --- a/config/neovim/lua/opdavies/plugins.lua +++ /dev/null @@ -1,137 +0,0 @@ -local status_ok, packer = pcall(require, "packer") -if not status_ok then - return -end - -packer.init { - display = { - open_fn = function() - return require("packer.util").float {} - end, - }, -} - -return packer.startup(function() - local use = packer.use - - use "wbthomason/packer.nvim" - - -- Tmux - use "preservim/vimux" - - -- Utilities - use "aca/emmet-ls" - use "andymass/vim-matchup" - use "cakebaker/scss-syntax.vim" - use "christoomey/vim-sort-motion" - use "christoomey/vim-tmux-navigator" - use "editorconfig/editorconfig-vim" - use "folke/twilight.nvim" - use "folke/zen-mode.nvim" - use "icatalina/vim-case-change" - use "junegunn/vim-easy-align" - use "kazhala/close-buffers.nvim" - use "kyazdani42/nvim-web-devicons" - use "lewis6991/gitsigns.nvim" - use "lewis6991/impatient.nvim" - use "machakann/vim-highlightedyank" - use "miyakogi/seiya.vim" - use "mkitt/tabline.vim" - use "monaqa/dial.nvim" - use "norcalli/nvim-colorizer.lua" - use "numToStr/Comment.nvim" - use "nvim-lua/plenary.nvim" - use "nvim-lua/popup.nvim" - use "sheerun/vim-polyglot" - use "theprimeagen/git-worktree.nvim" - use "theprimeagen/refactoring.nvim" - use "tjdevries/express_line.nvim" - use "tpope/vim-abolish" - use "tpope/vim-repeat" - use "tpope/vim-surround" - use "vim-test/vim-test" - use { "mg979/vim-visual-multi", branch = "master" } - - -- Themes - use { - "tjdevries/gruvbuddy.nvim", - requires = { - "tjdevries/colorbuddy.vim", - }, - } - - -- Navigation - use "ThePrimeagen/harpoon" - use "tamago324/lir-git-status.nvim" - use "tamago324/lir.nvim" - - -- Treesitter - use "nvim-treesitter/playground" - use 'nvim-treesitter/nvim-treesitter-context' - use { - "nvim-treesitter/nvim-treesitter", - run = ":TSUpdate", - } - use "nvim-treesitter/nvim-treesitter-textobjects" - - -- Completion - use { - "hrsh7th/nvim-cmp", - requires = { - "L3MON4D3/LuaSnip", - "hrsh7th/cmp-buffer", - "hrsh7th/cmp-nvim-lsp", - "hrsh7th/cmp-path", - "onsails/lspkind-nvim", - "saadparwaiz1/cmp_luasnip", - }, - } - - -- Snippets - use "L3MON4D3/LuaSnip" - use "rafamadriz/friendly-snippets" - - -- LSP - use "jose-elias-alvarez/null-ls.nvim" - use "neovim/nvim-lspconfig" - use "nvim-lua/lsp-status.nvim" - - -- Debugging - use "mfussenegger/nvim-dap" - use "nvim-telescope/telescope-dap.nvim" - use "rcarriga/nvim-dap-ui" - use "theHamsta/nvim-dap-virtual-text" - - -- Telescope - use "nvim-telescope/telescope.nvim" - use "nvim-telescope/telescope-file-browser.nvim" - use { "nvim-telescope/telescope-fzf-native.nvim", run = "make" } - use { "nvim-telescope/telescope-ui-select.nvim" } - - -- Git - use "TimUntersberger/neogit" - - -- Databases - use "tpope/vim-dadbod" - use "kristijanhusak/vim-dadbod-completion" - use "kristijanhusak/vim-dadbod-ui" - - -- HTTP client - use "rest-nvim/rest.nvim" - - -- Text objects - use "kana/vim-textobj-indent" - use "kana/vim-textobj-user" - use "vim-scripts/argtextobj.vim" - use "wellle/targets.vim" - - -- Markdown - use { - "iamcco/markdown-preview.nvim", - run = "cd app && npm install", - setup = function() - vim.g.mkdp_filetypes = { "markdown" } - end, - ft = { "markdown" }, - } -end)