nvim: reformat nvim dependencies
All should look like this { 'author/plugin' },
This commit is contained in:
parent
27714344d9
commit
fc5454904b
1 changed files with 13 additions and 15 deletions
|
@ -69,14 +69,14 @@ return require('packer').startup({function()
|
||||||
}
|
}
|
||||||
use { -- statusline: lualine
|
use { -- statusline: lualine
|
||||||
'nvim-lualine/lualine.nvim',
|
'nvim-lualine/lualine.nvim',
|
||||||
requires = {'kyazdani42/nvim-web-devicons', opt = true},
|
requires = { 'kyazdani42/nvim-web-devicons', opt = true },
|
||||||
config = function()
|
config = function()
|
||||||
require('blake.other').lualine()
|
require('blake.other').lualine()
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
use { -- nvim-tabline: batter looking tabline
|
use { -- nvim-tabline: batter looking tabline
|
||||||
'alvarosevilla95/luatab.nvim',
|
'alvarosevilla95/luatab.nvim',
|
||||||
requires = 'kyazdani42/nvim-web-devicons',
|
requires = { 'kyazdani42/nvim-web-devicons' },
|
||||||
config = function()
|
config = function()
|
||||||
require('luatab').setup()
|
require('luatab').setup()
|
||||||
end
|
end
|
||||||
|
@ -124,7 +124,7 @@ return require('packer').startup({function()
|
||||||
}
|
}
|
||||||
use { -- ts-context-commentstring: set commentstring based on context from treesitter (two langs in one file)
|
use { -- ts-context-commentstring: set commentstring based on context from treesitter (two langs in one file)
|
||||||
'JoosepAlviste/nvim-ts-context-commentstring',
|
'JoosepAlviste/nvim-ts-context-commentstring',
|
||||||
requires = 'nvim-treesitter/nvim-treesitter',
|
requires = { 'nvim-treesitter/nvim-treesitter' },
|
||||||
config = function()
|
config = function()
|
||||||
require'nvim-treesitter.configs'.setup {
|
require'nvim-treesitter.configs'.setup {
|
||||||
context_commentstring = {
|
context_commentstring = {
|
||||||
|
@ -140,7 +140,7 @@ return require('packer').startup({function()
|
||||||
require('blake.lsp').cmp()
|
require('blake.lsp').cmp()
|
||||||
end,
|
end,
|
||||||
requires = { -- (mostly) nvim-cmp sources (not required by cmp, but reqired by my configuration)
|
requires = { -- (mostly) nvim-cmp sources (not required by cmp, but reqired by my configuration)
|
||||||
'onsails/lspkind-nvim', -- icons for entries of the completion menu
|
'onsails/lspkind-nvim', -- icons for entries of the completion menu, required by config
|
||||||
'hrsh7th/cmp-path',
|
'hrsh7th/cmp-path',
|
||||||
'hrsh7th/cmp-nvim-lua',
|
'hrsh7th/cmp-nvim-lua',
|
||||||
'hrsh7th/cmp-nvim-lsp',
|
'hrsh7th/cmp-nvim-lsp',
|
||||||
|
@ -185,7 +185,7 @@ return require('packer').startup({function()
|
||||||
-- }
|
-- }
|
||||||
use { -- null-ls: Support for lots of programming tools, but through nvim lsp
|
use { -- null-ls: Support for lots of programming tools, but through nvim lsp
|
||||||
'jose-elias-alvarez/null-ls.nvim',
|
'jose-elias-alvarez/null-ls.nvim',
|
||||||
requires = 'nvim-lua/plenary.nvim',
|
requires = { 'nvim-lua/plenary.nvim' },
|
||||||
config = function()
|
config = function()
|
||||||
local null_ls = require("null-ls")
|
local null_ls = require("null-ls")
|
||||||
require("null-ls").setup({
|
require("null-ls").setup({
|
||||||
|
@ -199,8 +199,8 @@ return require('packer').startup({function()
|
||||||
use { -- refactoring: Refactoring tools for neovim
|
use { -- refactoring: Refactoring tools for neovim
|
||||||
'ThePrimeagen/refactoring.nvim',
|
'ThePrimeagen/refactoring.nvim',
|
||||||
requires = {
|
requires = {
|
||||||
{"nvim-lua/plenary.nvim"},
|
{ 'nvim-lua/plenary.nvim' },
|
||||||
{"nvim-treesitter/nvim-treesitter"}
|
{ 'nvim-treesitter/nvim-treesitter' }
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
require('refactoring').setup({})
|
require('refactoring').setup({})
|
||||||
|
@ -248,7 +248,7 @@ return require('packer').startup({function()
|
||||||
}
|
}
|
||||||
use { -- nvim-dap-ui: a UI for nvim-dap
|
use { -- nvim-dap-ui: a UI for nvim-dap
|
||||||
'rcarriga/nvim-dap-ui',
|
'rcarriga/nvim-dap-ui',
|
||||||
requires = {"mfussenegger/nvim-dap"},
|
requires = { 'mfussenegger/nvim-dap' },
|
||||||
config = function()
|
config = function()
|
||||||
require('blake.dap').dap_ui()
|
require('blake.dap').dap_ui()
|
||||||
end,
|
end,
|
||||||
|
@ -257,23 +257,21 @@ return require('packer').startup({function()
|
||||||
---- Other IDE features
|
---- Other IDE features
|
||||||
use { -- telescope: fuzzy finder for finding fuzzy things
|
use { -- telescope: fuzzy finder for finding fuzzy things
|
||||||
'nvim-telescope/telescope.nvim',
|
'nvim-telescope/telescope.nvim',
|
||||||
requires = { {'nvim-lua/plenary.nvim'} },
|
requires = { 'nvim-lua/plenary.nvim' },
|
||||||
config = function()
|
config = function()
|
||||||
require('blake.other').telescope()
|
require('blake.other').telescope()
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
use { -- gitsigns: git integration
|
use { -- gitsigns: git integration
|
||||||
'lewis6991/gitsigns.nvim',
|
'lewis6991/gitsigns.nvim',
|
||||||
requires = {
|
requires = { 'nvim-lua/plenary.nvim' },
|
||||||
'nvim-lua/plenary.nvim'
|
|
||||||
},
|
|
||||||
config = function()
|
config = function()
|
||||||
require('blake.other').gitsigns()
|
require('blake.other').gitsigns()
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
-- use { -- nvim-tree: file manager
|
-- use { -- nvim-tree: file manager
|
||||||
-- 'kyazdani42/nvim-tree.lua',
|
-- 'kyazdani42/nvim-tree.lua',
|
||||||
-- requires = 'kyazdani42/nvim-web-devicons',
|
-- requires = { 'kyazdani42/nvim-web-devicons' },
|
||||||
-- config = function()
|
-- config = function()
|
||||||
-- require('blake.other').nvimtree()
|
-- require('blake.other').nvimtree()
|
||||||
-- end
|
-- end
|
||||||
|
@ -398,7 +396,7 @@ return require('packer').startup({function()
|
||||||
map_c_w = true,
|
map_c_w = true,
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
requires = 'hrsh7th/nvim-cmp', -- config requires
|
requires = { 'hrsh7th/nvim-cmp' }, -- config requires
|
||||||
}
|
}
|
||||||
use { -- ts-autotag: automatically close html tags
|
use { -- ts-autotag: automatically close html tags
|
||||||
'windwp/nvim-ts-autotag',
|
'windwp/nvim-ts-autotag',
|
||||||
|
@ -466,7 +464,7 @@ return require('packer').startup({function()
|
||||||
}
|
}
|
||||||
use { -- rhysd: textobj-anyblock: allow ab or ib instead of i( or a[ or any of the many other block selectors
|
use { -- rhysd: textobj-anyblock: allow ab or ib instead of i( or a[ or any of the many other block selectors
|
||||||
'rhysd/vim-textobj-anyblock',
|
'rhysd/vim-textobj-anyblock',
|
||||||
requires = 'kana/vim-textobj-user',
|
requires = { 'kana/vim-textobj-user' },
|
||||||
}
|
}
|
||||||
-- use { -- rhysd: accelerated jk: make j and k move faster by pressing them a lot movement
|
-- use { -- rhysd: accelerated jk: make j and k move faster by pressing them a lot movement
|
||||||
-- 'rhysd/accelerated-jk',
|
-- 'rhysd/accelerated-jk',
|
||||||
|
|
Loading…
Add table
Reference in a new issue