Skip to content

Instantly share code, notes, and snippets.

@heltonmarx
Created September 5, 2025 13:18
Show Gist options
  • Select an option

  • Save heltonmarx/697d2761c217d2c739c3a7a00e2e675e to your computer and use it in GitHub Desktop.

Select an option

Save heltonmarx/697d2761c217d2c739c3a7a00e2e675e to your computer and use it in GitHub Desktop.
lvim golang / C configuration
-- go configuration
lvim.format_on_save = true
lvim.lint_on_save = true
local formatters = require("lvim.lsp.null-ls.formatters")
formatters.setup({
{ exe = "goimports", filetypes = { "go" } },
{
command = "astyle",
filetypes = { "c" },
extra_args = {
"--style=linux",
"-s4",
"-n",
},
},
})
-- lvim.colorscheme = "cyberdream"
lvim.colorscheme = "monokai_ristretto"
-- lvim.colorscheme = "darcubox"
lvim.plugins = {
{ "lunarvim/colorschemes" },
{ "folke/tokyonight.nvim" },
{ "rebelot/kanagawa.nvim" },
{ "tanvirtin/monokai.nvim" },
{ "scottmckendry/cyberdream.nvim" },
{ "Koalhack/darcubox-nvim" },
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment