Skip to content

Client

All settings found under the client key.

local plugin = require('distant')
plugin:setup({
   client = {}
})

client.bin

Path to the binary to use for distant on the local machine where neovim is running.

Path to the distant binary. [default: distant or distant.exe]

Example
{
    client = {
        bin = '/path/to/distant'
    }
}

client.log_file

Path where logging should be placed for the distant binary being used as the client. In other words, all of the local logging outside the plugin, server, and manager will go here.

Path to the log file. [default: nil]

Example
{
    client = {
        log_file = '/path/to/client.log'
    }
}

client.log_level

Logging level used for client-based logging tied to the distant binary.

String representing the level. [default: info] Choices are off, error, warn, info, debug, trace.

Example
{
    client = {
        log_level = 'info'
    }
}