id = "lvim" name = "LunarVim" homepage = "https://www.lunarvim.org" description = "An IDE layer for Neovim with sane defaults. Completely free and community driven." # The icon the project's homepage declares for itself. icon = "https://www.lunarvim.org/img/lunarvim_icon.png" executables = ["lvim"] [dotfiles] # https://www.lunarvim.org/docs/configuration: "You can configure LunarVim by # using the configuration file located in ~/.config/lvim/config.lua." The # directory itself is $LUNARVIM_CONFIG_DIR, which the installers default to # $XDG_CONFIG_HOME/lvim (utils/installer/install.sh) and, on Windows, to # "$env:LOCALAPPDATA\lvim" (utils/installer/install.ps1 sets # XDG_CONFIG_HOME = $env:LOCALAPPDATA). The whole directory is user-written: # config.lua plus whatever lua/, after/ and ftplugin/ files the user adds. paths = ["~/.config/lvim/", "%LOCALAPPDATA%/lvim/"] # Nothing generated lives in the config directory. The plugin checkout is # $LUNARVIM_RUNTIME_DIR ($XDG_DATA_HOME/lunarvim, %APPDATA%\lunarvim) and the # cache is $LUNARVIM_CACHE_DIR ($XDG_CACHE_HOME/lvim, %TEMP%\lvim); neither is # below a path listed above, so neither needs carving out. # A Lua configuration for an editor. No credentials. secret = [] # No machine_lines: colorschemes, keymaps, formatters and the plugin list are # the whole point of carrying this directory to another machine. [commands] format = 1 label = "Open files in LunarVim" description = "Open files with common startup options. Swap files, scripts, RPC and Ex-mode flags are left out." quality = "ai-draft" base = "fig:lvim" parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false } [[commands.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/lvim.ts" license = "MIT" [[commands.field]] id = "file" label = "File" type = "path" position = 0 path = { kind = "file", role = "input" } sources = ["fig"] [[commands.field]] id = "readonly" label = "Read-only mode" type = "boolean" option = ["-R"] sources = ["fig"] [[commands.field]] id = "diff" label = "Diff mode" type = "boolean" option = ["-d"] sources = ["fig"] [[commands.field]] id = "no_swap" label = "No swap file" type = "boolean" option = ["-n"] sources = ["fig"] [[commands.field]] id = "tabs" label = "Open N tab pages" type = "integer" option = ["-p"] sources = ["fig"] [[commands.field]] id = "windows" label = "Open N windows" type = "integer" option = ["-o"] sources = ["fig"] [[commands.field]] id = "vwindows" label = "Open N vertical windows" type = "integer" option = ["-O"] sources = ["fig"] [[commands.field]] id = "command" label = "Command after startup" type = "string" option = ["-c"] sources = ["fig"] [[commands.task]] id = "view" label = "View read-only" fields = ["file", "readonly"] required = ["file"] set = { readonly = [true] } [[commands.group]] id = "basic" label = "Basic" fields = ["file", "readonly", "diff", "no_swap"] [[commands.group]] id = "advanced" label = "Advanced" fields = ["tabs", "windows", "vwindows", "command"]