add autoinstall lsp and auto choose colortheme
This commit is contained in:
@ -1,38 +1,81 @@
|
||||
local db = require("dashboard")
|
||||
db.custom_header = {
|
||||
"",
|
||||
"┳┻| ",
|
||||
"┻┳| ",
|
||||
"┳┻|ヘ ∧ ",
|
||||
"┻┳| ● w ● )",
|
||||
"┳┻|⊂ノ ",
|
||||
"┻┳|J ",
|
||||
"",
|
||||
-- local db = require("dashboard")
|
||||
-- db.custom_header = {
|
||||
-- "",
|
||||
-- "┳┻| ",
|
||||
-- "┻┳| ",
|
||||
-- "┳┻|ヘ ∧ ",
|
||||
-- "┻┳| ● w ● )",
|
||||
-- "┳┻|⊂ノ ",
|
||||
-- "┻┳|J ",
|
||||
-- "",
|
||||
-- }
|
||||
require("dashboard").setup{
|
||||
custom_header = {
|
||||
"",
|
||||
"┳┻| ",
|
||||
"┻┳| ",
|
||||
"┳┻|ヘ ∧ ",
|
||||
"┻┳| ● w ● )",
|
||||
"┳┻|⊂ノ ",
|
||||
"┻┳|J ",
|
||||
"",
|
||||
},
|
||||
custom_section = {
|
||||
a = {
|
||||
description = { " Find File " },
|
||||
command = "Telescope find_files find_command=rg,--hidden,--files",
|
||||
},
|
||||
b = {
|
||||
description = { " Recently Used Files" },
|
||||
command = "Telescope oldfiles",
|
||||
},
|
||||
c = {
|
||||
description = { " Find Word " },
|
||||
command = "Telescope live_grep",
|
||||
},
|
||||
d = {
|
||||
description = { "洛 New File " },
|
||||
command = "DashboardNewFile",
|
||||
},
|
||||
e = {
|
||||
description = { " Bookmarks " },
|
||||
command = "Telescope marks",
|
||||
},
|
||||
f = {
|
||||
description = { " Load Last Session " },
|
||||
command = "SessionLoad",
|
||||
},
|
||||
},
|
||||
custom_footer = {
|
||||
"Neovim",
|
||||
},
|
||||
}
|
||||
|
||||
db.custom_center = {
|
||||
{
|
||||
icon = " ",
|
||||
desc = "Find File ",
|
||||
action = "Telescope find_files find_command=rg,--hidden,--files",
|
||||
shortcut = "SPC f f",
|
||||
},
|
||||
{
|
||||
icon = " ",
|
||||
desc = "Recently opened files ",
|
||||
action = "Telescope oldfiles",
|
||||
shortcut = "SPC f r",
|
||||
},
|
||||
{
|
||||
icon = " ",
|
||||
desc = "Open Project ",
|
||||
action = "Telescope Project ",
|
||||
shortcut = "SPC f p",
|
||||
},
|
||||
{
|
||||
icon = " ",
|
||||
desc = "File Browser ",
|
||||
action = "Telescope file_browser",
|
||||
shortcut = "SPC f b",
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
-- db.custom_center = {
|
||||
-- {
|
||||
-- icon = " ",
|
||||
-- desc = "Find File ",
|
||||
-- action = "Telescope find_files find_command=rg,--hidden,--files",
|
||||
-- shortcut = "SPC f f",
|
||||
-- },
|
||||
-- {
|
||||
-- icon = " ",
|
||||
-- desc = "Recently opened files ",
|
||||
-- action = "Telescope oldfiles",
|
||||
-- shortcut = "SPC f r",
|
||||
-- },
|
||||
-- {
|
||||
-- icon = " ",
|
||||
-- desc = "Open Project ",
|
||||
-- action = "Telescope Project ",
|
||||
-- shortcut = "SPC f p",
|
||||
-- },
|
||||
-- {
|
||||
-- icon = " ",
|
||||
-- desc = "File Browser ",
|
||||
-- action = "Telescope file_browser",
|
||||
-- shortcut = "SPC f b",
|
||||
-- },
|
||||
-- }
|
||||
|
@ -9,4 +9,7 @@ require("mason").setup({
|
||||
},
|
||||
})
|
||||
|
||||
require("mason-lspconfig").setup()
|
||||
require("mason-lspconfig").setup({
|
||||
automatic_installation = true,
|
||||
ensure_installed = { "lua_ls", "clangd", "pyright" },
|
||||
})
|
||||
|
5
lua/plugin-config/neotree.lua
Normal file
5
lua/plugin-config/neotree.lua
Normal file
@ -0,0 +1,5 @@
|
||||
require("neo-tree").setup({
|
||||
window = {
|
||||
width = "30%", -- Width of the Neo-tree window
|
||||
},
|
||||
})
|
Reference in New Issue
Block a user