Skip to content

Commit 804b92e

Browse files
committed
remove treesitter & dashboard
1 parent 1c4819a commit 804b92e

File tree

1 file changed

+23
-48
lines changed

1 file changed

+23
-48
lines changed

init.lua

Lines changed: 23 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -860,24 +860,28 @@ require('lazy').setup({
860860
signature = { enabled = true },
861861
},
862862
},
863-
864-
{ -- You can easily change to a different colorscheme.
865-
-- Change the name of the colorscheme plugin below, and then
866-
-- change the command in the config to whatever the name of that colorscheme is.
867-
--
868-
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
869-
'rebelot/kanagawa.nvim',
870-
priority = 1000, -- Make sure to load this before all the other start plugins.
871-
name = 'kanagawa-dragon',
863+
{
864+
'catppuccin/nvim',
865+
name = 'catppuccin',
866+
priority = 1000,
872867
config = function()
873-
---@diagnostic disable-next-line: missing-fields
874-
require('kanagawa').setup {
875-
commentStyle = { italic = true },
876-
-- statementStyle = { bold = false },
877-
theme = 'dragon',
868+
require('catppuccin').setup {
869+
flavour = 'mocha',
878870
}
879-
vim.cmd 'colorscheme kanagawa-dragon'
871+
vim.cmd 'colorscheme catppuccin'
880872
end,
873+
-- 'rebelot/kanagawa.nvim',
874+
-- priority = 1000, -- Make sure to load this before all the other start plugins.
875+
-- name = 'kanagawa-dragon',
876+
-- config = function()
877+
-- ---@diagnostic disable-next-line: missing-fields
878+
-- require('kanagawa').setup {
879+
-- commentStyle = { italic = true },
880+
-- -- statementStyle = { bold = false },
881+
-- theme = 'dragon',
882+
-- }
883+
-- vim.cmd 'colorscheme kanagawa-dragon'
884+
-- end,
881885
-- 'vague2k/vague.nvim',
882886
-- priority = 1000,
883887
-- name = 'vague',
@@ -940,9 +944,9 @@ require('lazy').setup({
940944
-- - Show your current context: https://github.com/nvim-treesitter/nvim-treesitter-context
941945
-- - Treesitter + textobjects: https://github.com/nvim-treesitter/nvim-treesitter-textobjects
942946
},
943-
{
944-
'nvim-treesitter/nvim-treesitter-context',
945-
},
947+
-- {
948+
-- 'nvim-treesitter/nvim-treesitter-context',
949+
-- },
946950
{
947951
'windwp/nvim-autopairs',
948952
event = 'InsertEnter',
@@ -985,7 +989,7 @@ require('lazy').setup({
985989
-- if you want to open yazi instead of netrw, see below for more info
986990
open_for_directories = false,
987991
keymaps = {
988-
show_help = '<f1>',
992+
show_help = '~',
989993
},
990994
},
991995
-- 👇 if you use `open_for_directories=true`, this is recommended
@@ -995,35 +999,6 @@ require('lazy').setup({
995999
vim.g.loaded_netrwPlugin = 1
9961000
end,
9971001
},
998-
{
999-
'goolord/alpha-nvim',
1000-
config = function()
1001-
local alpha = require 'alpha'
1002-
local dashboard = require 'alpha.themes.dashboard'
1003-
dashboard.section.header.val = {
1004-
' ',
1005-
' ███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗ ',
1006-
' ████╗ ██║██╔════╝██╔═══██╗██║ ██║██║████╗ ████║ ',
1007-
' ██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║ ',
1008-
' ██║╚██╗██║██╔══╝ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║ ',
1009-
' ██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║ ',
1010-
' ╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝ ',
1011-
' ',
1012-
}
1013-
1014-
-- Set menu
1015-
dashboard.section.buttons.val = {
1016-
dashboard.button('e', ' > New file', ':ene <BAR> startinsert <CR>'),
1017-
dashboard.button('f', ' > Find file', ':cd $HOME/dev | Telescope find_files<CR>'),
1018-
dashboard.button('r', ' > Recent', ':Telescope oldfiles<CR>'),
1019-
dashboard.button('s', ' > Settings', ':e $MYVIMRC | :cd %:p:h | split . | wincmd k | pwd<CR>'),
1020-
dashboard.button('q', ' > Quit NVIM', ':qa<CR>'),
1021-
}
1022-
1023-
-- Send config to alpha
1024-
alpha.setup(dashboard.opts)
1025-
end,
1026-
},
10271002
-- The following comments only work if you have downloaded the kickstart repo, not just copy pasted the
10281003
-- init.lua. If you want these files, they are in the repository, so you can just download them and
10291004
-- place them in the correct locations.

0 commit comments

Comments
 (0)