aboutsummaryrefslogtreecommitdiffstats
path: root/nvim/lua/plugins.lua
diff options
context:
space:
mode:
authorJean-Pierre Appel <jeanpierre.appel01@gmail.com>2023-02-21 01:04:26 -0500
committerJean-Pierre Appel <jeanpierre.appel01@gmail.com>2023-02-21 01:04:26 -0500
commit11b04ad1e5ef81d42c4384af94d7ba4161f0c160 (patch)
tree1438bb5285499d984db60a29ec18eded634c9bf4 /nvim/lua/plugins.lua
parent118592d53cb9a509831030de348963029aa603a8 (diff)
Added nvim and tmux config
Diffstat (limited to 'nvim/lua/plugins.lua')
-rw-r--r--nvim/lua/plugins.lua85
1 files changed, 85 insertions, 0 deletions
diff --git a/nvim/lua/plugins.lua b/nvim/lua/plugins.lua
new file mode 100644
index 0000000..47024bd
--- /dev/null
+++ b/nvim/lua/plugins.lua
@@ -0,0 +1,85 @@
+return require('packer').startup(function(use)
+ use 'wbthomason/packer.nvim' -- package manager
+ use 'neovim/nvim-lspconfig' -- config for lsp
+
+ -- common dependacy
+ use "nvim-lua/plenary.nvim"
+
+ -- git
+ use 'tpope/vim-fugitive' -- close to native git command integrations
+
+
+ use {
+ 'nvim-telescope/telescope.nvim', tag = '0.1.0', -- fuzzy finder
+ requires = { {'nvim-lua/plenary.nvim'}, {'nvim-tree/nvim-web-devicons'} }
+ }
+
+ -- completion
+ -- TODO:config completion and setup binds
+ use 'hrsh7th/nvim-cmp'
+ use {
+ 'hrsh7th/cmp-nvim-lsp',
+ requires = { {'hrsh7th/nvim-cmp'}, {'neovim/nvim-lspconfig'} }
+ }
+ use {
+ 'hrsh7th/cmp-path',
+ requires = { 'hrsh7th/nvim-cmp' }
+ }
+ use {
+ 'kdheepak/cmp-latex-symbols',
+ requires = { 'hrsh7th/nvim-cmp' }
+ }
+
+
+ -- pandoc
+ use 'vim-pandoc/vim-pandoc'
+ use 'vim-pandoc/vim-pandoc-syntax'
+
+ -- tree sitter
+ use {
+ 'nvim-treesitter/nvim-treesitter',
+ run = ':TSUpdate'
+ }
+
+ use {
+ 'numToStr/Comment.nvim', -- faster commentting
+ config = function()
+ require('Comment').setup()
+ end
+ }
+
+ use 'habamax/vim-godot'
+
+ -- TODO: configure tree-sitter to color current indentation level
+ use {
+ 'lukas-reineke/indent-blankline.nvim', -- show indentation levels
+ config = function()
+ require('indent_blankline').setup {
+ show_current_context = true,
+ show_current_context_start = true
+ }
+ end
+ }
+
+ -- statusline/bufferline
+ use {
+ 'nvim-lualine/lualine.nvim', -- lualine
+ requires = { 'nvim-tree/nvim-web-devicons', opt = true },
+ config = function()
+ require('lualine').setup()
+ end
+ }
+ use {
+ 'akinsho/bufferline.nvim', -- bufferline
+ tag = "v3.*",
+ requires = 'nvim-tree/nvim-web-devicons',
+ config = function()
+ require('bufferline').setup()
+ end
+ }
+
+ -- cosmetic
+ use { "catppuccin/nvim", as = "catppuccin" } -- colorscheme
+ -- use 'kyazdani42/nvim-web-devicons'
+
+end)