|
|
|
@ -24,14 +24,13 @@ vim.g.maplocalleader = ' '
|
|
|
|
|
|
|
|
|
|
require('lazy').setup({
|
|
|
|
|
-- The colorscheme of choice
|
|
|
|
|
{ 'ellisonleao/gruvbox.nvim', priority = 1000 },
|
|
|
|
|
{ 'luisiacc/gruvbox-baby', priority = 1000 },
|
|
|
|
|
|
|
|
|
|
-- modern neovim with treesitter, lsp, null-ls, cmp and vsnip
|
|
|
|
|
-- remember to install all those tools since we do not use mason
|
|
|
|
|
-- see ../../install/3_vimux.sh
|
|
|
|
|
{ 'hrsh7th/vim-vsnip', init = get_config('vsnip') },
|
|
|
|
|
{ 'jose-elias-alvarez/null-ls.nvim', init = get_config('null-ls'), dependencies = { 'nvim-lua/plenary.nvim' } },
|
|
|
|
|
{ 'neovim/nvim-lspconfig', init = get_config('lspconfig') },
|
|
|
|
|
-- core pieces: telescope & fzf/terminal/tmux integration,
|
|
|
|
|
-- completion-engine + snippets
|
|
|
|
|
{ 'voldikss/vim-floaterm', init = get_config('floaterm') },
|
|
|
|
|
{ 'wincent/terminus' },
|
|
|
|
|
{ 'christoomey/vim-tmux-navigator'},
|
|
|
|
|
{
|
|
|
|
|
'nvim-telescope/telescope.nvim',
|
|
|
|
|
tag = '0.1.1',
|
|
|
|
@ -39,8 +38,7 @@ require('lazy').setup({
|
|
|
|
|
dependencies = { 'nvim-lua/plenary.nvim' }
|
|
|
|
|
},
|
|
|
|
|
{ 'nvim-telescope/telescope-fzf-native.nvim', build = 'make' },
|
|
|
|
|
{ 'nvim-treesitter/nvim-treesitter', init = get_config('treesitter'), build = ':TSUpdate' },
|
|
|
|
|
{ 'rafamadriz/friendly-snippets', dependencies = { 'hrsh7th/vim-vsnip' } },
|
|
|
|
|
{ 'hrsh7th/vim-vsnip', init = get_config('vsnip') },
|
|
|
|
|
{
|
|
|
|
|
'hrsh7th/nvim-cmp',
|
|
|
|
|
init = get_config('cmp'),
|
|
|
|
@ -54,53 +52,34 @@ require('lazy').setup({
|
|
|
|
|
'hrsh7th/cmp-vsnip',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{ 'rafamadriz/friendly-snippets', dependencies = { 'hrsh7th/vim-vsnip' } },
|
|
|
|
|
|
|
|
|
|
-- more modern neovim with treesitter, lsp, auto-setup and
|
|
|
|
|
-- null-ls integration; see ../../install/3_vimux.sh
|
|
|
|
|
-- and null-ls-config for installed and supported tools (Eslint, TSC etc.)
|
|
|
|
|
{ 'nvim-treesitter/nvim-treesitter', init = get_config('treesitter'), build = ':TSUpdate' },
|
|
|
|
|
{ 'neovim/nvim-lspconfig', init = get_config('lspconfig') },
|
|
|
|
|
{ 'jose-elias-alvarez/null-ls.nvim', init = get_config('null-ls'), dependencies = { 'nvim-lua/plenary.nvim' } },
|
|
|
|
|
{ 'editorconfig/editorconfig-vim' },
|
|
|
|
|
|
|
|
|
|
-- editing enhancements
|
|
|
|
|
{ 'AndrewRadev/splitjoin.vim' },
|
|
|
|
|
{ 'echasnovski/mini.ai', version = '*' },
|
|
|
|
|
{ 'numToStr/Comment.nvim', config = true },
|
|
|
|
|
{ 'tpope/vim-ragtag' },
|
|
|
|
|
{ 'tpope/vim-repeat' },
|
|
|
|
|
{ 'tpope/vim-surround' },
|
|
|
|
|
{ 'windwp/nvim-autopairs', config = true },
|
|
|
|
|
|
|
|
|
|
-- git and other external tools integration
|
|
|
|
|
{ 'christoomey/vim-tmux-navigator'},
|
|
|
|
|
{ 'editorconfig/editorconfig-vim' },
|
|
|
|
|
-- interface/code-navigation enhancements, git and others
|
|
|
|
|
{ 'ggandor/leap.nvim', init = get_config('leap') },
|
|
|
|
|
{ 'ggandor/flit.nvim', init = get_config('flit') },
|
|
|
|
|
{ 'lewis6991/gitsigns.nvim', config = true },
|
|
|
|
|
{ 'voldikss/vim-floaterm', init = get_config('floaterm') },
|
|
|
|
|
{ 'wincent/terminus' },
|
|
|
|
|
|
|
|
|
|
-- ui enhancements / navigation
|
|
|
|
|
{ -- nice popup messages
|
|
|
|
|
'rcarriga/nvim-notify',
|
|
|
|
|
init = function() vim.notify = require('notify') end
|
|
|
|
|
},
|
|
|
|
|
{ -- a nice status line
|
|
|
|
|
'nvim-lualine/lualine.nvim',
|
|
|
|
|
{ 'rcarriga/nvim-notify', init = function() vim.notify = require('notify') end },
|
|
|
|
|
{ 'nvim-lualine/lualine.nvim',
|
|
|
|
|
dependencies = { 'kyazdani42/nvim-web-devicons' },
|
|
|
|
|
event = 'VimEnter',
|
|
|
|
|
opts = { options = { theme = 'gruvbox' } },
|
|
|
|
|
},
|
|
|
|
|
{ -- easy jump navigation
|
|
|
|
|
'ggandor/leap.nvim',
|
|
|
|
|
event = 'BufReadPre',
|
|
|
|
|
init = function() require('leap').set_default_keymaps() end,
|
|
|
|
|
},
|
|
|
|
|
{ -- better f t
|
|
|
|
|
'ggandor/flit.nvim',
|
|
|
|
|
event = 'BufReadPre',
|
|
|
|
|
init = function()
|
|
|
|
|
require('flit').setup {
|
|
|
|
|
keys = { f = 'f', F = 'F', t = 't', T = 'T' },
|
|
|
|
|
labeled_modes = "v",
|
|
|
|
|
multiline = true,
|
|
|
|
|
opts = {}
|
|
|
|
|
}
|
|
|
|
|
end,
|
|
|
|
|
},
|
|
|
|
|
{ -- colorizer for nice css-colors
|
|
|
|
|
'norcalli/nvim-colorizer.lua',
|
|
|
|
|
{ 'norcalli/nvim-colorizer.lua',
|
|
|
|
|
event = 'BufReadPre',
|
|
|
|
|
opts = {
|
|
|
|
|
css = { css = true },
|
|
|
|
@ -110,7 +89,9 @@ require('lazy').setup({
|
|
|
|
|
javascript = { css = true },
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{ -- and neorg for todo-lists etc.
|
|
|
|
|
|
|
|
|
|
-- and neorg for todo-lists etc.
|
|
|
|
|
{
|
|
|
|
|
'nvim-neorg/neorg',
|
|
|
|
|
build = ':Neorg sync-parsers',
|
|
|
|
|
opts = {
|
|
|
|
|