mirror of https://github.com/LazyVim/starter
89 lines
3.8 KiB
Lua
89 lines
3.8 KiB
Lua
local logo = [[
|
|
⣴⣶⣤⡤⠦⣤⣀⣤⠆ ⣈⣭⣿⣶⣿⣦⣼⣆
|
|
⠉⠻⢿⣿⠿⣿⣿⣶⣦⠤⠄⡠⢾⣿⣿⡿⠋⠉⠉⠻⣿⣿⡛⣦
|
|
⠈⢿⣿⣟⠦ ⣾⣿⣿⣷ ⠻⠿⢿⣿⣧⣄
|
|
⣸⣿⣿⢧ ⢻⠻⣿⣿⣷⣄⣀⠄⠢⣀⡀⠈⠙⠿⠄
|
|
⢠⣿⣿⣿⠈ ⣻⣿⣿⣿⣿⣿⣿⣿⣛⣳⣤⣀⣀
|
|
⢠⣧⣶⣥⡤⢄ ⣸⣿⣿⠘ ⢀⣴⣿⣿⡿⠛⣿⣿⣧⠈⢿⠿⠟⠛⠻⠿⠄
|
|
███▄ █ ▓█████ ▒█████ ⣰⣿⣿⠛⠻⣿⣿⡦⢹⣿⣷ ⢊⣿⣿⡏ ⢸⣿⣿⡇ ⢀⣠⣄⣾⠄ ██▒ █▓ ██▓ ███▄ ▄███▓
|
|
██ ▀█ █ ▓█ ▀ ▒██▒ ██▒ ⣠⣿⠿⠛ ⢀⣿⣿⣷⠘⢿⣿⣦⡀ ⢸⢿⣿⣿⣄ ⣸⣿⣿⡇⣪⣿⡿⠿⣿⣷⡄ ▓██░ █▒▓██▒▓██▒▀█▀ ██▒
|
|
▓██ ▀█ ██▒▒███ ▒██░ ██▒ ⠙⠃ ⣼⣿⡟ ⠈⠻⣿⣿⣦⣌⡇⠻⣿⣿⣷⣿⣿⣿ ⣿⣿⡇ ⠛⠻⢷⣄ ▓██ █▒░▒██▒▓██ ▓██░
|
|
▓██▒ ▐▌██▒▒▓█ ▄ ▒██ ██░ ⢻⣿⣿⣄ ⠈⠻⣿⣿⣿⣷⣿⣿⣿⣿⣿⡟ ⠫⢿⣿⡆ ▒██ █░░░██░▒██ ▒██
|
|
▒██░ ▓██░░▒████▒░ ████▓▒░ ⠻⣿⣿⣿⣿⣶⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⡟⢀⣀⣤⣾⡿⠃ ▒▀█░ ░██░▒██▒ ░██▒
|
|
░ ▒░ ▒ ▒ ░░ ▒░ ░░ ▒░▒░▒░ ╰──────────────────────────────╯ ░ ▐░ ░▓ ░ ▒░ ░ ░
|
|
░ ░░ ░ ▒░ ░ ░ ░ ░ ▒ ▒░ ░ ░░ ▒ ░░ ░ ░
|
|
░ ░ ░ ░ ░ ░ ░ ▒ ░░ ▒ ░░ ░
|
|
░ ░ ░ ░ ░ ░ ░ ░
|
|
░ ]]
|
|
return {
|
|
{
|
|
"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,
|
|
},
|
|
},
|
|
},
|
|
}
|