Skip to content

question: how to override NVIM_APPNAME #1629

Description

@gabyx

I want to control my own NVIM_APPNAME variable, cause I maintain a few nvim instances.

When I build a instance with nvf the derivation looks like:

#! /nix/store/i27rhb3nr65rkrwz36bchkwmav6ggsmn-bash-5.3p9/bin/bash -e
export NVIM_APPNAME='nvf'
export VIMINIT='source /nix/store/rr6mx8aybdwszfsdk004rqcwmh8qclz0-mnw-configDir/init.lua'
exec -a "$0" "/nix/store/25jyj132acmpjdk3s5kl79py0bg4jv32-mnw-0.12.2/bin/.nvim-wrapped"  --cmd "lua vim.opt.packpath:prepend('/nix/store/rr6mx8aybdwszfsdk004rqcwmh8qclz0-mnw-configDir');vim.opt.runtimepath:prepend('/nix/store/rr6mx8aybdwszfsdk004rqcwmh8qclz0-mnw-configDir');vim.g.loaded_node_provider=0;vim.g.loaded_perl_provider=0;vim.g.loaded_python_provider=0;vim.g.loaded_python3_provider=0;vim.g.loaded_ruby_provider=0" "$@"

how can we overwrite this variable and where is it set?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions