lazy-nvim migration with basic plugins
This commit is contained in:
parent
b02e4dda6c
commit
e2a8848a27
7 changed files with 109 additions and 75 deletions
9
.config/nvim/lua/plugins/barbar.lua
Normal file
9
.config/nvim/lua/plugins/barbar.lua
Normal file
|
@ -0,0 +1,9 @@
|
|||
return {
|
||||
"romgrk/barbar.nvim",
|
||||
dependencies = {
|
||||
'lewis6991/gitsigns.nvim',
|
||||
'nvim-tree/nvim-web-devicons',
|
||||
},
|
||||
init = function() vim.g.barbar_auto_setup = false end,
|
||||
opts = {},
|
||||
}
|
28
.config/nvim/lua/plugins/cattpuucin.lua
Normal file
28
.config/nvim/lua/plugins/cattpuucin.lua
Normal file
|
@ -0,0 +1,28 @@
|
|||
return {
|
||||
"catppuccin/nvim",
|
||||
name = "catppuccin",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
config = function() require("catppuccin").setup({
|
||||
flavour = "mocha",
|
||||
background = {
|
||||
light = "latte",
|
||||
dark = "mocha",
|
||||
},
|
||||
color_overrides = {
|
||||
mocha = {
|
||||
base = "#000000",
|
||||
mantle = "#000000"
|
||||
},
|
||||
},
|
||||
transparent_background = false,
|
||||
no_italic = false,
|
||||
no_bold = false,
|
||||
styles = {
|
||||
comments = { "italic" },
|
||||
},
|
||||
integrations = {
|
||||
cmp = true,
|
||||
},
|
||||
}) end,
|
||||
}
|
28
.config/nvim/lua/plugins/lsp.lua
Normal file
28
.config/nvim/lua/plugins/lsp.lua
Normal file
|
@ -0,0 +1,28 @@
|
|||
return {
|
||||
"neovim/nvim-lspconfig",
|
||||
dependencies = {
|
||||
"hrsh7th/nvim-cmp",
|
||||
"hrsh7th/cmp-nvim-lsp",
|
||||
"hrsh7th/cmp-buffer",
|
||||
},
|
||||
lazy = false,
|
||||
config = function()
|
||||
local nvim_lsp = require("lspconfig")
|
||||
local capabilities = require('cmp_nvim_lsp').default_capabilities()
|
||||
|
||||
nvim_lsp.lua_ls.setup({
|
||||
capabilities = capabilities,
|
||||
settings = {
|
||||
Lua = {
|
||||
diagnostics = {
|
||||
globals = { 'vim' },
|
||||
},
|
||||
workspace = {
|
||||
library = vim.api.nvim_get_runtime_file("", true),
|
||||
checkThirdParty = false
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
end
|
||||
}
|
9
.config/nvim/lua/plugins/neo-tree.lua
Normal file
9
.config/nvim/lua/plugins/neo-tree.lua
Normal file
|
@ -0,0 +1,9 @@
|
|||
return {
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
branch = "v3.x",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
"MunifTanjim/nui.nvim",
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue