From 9095ced549bbdd29f415e6c0ab9ad19291131d63 Mon Sep 17 00:00:00 2001 From: jaredgoldman Date: Sun, 7 Apr 2024 18:56:08 -0400 Subject: [PATCH] feat: add prettier --- lazy-lock.json | 1 + lua/config/dashboard.lua | 30 ------------------------------ lua/config/mason.lua | 3 ++- lua/plugins.lua | 4 +++- 4 files changed, 6 insertions(+), 32 deletions(-) delete mode 100644 lua/config/dashboard.lua diff --git a/lazy-lock.json b/lazy-lock.json index 11a719b..da6352f 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -18,6 +18,7 @@ "nvim-autopairs": { "branch": "master", "commit": "4f41e5940bc0443fdbe5f995e2a596847215cd2a" }, "nvim-cmp": { "branch": "main", "commit": "ce16de5665c766f39c271705b17fff06f7bcb84f" }, "nvim-comment": { "branch": "main", "commit": "e9ac16ab056695cad6461173693069ec070d2b23" }, + "nvim-dap": { "branch": "master", "commit": "405df1dcc2e395ab5173a9c3d00e03942c023074" }, "nvim-lspconfig": { "branch": "master", "commit": "9619e53d3f99f0ca4ea3b88f5d97fce703131820" }, "nvim-tree.lua": { "branch": "master", "commit": "81eb8d519233c105f30dc0a278607e62b20502fd" }, "nvim-treesitter": { "branch": "master", "commit": "11a3584b81c3249d2b6279305aee1c7ad273985a" }, diff --git a/lua/config/dashboard.lua b/lua/config/dashboard.lua deleted file mode 100644 index bc4bc83..0000000 --- a/lua/config/dashboard.lua +++ /dev/null @@ -1,30 +0,0 @@ -local dashboard = require("dashboard-nvim") - -dashboard.setup({ - theme = 'doom', - config = { - header = {}, --your header - center = { - { - icon = ' ', - icon_hl = 'Title', - desc = 'Find File ', - desc_hl = 'String', - key = 'b', - keymap = 'SPC f f', - key_hl = 'Number', - key_format = ' %s', -- remove default surrounding `[]` - action = 'lua print(2)' - }, - { - icon = ' ', - desc = 'Find Dotfiles', - key = 'f', - keymap = 'SPC f d', - key_format = ' %s', -- remove default surrounding `[]` - action = 'lua print(3)' - }, - }, - footer = {} --your footer - } -}) diff --git a/lua/config/mason.lua b/lua/config/mason.lua index b6e2caa..9bda00d 100644 --- a/lua/config/mason.lua +++ b/lua/config/mason.lua @@ -19,6 +19,7 @@ require('mason-lspconfig').setup({ 'tailwindcss', 'tsserver', 'jsonls', - 'lua_ls' + 'lua_ls', + 'prettier' }, }) diff --git a/lua/plugins.lua b/lua/plugins.lua index 29ac118..a06d454 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -24,7 +24,8 @@ require("lazy").setup({ ██║ ███████║ ███╔╝ ╚████╔╝ ██║ ██║██║██╔████╔██║ z ██║ ██╔══██║ ███╔╝ ╚██╔╝ ╚██╗ ██╔╝██║██║╚██╔╝██║ z ███████╗██║ ██║███████╗ ██║ ╚████╔╝ ██║██║ ╚═╝ ██║ - ╚══════╝╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═══╝ ╚═╝╚═╝ ╚═╝]] + ╚══════╝╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═══╝ ╚═╝╚═╝ ╚═╝ + ]] logo = string.rep("\n", 8) .. logo .. "\n\n" @@ -135,4 +136,5 @@ require("lazy").setup({ }, 'windwp/nvim-ts-autotag', 'nvim-treesitter/nvim-treesitter', + 'mfussenegger/nvim-dap' })