pain v3
This commit is contained in:
parent
ac7a6d8926
commit
11fc25f9c7
8 changed files with 55 additions and 7 deletions
|
@ -7,12 +7,6 @@ return {
|
|||
init = function () vim.g.barbar_auto_setup = false end,
|
||||
opts = {
|
||||
animation = true,
|
||||
auto_hide = 0,
|
||||
|
||||
preset = 'slanted',
|
||||
|
||||
sidebar_filetypes = {
|
||||
['neo-tree'] = true
|
||||
}
|
||||
auto_hide = 0
|
||||
}
|
||||
}
|
||||
|
|
14
nvim/lua/plugins/lazydev.lua
Normal file
14
nvim/lua/plugins/lazydev.lua
Normal file
|
@ -0,0 +1,14 @@
|
|||
return {
|
||||
{
|
||||
"folke/lazydev.nvim",
|
||||
ft = "lua", -- only load on lua files
|
||||
opts = {
|
||||
library = {
|
||||
-- See the configuration section for more details
|
||||
-- Load luvit types when the `vim.uv` word is found
|
||||
{ path = "luvit-meta/library", words = { "vim%.uv" } },
|
||||
},
|
||||
},
|
||||
},
|
||||
{ "Bilal2453/luvit-meta", lazy = true }, -- optional `vim.uv` typings
|
||||
}
|
|
@ -12,6 +12,15 @@ return {
|
|||
enable_git_status = true,
|
||||
enable_diagnostics = true,
|
||||
|
||||
sources = {
|
||||
"filesystem",
|
||||
"git_status",
|
||||
},
|
||||
|
||||
source_selector = {
|
||||
winbar = true
|
||||
},
|
||||
|
||||
filesystem = {
|
||||
follow_current_file = {
|
||||
enabled = true
|
||||
|
|
14
nvim/lua/plugins/neogit.lua
Normal file
14
nvim/lua/plugins/neogit.lua
Normal file
|
@ -0,0 +1,14 @@
|
|||
return {
|
||||
"NeogitOrg/neogit",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim", -- required
|
||||
"sindrets/diffview.nvim", -- optional - Diff integration
|
||||
|
||||
"nvim-telescope/telescope.nvim", -- optional
|
||||
},
|
||||
config = function()
|
||||
require('neogit').setup {
|
||||
kind = "split"
|
||||
}
|
||||
end
|
||||
}
|
|
@ -23,6 +23,7 @@ return {
|
|||
sources = cmp.config.sources({
|
||||
{name = 'nvim_lsp'},
|
||||
{name = 'luasnip'},
|
||||
{name = 'lazydev'},
|
||||
{name = 'buffer'}
|
||||
}),
|
||||
})
|
||||
|
@ -31,6 +32,7 @@ return {
|
|||
{'hrsh7th/cmp-nvim-lsp'},
|
||||
{'saadparwaiz1/cmp_luasnip'},
|
||||
{'rafamadriz/friendly-snippets'},
|
||||
{'folke/lazydev.nvim'},
|
||||
{'L3MON4D3/LuaSnip'}
|
||||
}
|
||||
}
|
||||
|
|
7
nvim/lua/plugins/symbol-usage.lua
Normal file
7
nvim/lua/plugins/symbol-usage.lua
Normal file
|
@ -0,0 +1,7 @@
|
|||
return {
|
||||
'wansmer/symbol-usage.nvim',
|
||||
event = 'LspAttach',
|
||||
config = function()
|
||||
require('symbol-usage').setup()
|
||||
end
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue