From b7a6606f8b483b709ff96df0215b416972db0256 Mon Sep 17 00:00:00 2001 From: tsorabel Date: Sat, 6 Apr 2024 23:29:22 +0200 Subject: [PATCH] feat: clear --- init.lua | 3 +++ lua/custom/plugins/dashboard.lua | 20 ++++++++++---------- lua/custom/plugins/init.lua | 5 +---- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/init.lua b/init.lua index fc10f68e..51329f3f 100644 --- a/init.lua +++ b/init.lua @@ -815,11 +815,14 @@ require('lazy').setup({ -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`. 'folke/tokyonight.nvim', priority = 1000, -- Make sure to load this before all the other start plugins. + lazy = false, init = function() -- Load the colorscheme here. -- Like many other themes, this one has different styles, and you could load -- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'. vim.cmd.colorscheme 'tokyonight-night' + vim.o.background = 'dark' + -- vim.cmd[[colorscheme tokyonight]] -- You can configure highlights by doing something like: vim.cmd.hi 'Comment gui=none' diff --git a/lua/custom/plugins/dashboard.lua b/lua/custom/plugins/dashboard.lua index 4c63c56d..9cb33ca3 100644 --- a/lua/custom/plugins/dashboard.lua +++ b/lua/custom/plugins/dashboard.lua @@ -11,6 +11,16 @@ return { enable = true, }, center = { + { + icon = '󰊳 ', + icon_hl = 'group', + desc = 'Telescope find files', + desc_hl = 'group', + key = 'f', + key_hl = 'group', + key_format = ' [%s]', -- `%s` will be substituted with value of `key` + action = ':Telescope find_files', + }, { icon = '󰊳 ', icon_hl = 'group', @@ -23,16 +33,6 @@ return { harpoon.ui:toggle_quick_menu(harpoon:list()) end, }, - { - icon = '󰊳 ', - icon_hl = 'group', - desc = 'Telescope find files', - desc_hl = 'group', - key = 'f', - key_hl = 'group', - key_format = ' [%s]', -- `%s` will be substituted with value of `key` - action = ':Telescope find_files', - }, { icon = '󰊳 ', icon_hl = 'group', diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index ef579f68..63fbc864 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -14,6 +14,7 @@ return { vim.keymap.set({ 'n' }, 'tt', 'Tagbar', { desc = '[T]oggle [T]agbar' }) end, }, + { 'windwp/nvim-ts-autotag', ft = { 'javascript', 'javascriptreact', 'typescript', 'typescriptreact', 'html', 'markdown' }, @@ -21,8 +22,4 @@ return { require('nvim-ts-autotag').setup() end, }, - - --Terminal - -- - -- { 'akinsho/toggleterm.nvim', version = '*', config = true }, }