Merge branch 'master' into patch-1
This commit is contained in:
commit
5f4d8471bb
19 changed files with 340 additions and 11 deletions
6
lua/custom/plugins/autobrackets.lua
Normal file
6
lua/custom/plugins/autobrackets.lua
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
return {
|
||||
'windwp/nvim-ts-autotag',
|
||||
config = function()
|
||||
require('nvim-ts-autotag').setup()
|
||||
end
|
||||
}
|
||||
6
lua/custom/plugins/autopairs.lua
Normal file
6
lua/custom/plugins/autopairs.lua
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
return {
|
||||
"windwp/nvim-autopairs",
|
||||
config = function()
|
||||
require("nvim-autopairs").setup {}
|
||||
end,
|
||||
}
|
||||
6
lua/custom/plugins/colorizer.lua
Normal file
6
lua/custom/plugins/colorizer.lua
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
return {
|
||||
'norcalli/nvim-colorizer.lua',
|
||||
config = function ()
|
||||
require('colorizer').setup()
|
||||
end
|
||||
}
|
||||
3
lua/custom/plugins/copilot.lua
Normal file
3
lua/custom/plugins/copilot.lua
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
return {
|
||||
'github/copilot.vim'
|
||||
}
|
||||
15
lua/custom/plugins/filetree.lua
Normal file
15
lua/custom/plugins/filetree.lua
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
-- Unless you are still migrating, remove the deprecated commands from v1.x
|
||||
vim.cmd([[ let g:neo_tree_remove_legacy_commands = 1 ]])
|
||||
|
||||
return {
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
version = "*",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
|
||||
"MunifTanjim/nui.nvim",
|
||||
},
|
||||
config = function()
|
||||
require('neo-tree').setup {}
|
||||
end,
|
||||
}
|
||||
14
lua/custom/plugins/go-nvim.lua
Normal file
14
lua/custom/plugins/go-nvim.lua
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
return {
|
||||
'ray-x/go.nvim',
|
||||
dependencies = { -- optional packages
|
||||
'ray-x/guihua.lua',
|
||||
'neovim/nvim-lspconfig',
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
},
|
||||
config = function()
|
||||
require('go').setup()
|
||||
end,
|
||||
event = { 'CmdlineEnter' },
|
||||
ft = { 'go', 'gomod' },
|
||||
build = ':lua require("go.install").update_all_sync()', -- if you need to install/update all binaries
|
||||
}
|
||||
3
lua/custom/plugins/harpoon.lua
Normal file
3
lua/custom/plugins/harpoon.lua
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
return {
|
||||
"ThePrimeagen/harpoon"
|
||||
}
|
||||
7
lua/custom/plugins/lualine.lua
Normal file
7
lua/custom/plugins/lualine.lua
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
return {
|
||||
'nvim-lualine/lualine.nvim',
|
||||
dependencies = { 'nvim-tree/nvim-web-devicons', 'catppuccin/nvim' },
|
||||
config = function()
|
||||
require('lualine').setup { options = { theme = 'catppuccin' } }
|
||||
end,
|
||||
}
|
||||
23
lua/custom/plugins/multi-cursor.lua
Normal file
23
lua/custom/plugins/multi-cursor.lua
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
return {
|
||||
'smoka7/multicursors.nvim',
|
||||
event = 'VeryLazy',
|
||||
dependencies = {
|
||||
'smoka7/hydra.nvim',
|
||||
},
|
||||
opts = {},
|
||||
cmd = { 'MCstart', 'MCvisual', 'MCclear', 'MCpattern', 'MCvisualPattern', 'MCunderCursor' },
|
||||
keys = {
|
||||
{
|
||||
mode = { 'v', 'n' },
|
||||
'<Leader>ms',
|
||||
'<cmd>MCstart<cr>',
|
||||
desc = 'Create a [M]ulti [S]election for selected text or word under the cursor',
|
||||
},
|
||||
{
|
||||
mode = { 'v', 'n' },
|
||||
'<Leader>mp',
|
||||
'<cmd>MCpattern<cr>',
|
||||
desc = 'Create a [M]ulti [P]attern selection in the current buffer',
|
||||
},
|
||||
},
|
||||
}
|
||||
3
lua/custom/plugins/prettier.lua
Normal file
3
lua/custom/plugins/prettier.lua
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
return {
|
||||
'prettier/vim-prettier'
|
||||
}
|
||||
|
|
@ -64,6 +64,7 @@ return {
|
|||
ensure_installed = {
|
||||
-- Update this to ensure that you have the debuggers for the langs you want
|
||||
'delve',
|
||||
'chrome-debug-adapter',
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue