add nvim lint
This commit is contained in:
parent
20a1476c08
commit
63124755d3
1 changed files with 99 additions and 99 deletions
|
@ -12,7 +12,7 @@ if not vim.loop.fs_stat(lazypath) then
|
|||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
vim.g.mapleader = ' '
|
||||
vim.g.mapleader = " "
|
||||
|
||||
local plugins = {
|
||||
|
||||
|
@ -52,6 +52,7 @@ local plugins = {
|
|||
|
||||
-- lint and formatting
|
||||
"mhartington/formatter.nvim",
|
||||
"mfussenegger/nvim-lint",
|
||||
|
||||
-- snippet
|
||||
"L3MON4D3/LuaSnip",
|
||||
|
@ -71,54 +72,53 @@ local plugins = {
|
|||
|
||||
-- startup
|
||||
{
|
||||
'glepnir/dashboard-nvim',
|
||||
"glepnir/dashboard-nvim",
|
||||
config = function()
|
||||
require('dashboard').setup {
|
||||
theme = 'doom', -- theme is doom and hyper default is hyper
|
||||
require("dashboard").setup({
|
||||
theme = "doom", -- theme is doom and hyper default is hyper
|
||||
config = {
|
||||
-- todo https://github.com/nvimdev/dashboard-nvim
|
||||
header = {
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
' █████████ █████████ █████ ████ ███████ ',
|
||||
' ███░░░░░███ ███░░░░░███ ░░███ ███░ ███░░░░░███ ',
|
||||
'░███ ░░░ ░███ ░███ ░███ ███ ███ ░░███',
|
||||
'░░█████████ ░███████████ ░███████ ░███ ░███',
|
||||
' ░░░░░░░░███ ░███░░░░░███ ░███░░███ ░███ ░███',
|
||||
' ███ ░███ ░███ ░███ ░███ ░░███ ░░███ ███',
|
||||
'░░█████████ █████ █████ █████ ░░████ ░░░███████░',
|
||||
'░░░░░░░░░ ░░░░░ ░░░░░ ░░░░░ ░░░░ ░░░░░░░ ',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
" █████████ █████████ █████ ████ ███████ ",
|
||||
" ███░░░░░███ ███░░░░░███ ░░███ ███░ ███░░░░░███ ",
|
||||
"░███ ░░░ ░███ ░███ ░███ ███ ███ ░░███",
|
||||
"░░█████████ ░███████████ ░███████ ░███ ░███",
|
||||
" ░░░░░░░░███ ░███░░░░░███ ░███░░███ ░███ ░███",
|
||||
" ███ ░███ ░███ ░███ ░███ ░░███ ░░███ ███",
|
||||
"░░█████████ █████ █████ █████ ░░████ ░░░███████░",
|
||||
"░░░░░░░░░ ░░░░░ ░░░░░ ░░░░░ ░░░░ ░░░░░░░ ",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
}, --your header
|
||||
center = {
|
||||
{
|
||||
icon = ' ',
|
||||
icon_hl = 'Title',
|
||||
desc = 'Find File ',
|
||||
desc_hl = 'String',
|
||||
keymap = 'SPC SPC',
|
||||
key_hl = 'Number',
|
||||
action = 'lua print(2)'
|
||||
icon = " ",
|
||||
icon_hl = "Title",
|
||||
desc = "Find File ",
|
||||
desc_hl = "String",
|
||||
keymap = "SPC SPC",
|
||||
key_hl = "Number",
|
||||
action = "lua print(2)",
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
})
|
||||
end,
|
||||
event = 'VimEnter',
|
||||
dependencies = { { 'nvim-tree/nvim-web-devicons' } }
|
||||
event = "VimEnter",
|
||||
dependencies = { { "nvim-tree/nvim-web-devicons" } },
|
||||
},
|
||||
|
||||
-- floating terminal, useful to mimic/be better than vscode
|
||||
'voldikss/vim-floaterm',
|
||||
|
||||
"voldikss/vim-floaterm",
|
||||
}
|
||||
|
||||
require("lazy").setup(plugins, {})
|
||||
|
|
Loading…
Reference in a new issue