Sample Header Ad - 728x90

How to detect the linux distribution name in Neovim init.lua

1 vote
2 answers
684 views
How can I detect in my neovim ~/.config/nvim/init.lua configuration which operating system distribution nvim is running? I want different Neovim configurations on debian servers as on my fedora linux workstation machines. - vim.loop.os_uname() only detects 'Linux'. - Is there some builtin like the /etc/os-release file?
Asked by Simon Schürg (241 rep)
Feb 28, 2023, 07:56 PM
Last activity: Aug 13, 2024, 12:04 AM