From fca432c98577459b43a5dcf66e5bb52b91149d17 Mon Sep 17 00:00:00 2001 From: Daniele Pintore Date: Mon, 15 Jul 2024 00:35:58 +0200 Subject: [PATCH] Remove packer references --- .config/nvim/lua/configs/init.lua | 1 - .config/nvim/lua/configs/packer.lua | 108 ---------------------------- 2 files changed, 109 deletions(-) delete mode 100644 .config/nvim/lua/configs/packer.lua diff --git a/.config/nvim/lua/configs/init.lua b/.config/nvim/lua/configs/init.lua index 89cb8d4..f90a893 100644 --- a/.config/nvim/lua/configs/init.lua +++ b/.config/nvim/lua/configs/init.lua @@ -1,5 +1,4 @@ require("configs.remap") -- set remps like leader and other useful ones require("configs.set") -- set vim preferences --- require("configs.packer") require("configs.lazy") -- configure lazy plugin manager require("configs.templates") -- configure templates for various files diff --git a/.config/nvim/lua/configs/packer.lua b/.config/nvim/lua/configs/packer.lua deleted file mode 100644 index e3b1147..0000000 --- a/.config/nvim/lua/configs/packer.lua +++ /dev/null @@ -1,108 +0,0 @@ --- This file can be loaded by calling `lua require('plugins')` from your init.vim - --- Only required if you have packer configured as `opt` -vim.cmd [[packadd packer.nvim]] - -return require('packer').startup(function(use) - -- Packer can manage itself - use 'wbthomason/packer.nvim' - - use { - 'nvim-telescope/telescope.nvim', tag = '0.1.2', - -- or , branch = '0.1.x', - requires = { { 'nvim-lua/plenary.nvim' } } - } - - use({ - "catppuccin/nvim", - as = "catppuccin", - config = function() - require('catppuccin').setup({ - term_colors = false, - transparent_background = true, - styles = { - comments = {}, - conditionals = {}, - loops = {}, - functions = {}, - keywords = {}, - strings = {}, - variables = {}, - numbers = {}, - booleans = {}, - properties = {}, - types = {}, - }, - - --[[color_overrides = { - mocha = { - base = "#000000", - mantle = "#000000", - crust = "#000000", - }, - } ]] -- - }) - - -- set the colorscheme - vim.cmd('colorscheme catppuccin') - end - }) - - use { - 'nvim-treesitter/nvim-treesitter', - run = ':TSUpdate' - } - - use("ThePrimeagen/harpoon") - - use("mbbill/undotree") - - use("tpope/vim-fugitive") - - use { - 'VonHeikemen/lsp-zero.nvim', - branch = 'dev-v3', - requires = { - --- Uncomment these if you want to manage LSP servers from neovim - { 'williamboman/mason.nvim' }, - { 'williamboman/mason-lspconfig.nvim' }, - --- - - -- LSP Support - { 'neovim/nvim-lspconfig' }, - -- Autocompletion - { 'hrsh7th/nvim-cmp' }, - { 'hrsh7th/cmp-nvim-lsp' }, - { 'L3MON4D3/LuaSnip' }, - } - } - - -- Github copilot - use("github/copilot.vim") - - -- For navigation between vim and tmux - use("christoomey/vim-tmux-navigator") - - -- Per project custom lsp config - use("folke/neoconf.nvim") - use { "vimwiki/vimwiki", - config = function() - -- Restrict vimwiki to only the path specified in the vimwiki_list global var - vim.g.vimwiki_global_ext = 0 - -- Configure a list of vimwiki wiki, need a :PackerCompile to apply - vim.g.vimwiki_list = { - { - path = '~/Documents/cybersecurity/wiki/', - path_html = '~/Documents/cybersecurity/wiki/dist', - template_path = '~/.config/vimwiki/templates/cybersecurity/', - template_default = 'default', - template_ext = 'html', - css_name = 'css/styles.css', - syntax = 'markdown', - ext = '.md', - custom_wiki2html = '~/.config/vimwiki/parse_wiki.py', - }, - } - end, - } -end)