plugins.neoconf.settings

Options provided to the require('neoconf').setup function.

Type: attribute set of anything

Default: { }

Example:

{
  filetype_jsonc = true;
  global_settings = "neoconf.json";
  import = {
    coc = true;
    lsp = true;
    vscode = true;
  };
  live_reload = true;
  local_settings = ".neoconf.json";
  plugins = {
    lspconfig = {
      enabled = true;
    };
    lua_ls = {
      enabled = false;
      enabled_for_neovim_config = true;
    };
  };
}

Declared by:

plugins.neoconf.settings.filetype_jsonc

Set the filetype to JSONC for settings files, allowing comments. Requires the JSONC treesitter parser.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.neoconf.settings.global_settings

Name of the global settings file in your Neovim config directory.

Type: null or string or raw lua code

Default: null

Plugin default: "neoconf.json"

Declared by:

plugins.neoconf.settings.live_reload

Send new configuration to LSP clients when JSON settings change.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.neoconf.settings.local_settings

Name of the local settings file for the plugin.

Type: null or string or raw lua code

Default: null

Plugin default: ".neoconf.json"

Declared by: