Skip to content

Instantly share code, notes, and snippets.

@hesenger
Created April 1, 2022 12:18
Show Gist options
  • Save hesenger/74532310de99fda0445e5186a9704aec to your computer and use it in GitHub Desktop.
Save hesenger/74532310de99fda0445e5186a9704aec to your computer and use it in GitHub Desktop.
Personal LunarVim config file
-- Additional Plugins
lvim.plugins = {
{"folke/tokyonight.nvim"},
{
"folke/trouble.nvim",
cmd = "TroubleToggle",
},
{ "sbdchd/neoformat" },
{ "github/copilot.vim" },
{ "f-person/git-blame.nvim" },
}
-- Autocommands (https://neovim.io/doc/user/autocmd.html)
lvim.autocommands.custom_groups = {
{ "BufWinEnter", "*.lua", "setlocal ts=8 sw=8" },
{ "BufWritePre,InsertLeave", "*.js,*.jsx,*.ts,*.tsx,*.lua", ":Neoformat prettier" },
}
vim.g.gitblame_message_template = "<date>, <summary>"
vim.g.gitblame_date_format = "%r"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment