Footer, Buffer Syntax CF3
This commit is contained in:
parent
1ffe6c4955
commit
cb205751e6
@ -1 +1,2 @@
|
|||||||
au BufRead,BufNewFile *.cf set ft=cf3
|
au BufRead,BufNewFile *.cf set ft=cf3
|
||||||
|
au BufRead,BufRead *.cf3 set ft=cf3
|
||||||
|
@ -1,33 +1,22 @@
|
|||||||
local g = vim.g
|
local g = vim.g
|
||||||
local fn = vim.fn
|
local fn = vim.fn
|
||||||
|
|
||||||
if vim.fn.has("win32") == 1 then
|
plugins_count = fn.len(fn.globpath("~/.local/share/nvim/site/pack/packer/start", "*", 0, 1))
|
||||||
plugins_count = fn.len(fn.globpath("~/AppData/Local/nvim-data/site/pack/packer/start", "*", 0, 1))
|
|
||||||
else
|
|
||||||
plugins_count = fn.len(fn.globpath("~/.local/share/nvim/site/pack/packer/start", "*", 0, 1))
|
|
||||||
end
|
|
||||||
|
|
||||||
g.dashboard_disable_statusline = 1
|
g.dashboard_disable_statusline = 1
|
||||||
g.dashboard_default_executive = "telescope"
|
g.dashboard_default_executive = "telescope"
|
||||||
|
|
||||||
|
|
||||||
g.dashboard_custom_header = {
|
g.dashboard_custom_header = {
|
||||||
" ",
|
" ███╗ ██╗ ███████╗ ██████╗ ██╗ ██╗ ██╗ ███╗ ███╗",
|
||||||
" ",
|
" ████╗ ██║ ██╔════╝██╔═══██╗ ██║ ██║ ██║ ████╗ ████║",
|
||||||
" ",
|
" ██╔██╗ ██║ █████╗ ██║ ██║ ██║ ██║ ██║ ██╔████╔██║",
|
||||||
" ⣴⣶⣤⡤⠦⣤⣀⣤⠆ ⣈⣭⣿⣶⣿⣦⣼⣆ ",
|
" ██║╚██╗██║ ██╔══╝ ██║ ██║ ╚██╗ ██╔╝ ██║ ██║╚██╔╝██║",
|
||||||
" ⠉⠻⢿⣿⠿⣿⣿⣶⣦⠤⠄⡠⢾⣿⣿⡿⠋⠉⠉⠻⣿⣿⡛⣦ ",
|
" ██║ ╚████║ ███████╗╚██████╔╝ ╚████╔╝ ██║ ██║ ╚═╝ ██║",
|
||||||
" ⠈⢿⣿⣟⠦ ⣾⣿⣿⣷ ⠻⠿⢿⣿⣧⣄ ",
|
" ╚═╝ ╚═══╝ ╚══════╝ ╚═════╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝",
|
||||||
" ⣸⣿⣿⢧ ⢻⠻⣿⣿⣷⣄⣀⠄⠢⣀⡀⠈⠙⠿⠄ ",
|
|
||||||
" ⢠⣿⣿⣿⠈ ⣻⣿⣿⣿⣿⣿⣿⣿⣛⣳⣤⣀⣀ ",
|
|
||||||
" ⢠⣧⣶⣥⡤⢄ ⣸⣿⣿⠘ ⢀⣴⣿⣿⡿⠛⣿⣿⣧⠈⢿⠿⠟⠛⠻⠿⠄ ",
|
|
||||||
" ⣰⣿⣿⠛⠻⣿⣿⡦⢹⣿⣷ ⢊⣿⣿⡏ ⢸⣿⣿⡇ ⢀⣠⣄⣾⠄ ",
|
|
||||||
" ⣠⣿⠿⠛ ⢀⣿⣿⣷⠘⢿⣿⣦⡀ ⢸⢿⣿⣿⣄ ⣸⣿⣿⡇⣪⣿⡿⠿⣿⣷⡄ ",
|
|
||||||
" ⠙⠃ ⣼⣿⡟ ⠈⠻⣿⣿⣦⣌⡇⠻⣿⣿⣷⣿⣿⣿ ⣿⣿⡇ ⠛⠻⢷⣄ ",
|
|
||||||
" ⢻⣿⣿⣄ ⠈⠻⣿⣿⣿⣷⣿⣿⣿⣿⣿⡟ ⠫⢿⣿⡆ ",
|
|
||||||
" ⠻⣿⣿⣿⣿⣶⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⡟⢀⣀⣤⣾⡿⠃ ",
|
|
||||||
" ",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
g.dashboard_custom_section = {
|
g.dashboard_custom_section = {
|
||||||
a = { description = { " Find File SPC t f" }, command = "Telescope find_files" },
|
a = { description = { " Find File SPC t f" }, command = "Telescope find_files" },
|
||||||
b = { description = { " Find directory SPC t d" }, command = "Telescope find_directories" },
|
b = { description = { " Find directory SPC t d" }, command = "Telescope find_directories" },
|
||||||
@ -39,9 +28,7 @@ g.dashboard_custom_section = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
g.dashboard_custom_footer = {
|
g.dashboard_custom_footer = {
|
||||||
" ",
|
|
||||||
"Loaded " .. plugins_count .. " plugins! ",
|
"Loaded " .. plugins_count .. " plugins! ",
|
||||||
"Neovim"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Disable statusline and cursorline in dashboard.
|
-- Disable statusline and cursorline in dashboard.
|
||||||
|
Loading…
Reference in New Issue
Block a user