Skip to content

How to use tthis plugin without a package manager? #149

Answered by damccull
damccull asked this question in Q&A
Discussion options

You must be logged in to vote

Ah, need to answer my own question. The first form of my utils local did work. I just also needed constants.

Fixed with:

if vim.g.did_load_remote_nvim_plugin then
  return
end
vim.g.did_load_remote_nvim_plugin = true

local utils = require('remote-nvim.utils')
local constants = require('remote-nvim.constants')

require('remote-nvim').setup {
  devpod = {
    ssh_config_path = utils.path_join(utils.is_windows, vim.fn.stdpath("data"), constants.PLUGIN_NAME, "ssh_config"), -- Path where devpod SSH configurations should be stored
    search_style = "current_dir_only"
  }
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by damccull
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant