remove treesitter & dashboard
This commit is contained in:
parent
1c4819a582
commit
804b92e481
71
init.lua
71
init.lua
|
|
@ -860,24 +860,28 @@ require('lazy').setup({
|
||||||
signature = { enabled = true },
|
signature = { enabled = true },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
{ -- You can easily change to a different colorscheme.
|
'catppuccin/nvim',
|
||||||
-- Change the name of the colorscheme plugin below, and then
|
name = 'catppuccin',
|
||||||
-- change the command in the config to whatever the name of that colorscheme is.
|
priority = 1000,
|
||||||
--
|
|
||||||
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
|
|
||||||
'rebelot/kanagawa.nvim',
|
|
||||||
priority = 1000, -- Make sure to load this before all the other start plugins.
|
|
||||||
name = 'kanagawa-dragon',
|
|
||||||
config = function()
|
config = function()
|
||||||
---@diagnostic disable-next-line: missing-fields
|
require('catppuccin').setup {
|
||||||
require('kanagawa').setup {
|
flavour = 'mocha',
|
||||||
commentStyle = { italic = true },
|
|
||||||
-- statementStyle = { bold = false },
|
|
||||||
theme = 'dragon',
|
|
||||||
}
|
}
|
||||||
vim.cmd 'colorscheme kanagawa-dragon'
|
vim.cmd 'colorscheme catppuccin'
|
||||||
end,
|
end,
|
||||||
|
-- 'rebelot/kanagawa.nvim',
|
||||||
|
-- priority = 1000, -- Make sure to load this before all the other start plugins.
|
||||||
|
-- name = 'kanagawa-dragon',
|
||||||
|
-- config = function()
|
||||||
|
-- ---@diagnostic disable-next-line: missing-fields
|
||||||
|
-- require('kanagawa').setup {
|
||||||
|
-- commentStyle = { italic = true },
|
||||||
|
-- -- statementStyle = { bold = false },
|
||||||
|
-- theme = 'dragon',
|
||||||
|
-- }
|
||||||
|
-- vim.cmd 'colorscheme kanagawa-dragon'
|
||||||
|
-- end,
|
||||||
-- 'vague2k/vague.nvim',
|
-- 'vague2k/vague.nvim',
|
||||||
-- priority = 1000,
|
-- priority = 1000,
|
||||||
-- name = 'vague',
|
-- name = 'vague',
|
||||||
|
|
@ -940,9 +944,9 @@ require('lazy').setup({
|
||||||
-- - Show your current context: https://github.com/nvim-treesitter/nvim-treesitter-context
|
-- - Show your current context: https://github.com/nvim-treesitter/nvim-treesitter-context
|
||||||
-- - Treesitter + textobjects: https://github.com/nvim-treesitter/nvim-treesitter-textobjects
|
-- - Treesitter + textobjects: https://github.com/nvim-treesitter/nvim-treesitter-textobjects
|
||||||
},
|
},
|
||||||
{
|
-- {
|
||||||
'nvim-treesitter/nvim-treesitter-context',
|
-- 'nvim-treesitter/nvim-treesitter-context',
|
||||||
},
|
-- },
|
||||||
{
|
{
|
||||||
'windwp/nvim-autopairs',
|
'windwp/nvim-autopairs',
|
||||||
event = 'InsertEnter',
|
event = 'InsertEnter',
|
||||||
|
|
@ -985,7 +989,7 @@ require('lazy').setup({
|
||||||
-- if you want to open yazi instead of netrw, see below for more info
|
-- if you want to open yazi instead of netrw, see below for more info
|
||||||
open_for_directories = false,
|
open_for_directories = false,
|
||||||
keymaps = {
|
keymaps = {
|
||||||
show_help = '<f1>',
|
show_help = '~',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
-- 👇 if you use `open_for_directories=true`, this is recommended
|
-- 👇 if you use `open_for_directories=true`, this is recommended
|
||||||
|
|
@ -995,35 +999,6 @@ require('lazy').setup({
|
||||||
vim.g.loaded_netrwPlugin = 1
|
vim.g.loaded_netrwPlugin = 1
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
'goolord/alpha-nvim',
|
|
||||||
config = function()
|
|
||||||
local alpha = require 'alpha'
|
|
||||||
local dashboard = require 'alpha.themes.dashboard'
|
|
||||||
dashboard.section.header.val = {
|
|
||||||
' ',
|
|
||||||
' ███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗ ',
|
|
||||||
' ████╗ ██║██╔════╝██╔═══██╗██║ ██║██║████╗ ████║ ',
|
|
||||||
' ██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║ ',
|
|
||||||
' ██║╚██╗██║██╔══╝ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║ ',
|
|
||||||
' ██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║ ',
|
|
||||||
' ╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝ ',
|
|
||||||
' ',
|
|
||||||
}
|
|
||||||
|
|
||||||
-- Set menu
|
|
||||||
dashboard.section.buttons.val = {
|
|
||||||
dashboard.button('e', ' > New file', ':ene <BAR> startinsert <CR>'),
|
|
||||||
dashboard.button('f', ' > Find file', ':cd $HOME/dev | Telescope find_files<CR>'),
|
|
||||||
dashboard.button('r', ' > Recent', ':Telescope oldfiles<CR>'),
|
|
||||||
dashboard.button('s', ' > Settings', ':e $MYVIMRC | :cd %:p:h | split . | wincmd k | pwd<CR>'),
|
|
||||||
dashboard.button('q', ' > Quit NVIM', ':qa<CR>'),
|
|
||||||
}
|
|
||||||
|
|
||||||
-- Send config to alpha
|
|
||||||
alpha.setup(dashboard.opts)
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
-- The following comments only work if you have downloaded the kickstart repo, not just copy pasted the
|
-- The following comments only work if you have downloaded the kickstart repo, not just copy pasted the
|
||||||
-- init.lua. If you want these files, they are in the repository, so you can just download them and
|
-- init.lua. If you want these files, they are in the repository, so you can just download them and
|
||||||
-- place them in the correct locations.
|
-- place them in the correct locations.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue