Skip to content

Default Configuration - install_root_path #313

Answered by williamboman
syntaxman asked this question in Q&A
Discussion options

You must be logged in to vote

Hello! The snippet that contains the default configuration is just copy pasted from the internal settings.lua file. It has an import for path (which is an internal, non-public, mason module). The reason it's used is for nicer cross-platform paths. If you only intend to use your neovim config on a UNIX system then you can substitute that with something like

install_root_dir = vim.fn.stdpath("data") .. "/mason"

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@syntaxman
Comment options

Answer selected by williamboman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants