Something went wrong. Try again.
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950-- This file simply bootstraps the installation of Lazy.nvim and then calls other files for execution-- This file doesn't necessarily need to be touched, BE CAUTIOUS editing this file and proceed at your own risk.local lazypath = vim.env.LAZY or vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
if not (vim.env.LAZY or (vim.uv or vim.loop).fs_stat(lazypath)) then -- stylua: ignore local result = vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", lazypath }) if vim.v.shell_error ~= 0 then -- stylua: ignore vim.api.nvim_echo({ { ("Error cloning lazy.nvim:\n%s\n"):format(result), "ErrorMsg" }, { "Press any key to exit...", "MoreMsg" } }, true, {}) vim.fn.getchar() vim.cmd.quit() endend
vim.opt.rtp:prepend(lazypath)
-- validate that lazy is availableif not pcall(require, "lazy") then -- stylua: ignore vim.api.nvim_echo({ { ("Unable to load lazy from: %s\n"):format(lazypath), "ErrorMsg" }, { "Press any key to exit...", "MoreMsg" } }, true, {}) vim.fn.getchar() vim.cmd.quit()end
require "lazy_setup"require "polish"
vim.keymap.set("n", "<leader>cc", "<cmd>ClaudeCode<CR>", { desc = "Toggle Claude Code" })
require("aerial").setup { -- optionally use on_attach to set keymaps when aerial has attached to a buffer on_attach = function(bufnr) -- Jump forwards/backwards with '{' and '}' vim.keymap.set("n", "{", "<cmd>AerialPrev<CR>", { buffer = bufnr }) vim.keymap.set("n", "}", "<cmd>AerialNext<CR>", { buffer = bufnr }) end,}-- You probably also want to set a keymap to toggle aerialvim.keymap.set("n", "<leader>a", "<cmd>AerialToggle!<CR>")
require "config.lsp"
vim.filetype.add { pattern = { [".*/%.github/workflows/.*%.ya?ml"] = "yaml.ghactions", },}vim.lsp.enable "actionsls"