starter/lua/plugins/override.lua

89 lines
3.6 KiB
Lua
Raw Normal View History

2024-05-16 10:32:26 +08:00
local logo = [[
2024-05-16 14:32:32 +08:00
]]
2024-05-13 13:57:32 +08:00
return {
2024-05-25 23:27:46 +08:00
{
"LazyVim/LazyVim",
opts = {
colorscheme = "everforest",
},
},
{
"goolord/alpha-nvim",
opts = {
section = {
header = {
val = vim.split(logo, "\n"),
},
},
},
},
{
"hrsh7th/nvim-cmp",
opts = {
window = {
documentation = {
border = "rounded",
},
completion = {
border = "rounded",
},
},
},
},
{
"folke/noice.nvim",
opts = {
presets = {
bottom_search = false,
lsp_doc_border = true,
},
lsp = {
hover = {
silent = true,
},
},
},
},
{
"nvim-neo-tree/neo-tree.nvim",
dependencies = "MunifTanjim/nui.nvim",
version = "*",
opts = {
auto_clean_after_session_restore = true,
close_if_last_window = true,
},
},
{
"neovim/nvim-lspconfig",
opts = {
servers = { eslint = {} },
setup = {
eslint = function()
require("lazyvim.util").lsp.on_attach(function(client)
if client.name == "eslint" then
client.server_capabilities.documentFormattingProvider = true
elseif client.name == "tsserver" then
client.server_capabilities.documentFormattingProvider = false
end
end)
end,
},
},
},
2024-05-13 13:57:32 +08:00
}