|
|
@ -22,15 +22,17 @@ return require("packer").startup(function(use)
|
|
|
|
-- indicate git diff status of line
|
|
|
|
-- indicate git diff status of line
|
|
|
|
use { 'lewis6991/gitsigns.nvim' }
|
|
|
|
use { 'lewis6991/gitsigns.nvim' }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- show indentation lines (in empty lines too)
|
|
|
|
|
|
|
|
use { 'lukas-reineke/indent-blankline.nvim' }
|
|
|
|
|
|
|
|
|
|
|
|
-- improved java syntax highlighting
|
|
|
|
-- improved java syntax highlighting
|
|
|
|
use { 'uiiaoo/java-syntax.vim',
|
|
|
|
use { 'uiiaoo/java-syntax.vim',
|
|
|
|
ft = { 'java' } }
|
|
|
|
ft = { 'java' }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
-- custom statusline
|
|
|
|
-- custom statusline
|
|
|
|
use {
|
|
|
|
use { 'nvim-lualine/lualine.nvim',
|
|
|
|
'nvim-lualine/lualine.nvim',
|
|
|
|
requires = { 'nvim-tree/nvim-web-devicons' }
|
|
|
|
requires = { 'nvim-tree/nvim-web-devicons',
|
|
|
|
|
|
|
|
opt = true }
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
-- show signature while typing
|
|
|
|
-- show signature while typing
|
|
|
@ -39,26 +41,18 @@ return require("packer").startup(function(use)
|
|
|
|
-- preview for markdown filetypes
|
|
|
|
-- preview for markdown filetypes
|
|
|
|
use { "iamcco/markdown-preview.nvim",
|
|
|
|
use { "iamcco/markdown-preview.nvim",
|
|
|
|
ft = { 'md' },
|
|
|
|
ft = { 'md' },
|
|
|
|
run = "cd app && npm install" }
|
|
|
|
run = "cd app && npm install"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
-- latex asynchronous pdf rendering
|
|
|
|
-- latex asynchronous pdf rendering
|
|
|
|
use { 'donRaphaco/neotex',
|
|
|
|
use { 'donRaphaco/neotex',
|
|
|
|
ft = { 'tex' } }
|
|
|
|
ft = { 'tex' }
|
|
|
|
|
|
|
|
|
|
|
|
-- fileexplorer on the side
|
|
|
|
|
|
|
|
use {
|
|
|
|
|
|
|
|
"nvim-neo-tree/neo-tree.nvim",
|
|
|
|
|
|
|
|
branch = "v3.x",
|
|
|
|
|
|
|
|
requires = {
|
|
|
|
|
|
|
|
"nvim-lua/plenary.nvim",
|
|
|
|
|
|
|
|
"nvim-tree/nvim-web-devicons",
|
|
|
|
|
|
|
|
"MunifTanjim/nui.nvim",
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
-- nim language support
|
|
|
|
-- nim language support
|
|
|
|
use { 'zah/nim.vim',
|
|
|
|
use { 'zah/nim.vim',
|
|
|
|
ft = { 'nim' } }
|
|
|
|
ft = { 'nim' }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
-- automatic closing of brackets
|
|
|
|
-- automatic closing of brackets
|
|
|
|
use { 'windwp/nvim-autopairs' }
|
|
|
|
use { 'windwp/nvim-autopairs' }
|
|
|
@ -79,14 +73,15 @@ return require("packer").startup(function(use)
|
|
|
|
'jose-elias-alvarez/null-ls.nvim',
|
|
|
|
'jose-elias-alvarez/null-ls.nvim',
|
|
|
|
'LostNeophyte/null-ls-embedded',
|
|
|
|
'LostNeophyte/null-ls-embedded',
|
|
|
|
'nvim-lua/plenary.nvim',
|
|
|
|
'nvim-lua/plenary.nvim',
|
|
|
|
'jay-babu/mason-null-ls.nvim' } }
|
|
|
|
'jay-babu/mason-null-ls.nvim'
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
-- showing color of hex values, etc
|
|
|
|
-- showing color of hex values, etc
|
|
|
|
use { 'norcalli/nvim-colorizer.lua' }
|
|
|
|
use { 'norcalli/nvim-colorizer.lua' }
|
|
|
|
|
|
|
|
|
|
|
|
-- show tags
|
|
|
|
-- show tags
|
|
|
|
use {
|
|
|
|
use { "SmiteshP/nvim-navbuddy",
|
|
|
|
"SmiteshP/nvim-navbuddy",
|
|
|
|
|
|
|
|
requires = {
|
|
|
|
requires = {
|
|
|
|
"neovim/nvim-lspconfig",
|
|
|
|
"neovim/nvim-lspconfig",
|
|
|
|
"SmiteshP/nvim-navic",
|
|
|
|
"SmiteshP/nvim-navic",
|
|
|
@ -94,31 +89,52 @@ return require("packer").startup(function(use)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- fileexplorer on the side
|
|
|
|
|
|
|
|
use { "nvim-tree/nvim-tree.lua",
|
|
|
|
|
|
|
|
requires = {
|
|
|
|
|
|
|
|
"nvim-tree/nvim-web-devicons",
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
-- better language highlighting by improved parsing
|
|
|
|
-- better language highlighting by improved parsing
|
|
|
|
use { 'nvim-treesitter/nvim-treesitter' }
|
|
|
|
use { 'nvim-treesitter/nvim-treesitter' }
|
|
|
|
|
|
|
|
|
|
|
|
-- automatically close html-tags
|
|
|
|
-- automatically close html-tags
|
|
|
|
use { 'windwp/nvim-ts-autotag',
|
|
|
|
use { 'windwp/nvim-ts-autotag',
|
|
|
|
requires = { 'nvim-treesitter/nvim-treesitter' } }
|
|
|
|
requires = { 'nvim-treesitter/nvim-treesitter' }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
-- colorful brackets
|
|
|
|
-- colorful brackets
|
|
|
|
use { 'luochen1990/rainbow' }
|
|
|
|
use { 'luochen1990/rainbow' }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- fuzzy finder
|
|
|
|
|
|
|
|
use {
|
|
|
|
|
|
|
|
'nvim-telescope/telescope.nvim',
|
|
|
|
|
|
|
|
tag = '0.1.2',
|
|
|
|
|
|
|
|
requires = { 'nvim-lua/plenary.nvim' }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- clean up white spaces and empty lines before writing
|
|
|
|
|
|
|
|
use { "mcauley-penney/tidy.nvim" }
|
|
|
|
|
|
|
|
|
|
|
|
-- todo symbols and highlighting
|
|
|
|
-- todo symbols and highlighting
|
|
|
|
use { 'folke/todo-comments.nvim',
|
|
|
|
use { 'folke/todo-comments.nvim',
|
|
|
|
requires = { 'nvim-lua/plenary.nvim' } }
|
|
|
|
requires = { 'nvim-lua/plenary.nvim' }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
-- git wrapper
|
|
|
|
-- git wrapper
|
|
|
|
use { 'tpope/vim-fugitive' }
|
|
|
|
use { 'tpope/vim-fugitive' }
|
|
|
|
|
|
|
|
|
|
|
|
-- golang language support
|
|
|
|
-- golang language support
|
|
|
|
use { 'fatih/vim-go',
|
|
|
|
use { 'fatih/vim-go',
|
|
|
|
ft = { 'go' } }
|
|
|
|
ft = { 'go' }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
-- markdown language support
|
|
|
|
-- markdown language support
|
|
|
|
use { 'preservim/vim-markdown',
|
|
|
|
use { 'preservim/vim-markdown',
|
|
|
|
ft = { 'md' },
|
|
|
|
ft = { 'md' },
|
|
|
|
requires = { 'godlygeek/tabular' } }
|
|
|
|
requires = { 'godlygeek/tabular' }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
-- bulk renamer
|
|
|
|
-- bulk renamer
|
|
|
|
use { 'qpkorr/vim-renamer' }
|
|
|
|
use { 'qpkorr/vim-renamer' }
|
|
|
|