Add files

This commit is contained in:
anhkhoakz 2024-02-05 19:28:00 +07:00
parent b115814916
commit 95a87d9a4d
No known key found for this signature in database
19 changed files with 821 additions and 617 deletions

View file

@ -0,0 +1,15 @@
return {
"windwp/nvim-autopairs",
-- Optional dependency
dependencies = { 'hrsh7th/nvim-cmp' },
config = function()
require("nvim-autopairs").setup {}
-- If you want to automatically add `(` after selecting a function or method
local cmp_autopairs = require('nvim-autopairs.completion.cmp')
local cmp = require('cmp')
cmp.event:on(
'confirm_done',
cmp_autopairs.on_confirm_done()
)
end,
}

View 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,
}

View file

@ -0,0 +1,6 @@
return {
"kdheepak/lazygit.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
},
}

View file

@ -0,0 +1,6 @@
return {
"susensio/magic-bang.nvim",
config = true,
event = "BufNewFile",
cmd = "Bang",
}

View file

@ -0,0 +1,3 @@
return {
"ixru/nvim-markdown"
}

View file

@ -0,0 +1,10 @@
return {
"kylechui/nvim-surround",
version = "*", -- Use for stability; omit to use `main` branch for the latest features
event = "VeryLazy",
config = function()
require("nvim-surround").setup({
-- Configuration here, or leave empty to use defaults
})
end
}

View file

@ -0,0 +1,12 @@
return {
"astral-sh/ruff-lsp",
config = function()
local on_attach = function(client, bufnr)
client.server_capabilities.hoverProvider = false
end
require("lspconfig").ruff_lsp.setup {
on_attach = on_attach,
}
end
}