Created
March 25, 2024 09:03
-
-
Save leongjs98/3e491129d5a69a87938561371f3b4371 to your computer and use it in GitHub Desktop.
Full packer.lua config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local packer = require('packer') | |
packer.init({ | |
luarocks = { | |
python_cmd = 'python3' | |
}, | |
profile = { | |
enable = false, | |
theshold = 1, | |
}, | |
log = { level = 'warn' }, | |
}) | |
return packer.startup(function(use) | |
-- Packer can manage itself | |
use 'wbthomason/packer.nvim' | |
use 'nvim-lua/plenary.nvim' | |
-- Themes | |
use 'folke/tokyonight.nvim' | |
use 'ellisonleao/gruvbox.nvim' | |
use 'olimorris/onedarkpro.nvim' | |
-- Navigations | |
use { | |
-- 'nvim-telescope/telescope.nvim', tag = '0.1.0', | |
'nvim-telescope/telescope.nvim', | |
requires = { { 'nvim-lua/plenary.nvim' } } | |
} | |
use 'ThePrimeagen/harpoon' | |
use 'mbbill/undotree' | |
use 'tpope/vim-fugitive' | |
use 'brenoprata10/nvim-highlight-colors' | |
use { | |
'nvim-tree/nvim-tree.lua', | |
requires = { | |
'nvim-tree/nvim-web-devicons', -- optional | |
}, | |
} | |
use 'tpope/vim-dadbod' | |
use 'kristijanhusak/vim-dadbod-ui' | |
use 'kristijanhusak/vim-dadbod-completion' | |
-- Org mode | |
use { 'nvim-orgmode/orgmode', config = function() | |
require('orgmode').setup { | |
symbols = { | |
-- list symbol | |
list = "•", | |
-- headlines can be a list | |
headlines = { "◉", "○", "✸", "✿" }, | |
-- or a function that receives the defaults and returns a list | |
-- headlines = function(default_list) | |
-- table.insert(default_list, "♥") | |
-- return default_list | |
-- end, | |
-- checkboxes = { | |
-- half = { "", "OrgTSCheckboxHalfChecked" }, | |
-- done = { "✓", "OrgDone" }, | |
-- todo = { "˟", "OrgTODO" }, | |
-- }, | |
} | |
} | |
end | |
} | |
use { 'akinsho/org-bullets.nvim', config = function() | |
require('org-bullets').setup() | |
end } | |
-- Neorg | |
use { | |
"nvim-neorg/neorg", | |
rocks = { "lua-utils.nvim", "nvim-nio", "nui.nvim", "plenary.nvim" }, | |
tag = "*", -- Pin Neorg to the latest stable release | |
-- config = function() | |
-- require("neorg").setup() | |
-- end, | |
} | |
-- use { 'hrsh7th/nvim-compe' } -- for testing | |
-- use { 'folke/zen-mode.nvim' } -- for testing | |
-- use({ -- for testing | |
-- "Pocco81/true-zen.nvim", | |
-- config = function() | |
-- require("true-zen").setup { | |
-- -- your config goes here | |
-- -- or just leave it empty :) | |
-- } | |
-- end, | |
-- }) | |
-- Treesitter | |
use { | |
'nvim-treesitter/nvim-treesitter', | |
run = ':TSUpdate' | |
} | |
use('nvim-treesitter/playground') | |
-- Autocompletion | |
use "JoosepAlviste/nvim-ts-context-commentstring" -- Know what to comments to use | |
use { | |
"windwp/nvim-autopairs", | |
config = function() require("nvim-autopairs").setup {} end | |
} | |
use "windwp/nvim-ts-autotag" | |
use { | |
'numToStr/Comment.nvim', | |
config = function() | |
require('Comment').setup() | |
end | |
} | |
-- use { | |
-- 'neoclide/coc.nvim', | |
-- branch = 'release' | |
-- } | |
use { | |
'VonHeikemen/lsp-zero.nvim', | |
branch = 'v1.x', | |
requires = { | |
-- LSP Support | |
{ 'williamboman/mason.nvim' }, -- Optional | |
{ 'williamboman/mason-lspconfig.nvim' }, -- Optional | |
{ 'neovim/nvim-lspconfig' }, -- Required | |
-- Autocompletion | |
{ 'hrsh7th/nvim-cmp' }, -- Required | |
{ 'hrsh7th/cmp-nvim-lsp' }, -- Required | |
{ 'hrsh7th/cmp-buffer' }, -- Optional | |
{ 'hrsh7th/cmp-path' }, -- Optional | |
{ 'saadparwaiz1/cmp_luasnip' }, -- Optional | |
{ 'hrsh7th/cmp-nvim-lua' }, -- Optional | |
-- Snippets | |
{ 'L3MON4D3/LuaSnip' }, -- Required | |
{ 'rafamadriz/friendly-snippets' }, -- Optional | |
} | |
} | |
-- use { | |
-- "themaxmarchuk/tailwindcss-colors.nvim", | |
-- -- load only on require("tailwindcss-colors") | |
-- module = "tailwindcss-colors", | |
-- -- run the setup function after plugin is loaded | |
-- config = function () | |
-- -- pass config options here (or nothing to use defaults) | |
-- require("tailwindcss-colors").setup() | |
-- end | |
-- } | |
-- use { | |
-- 'VonHeikemen/lsp-zero.nvim', | |
-- branch = 'v2.x', | |
-- requires = { | |
-- -- LSP Support | |
-- {'neovim/nvim-lspconfig'}, -- Required | |
-- { -- Optional | |
-- 'williamboman/mason.nvim', | |
-- run = function() | |
-- pcall(vim.cmd, 'MasonUpdate') | |
-- end, | |
-- }, | |
-- | |
-- {'williamboman/mason-lspconfig.nvim'}, -- Optional | |
-- | |
-- -- Autocompletion | |
-- {'hrsh7th/nvim-cmp'}, -- Required | |
-- {'hrsh7th/cmp-nvim-lsp'}, -- Required | |
-- {'L3MON4D3/LuaSnip'}, -- Required | |
-- } | |
-- } | |
-- -- Git | |
-- use "lewis6991/gitsigns.nvim" | |
-- | |
-- -- Others | |
-- use "nvim-lua/popup.nvim" -- Common Dependency | |
-- use "windwp/nvim-autopairs" | |
-- use "numToStr/Comment.nvim" | |
-- use "JoosepAlviste/nvim-ts-context-commentstring" -- Know what to comments to use | |
end) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment