.
This commit is contained in:
1 parent
34ad85a88c
commit
b940be856f
19 files changed
+546
-101
No files matched your search
@@ -6,7 +6,7 @@ for i = 1, 9 do
|
||||
end
|
||||
|
||||
table.insert(keys, { "<leader>ma", function() require("harpoon"):list():append() end, desc = "Add Mark" })
|
||||
table.insert(keys, { "<leader>m<cr>", function() require("harpoon").ui:toggle_quick_menu(require("harpoon"):list()) end, desc = "Marks" })
|
||||
table.insert(keys, { "<leader>mm", function() require("harpoon").ui:toggle_quick_menu(require("harpoon"):list()) end, desc = "Marks" })
|
||||
table.insert(keys, { "<leader>mt", "<cmd>Telescope harpoon marks<CR>", desc = "Marks (Telescope)" })
|
||||
table.insert(keys, { "<leader>mc", function() require("harpoon"):list():clear() end, desc = "Clear all Marks" })
|
||||
|
||||
@@ -51,6 +51,17 @@ return {
|
||||
end)
|
||||
end,
|
||||
},
|
||||
{
|
||||
"nvim-lualine/lualine.nvim",
|
||||
dependencies = {
|
||||
"abeldekat/harpoonline",
|
||||
opts = { formatter = "short", icon = "" },
|
||||
},
|
||||
optional = true,
|
||||
opts = function(_, opts)
|
||||
table.insert(opts.sections.lualine_c, require("harpoonline").format)
|
||||
end,
|
||||
},
|
||||
{
|
||||
"goolord/alpha-nvim",
|
||||
optional = true,
|
||||
|
||||
@@ -1,49 +0,0 @@
|
||||
return {
|
||||
{ import = "lazyvim.plugins.extras.lang.yaml" },
|
||||
{ import = "lazyvim.plugins.extras.lang.ansible" },
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
opts = function(_, opts)
|
||||
opts.ensure_installed = opts.ensure_installed or {}
|
||||
vim.list_extend(opts.ensure_installed, { "ansible-language-server" })
|
||||
end,
|
||||
},
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
init = function()
|
||||
vim.filetype.add({
|
||||
pattern = {
|
||||
[".*/playbooks/.*%.yaml"] = "yaml.ansible",
|
||||
[".*/playbooks/.*%.yml"] = "yaml.ansible",
|
||||
[".*/roles/.*/tasks/.*%.yaml"] = "yaml.ansible",
|
||||
[".*/roles/.*/tasks/.*%.yml"] = "yaml.ansible",
|
||||
[".*/roles/.*/handlers/.*%.yaml"] = "yaml.ansible",
|
||||
[".*/roles/.*/handlers/.*%.yml"] = "yaml.ansible",
|
||||
},
|
||||
})
|
||||
end,
|
||||
},
|
||||
{
|
||||
"mfussenegger/nvim-lint",
|
||||
opts = {
|
||||
linters_by_ft = {
|
||||
ansible = { "ansible-lint" },
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"mfussenegger/nvim-ansible",
|
||||
ft = "yaml.ansible",
|
||||
-- stylua: ignore
|
||||
keys = {
|
||||
{ "<leader>tp", function() require("ansible").run() end, desc = "Run Ansible Playbooks" },
|
||||
},
|
||||
},
|
||||
{
|
||||
"luckasRanarison/nvim-devdocs",
|
||||
optional = true,
|
||||
ensure_installed = {
|
||||
"ansible",
|
||||
},
|
||||
},
|
||||
}
|
||||
@@ -1,19 +1,14 @@
|
||||
return {
|
||||
"nvimdev/dashboard-nvim",
|
||||
opts = function(_, opts)
|
||||
vim.api.nvim_create_autocmd("TabNewEntered", { command = "Dashboard" })
|
||||
|
||||
local logo = [[
|
||||
███╗ ██╗ ███████╗ ██████╗ ██╗ ██╗ ██╗ ███╗ ███╗
|
||||
████╗ ██║ ██╔════╝██╔═══██╗ ██║ ██║ ██║ ████╗ ████║
|
||||
██╔██╗ ██║ █████╗ ██║ ██║ ██║ ██║ ██║ ██╔████╔██║
|
||||
██║╚██╗██║ ██╔══╝ ██║ ██║ ╚██╗ ██╔╝ ██║ ██║╚██╔╝██║
|
||||
██║ ╚████║ ███████╗╚██████╔╝ ╚████╔╝ ██║ ██║ ╚═╝ ██║
|
||||
╚═╝ ╚═══╝ ╚══════╝ ╚═════╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝
|
||||
]]
|
||||
|
||||
logo = string.rep("\n", 8) .. logo .. "\n\n"
|
||||
opts.config.header = vim.split(logo, "\n")
|
||||
return opts
|
||||
end,
|
||||
'nvimdev/dashboard-nvim',
|
||||
dependencies = {
|
||||
'kyazdani42/nvim-web-devicons'
|
||||
},
|
||||
enabled = true,
|
||||
config = function()
|
||||
-- local theme = require('plugins.dashboard-theme.landing')
|
||||
-- local theme = require('plugins.dashboard-theme.minimal')
|
||||
-- local theme = require('plugins.dashboard-theme.doom')
|
||||
local theme = require('plugins.dashboard-theme.hyper')
|
||||
require('dashboard').setup (theme)
|
||||
end,
|
||||
}
|
||||
Reference in new issue
Block a user