From 63124755d359f93205982263fd761483c4d4bb87 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Wed, 23 Aug 2023 17:01:04 +0000 Subject: [PATCH] add nvim lint --- config/nvim/lua/core/plugins.lua | 198 +++++++++++++++---------------- 1 file changed, 99 insertions(+), 99 deletions(-) diff --git a/config/nvim/lua/core/plugins.lua b/config/nvim/lua/core/plugins.lua index 2aa57e47..e7594f53 100644 --- a/config/nvim/lua/core/plugins.lua +++ b/config/nvim/lua/core/plugins.lua @@ -1,124 +1,124 @@ -- bootstrap lazy.nvim local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" if not vim.loop.fs_stat(lazypath) then - vim.fn.system({ - "git", - "clone", - "--filter=blob:none", - "https://github.com/folke/lazy.nvim.git", - "--branch=stable", -- latest stable release - lazypath, - }) + vim.fn.system({ + "git", + "clone", + "--filter=blob:none", + "https://github.com/folke/lazy.nvim.git", + "--branch=stable", -- latest stable release + lazypath, + }) end vim.opt.rtp:prepend(lazypath) -vim.g.mapleader = ' ' +vim.g.mapleader = " " local plugins = { - -- whats an ide without a file explorer - "nvim-tree/nvim-tree.lua", - "nvim-tree/nvim-web-devicons", + -- whats an ide without a file explorer + "nvim-tree/nvim-tree.lua", + "nvim-tree/nvim-web-devicons", - -- colorscheme - { "bluz71/vim-moonfly-colors", name = "moonfly", lazy = false, priority = 1000 }, + -- colorscheme + { "bluz71/vim-moonfly-colors", name = "moonfly", lazy = false, priority = 1000 }, - -- default bar only looks good on linux - "nvim-lualine/lualine.nvim", + -- default bar only looks good on linux + "nvim-lualine/lualine.nvim", - -- syntax highlighting apparently - "nvim-treesitter/nvim-treesitter", - "windwp/nvim-ts-autotag", + -- syntax highlighting apparently + "nvim-treesitter/nvim-treesitter", + "windwp/nvim-ts-autotag", - -- like fzf but goofier - { - "nvim-telescope/telescope.nvim", - version = "0.1.1", - dependencies = { { "nvim-lua/plenary.nvim" } }, - }, - -- lsp stuff - { - "williamboman/mason.nvim", - "williamboman/mason-lspconfig.nvim", - "neovim/nvim-lspconfig", - }, + -- like fzf but goofier + { + "nvim-telescope/telescope.nvim", + version = "0.1.1", + dependencies = { { "nvim-lua/plenary.nvim" } }, + }, + -- lsp stuff + { + "williamboman/mason.nvim", + "williamboman/mason-lspconfig.nvim", + "neovim/nvim-lspconfig", + }, - -- completion - "hrsh7th/nvim-cmp", - "hrsh7th/cmp-buffer", - "hrsh7th/cmp-path", - "hrsh7th/cmp-nvim-lsp", - "onsails/lspkind.nvim", + -- completion + "hrsh7th/nvim-cmp", + "hrsh7th/cmp-buffer", + "hrsh7th/cmp-path", + "hrsh7th/cmp-nvim-lsp", + "onsails/lspkind.nvim", - -- lint and formatting - "mhartington/formatter.nvim", + -- lint and formatting + "mhartington/formatter.nvim", + "mfussenegger/nvim-lint", - -- snippet - "L3MON4D3/LuaSnip", - "saadparwaiz1/cmp_luasnip", + -- snippet + "L3MON4D3/LuaSnip", + "saadparwaiz1/cmp_luasnip", - -- auto close to prevent carpal tunnel : - "windwp/nvim-autopairs", + -- auto close to prevent carpal tunnel : + "windwp/nvim-autopairs", - -- git stuff lol - "lewis6991/gitsigns.nvim", + -- git stuff lol + "lewis6991/gitsigns.nvim", - -- flex - "andweeb/presence.nvim", + -- flex + "andweeb/presence.nvim", - -- color picker - "ziontee113/color-picker.nvim", + -- color picker + "ziontee113/color-picker.nvim", - -- startup - { - 'glepnir/dashboard-nvim', - config = function() - require('dashboard').setup { - theme = 'doom', -- theme is doom and hyper default is hyper - config = { - -- todo https://github.com/nvimdev/dashboard-nvim - header = { - '', - '', - '', - '', - '', - '', - ' █████████ █████████ █████ ████ ███████ ', - ' ███░░░░░███ ███░░░░░███ ░░███ ███░ ███░░░░░███ ', - '░███ ░░░ ░███ ░███ ░███ ███ ███ ░░███', - '░░█████████ ░███████████ ░███████ ░███ ░███', - ' ░░░░░░░░███ ░███░░░░░███ ░███░░███ ░███ ░███', - ' ███ ░███ ░███ ░███ ░███ ░░███ ░░███ ███', - '░░█████████ █████ █████ █████ ░░████ ░░░███████░', - '░░░░░░░░░ ░░░░░ ░░░░░ ░░░░░ ░░░░ ░░░░░░░ ', - '', - '', - '', - '', - '', - }, --your header - center = { - { - icon = ' ', - icon_hl = 'Title', - desc = 'Find File ', - desc_hl = 'String', - keymap = 'SPC SPC', - key_hl = 'Number', - action = 'lua print(2)' - }, - } - } - } - end, - event = 'VimEnter', - dependencies = { { 'nvim-tree/nvim-web-devicons' } } - }, - - -- floating terminal, useful to mimic/be better than vscode - 'voldikss/vim-floaterm', + -- startup + { + "glepnir/dashboard-nvim", + config = function() + require("dashboard").setup({ + theme = "doom", -- theme is doom and hyper default is hyper + config = { + -- todo https://github.com/nvimdev/dashboard-nvim + header = { + "", + "", + "", + "", + "", + "", + " █████████ █████████ █████ ████ ███████ ", + " ███░░░░░███ ███░░░░░███ ░░███ ███░ ███░░░░░███ ", + "░███ ░░░ ░███ ░███ ░███ ███ ███ ░░███", + "░░█████████ ░███████████ ░███████ ░███ ░███", + " ░░░░░░░░███ ░███░░░░░███ ░███░░███ ░███ ░███", + " ███ ░███ ░███ ░███ ░███ ░░███ ░░███ ███", + "░░█████████ █████ █████ █████ ░░████ ░░░███████░", + "░░░░░░░░░ ░░░░░ ░░░░░ ░░░░░ ░░░░ ░░░░░░░ ", + "", + "", + "", + "", + "", + }, --your header + center = { + { + icon = " ", + icon_hl = "Title", + desc = "Find File ", + desc_hl = "String", + keymap = "SPC SPC", + key_hl = "Number", + action = "lua print(2)", + }, + }, + }, + }) + end, + event = "VimEnter", + dependencies = { { "nvim-tree/nvim-web-devicons" } }, + }, + -- floating terminal, useful to mimic/be better than vscode + "voldikss/vim-floaterm", } require("lazy").setup(plugins, {})