diff --git a/tests/test-sources/plugins/by-name/actions-preview/default.nix b/tests/test-sources/plugins/by-name/actions-preview/default.nix index 1d03da5f..4c843850 100644 --- a/tests/test-sources/plugins/by-name/actions-preview/default.nix +++ b/tests/test-sources/plugins/by-name/actions-preview/default.nix @@ -16,7 +16,7 @@ diff = { ctxlen = 3; }; - highlight_command = [ ]; + highlight_command.__empty = { }; backend = [ "telescope" "minipick" @@ -35,7 +35,7 @@ ''; nui = { dir = "col"; - keymap = null; + keymap.__raw = "nil"; layout = { position = "50%"; size = { diff --git a/tests/test-sources/plugins/by-name/aerial/default.nix b/tests/test-sources/plugins/by-name/aerial/default.nix index 55aec696..32f7321a 100644 --- a/tests/test-sources/plugins/by-name/aerial/default.nix +++ b/tests/test-sources/plugins/by-name/aerial/default.nix @@ -20,16 +20,16 @@ 40 0.2 ]; - width = null; + width.__raw = "nil"; min_width = 10; - win_opts = { }; + win_opts.__empty = { }; default_direction = "prefer_right"; placement = "window"; resize_to_content = true; preserve_equality = false; }; attach_mode = "window"; - close_automatic_events = [ ]; + close_automatic_events.__empty = { }; keymaps = { "?" = "actions.show_help"; "g?" = "actions.show_help"; @@ -82,11 +82,11 @@ highlight_on_hover = false; highlight_on_jump = 300; autojump = false; - icons = [ ]; + icons.__empty = { }; ignore = { unlisted_buffers = false; diff_windows = true; - filetypes = [ ]; + filetypes.__empty = { }; buftypes = "special"; wintypes = "special"; }; @@ -126,7 +126,7 @@ border = "rounded"; relative = "cursor"; max_height = 0.9; - height = null; + height.__raw = "nil"; min_height = [ 8 0.1 @@ -171,7 +171,7 @@ diagnostics_trigger_update = false; update_when_errors = true; update_delay = 300; - priority = { }; + priority.__empty = { }; }; treesitter = { update_delay = 300; diff --git a/tests/test-sources/plugins/by-name/aider/default.nix b/tests/test-sources/plugins/by-name/aider/default.nix index 5a9b30b8..4471fa8d 100644 --- a/tests/test-sources/plugins/by-name/aider/default.nix +++ b/tests/test-sources/plugins/by-name/aider/default.nix @@ -29,7 +29,7 @@ default_bindings = false; debug = true; vim = true; - ignore_buffers = [ ]; + ignore_buffers.__empty = { }; border = { style = [ "╭" diff --git a/tests/test-sources/plugins/by-name/airline/default.nix b/tests/test-sources/plugins/by-name/airline/default.nix index cde77d4e..f25b83ed 100644 --- a/tests/test-sources/plugins/by-name/airline/default.nix +++ b/tests/test-sources/plugins/by-name/airline/default.nix @@ -26,7 +26,7 @@ inactive_collapse = 1; inactive_alt_sep = 1; theme = "dark"; - theme_patch_func = null; + theme_patch_func.__raw = "nil"; powerline_fonts = 0; symbols_ascii = 0; mode_map = { @@ -47,8 +47,8 @@ v = "V"; V = "V"; }; - exclude_filenames = [ ]; - exclude_filetypes = [ ]; + exclude_filenames.__empty = { }; + exclude_filetypes.__empty = { }; filetype_overrides = { coc-explorer = [ "CoC Explorer" diff --git a/tests/test-sources/plugins/by-name/auto-save/default.nix b/tests/test-sources/plugins/by-name/auto-save/default.nix index ab67d3d6..0ff39923 100644 --- a/tests/test-sources/plugins/by-name/auto-save/default.nix +++ b/tests/test-sources/plugins/by-name/auto-save/default.nix @@ -42,7 +42,7 @@ ]; cancel_deferred_save = [ "InsertEnter" ]; }; - condition = null; + condition.__raw = "nil"; write_all_buffers = false; noautocmd = false; lockmarks = false; diff --git a/tests/test-sources/plugins/by-name/auto-session/default.nix b/tests/test-sources/plugins/by-name/auto-session/default.nix index a1c23523..224dc4c9 100644 --- a/tests/test-sources/plugins/by-name/auto-session/default.nix +++ b/tests/test-sources/plugins/by-name/auto-session/default.nix @@ -13,12 +13,12 @@ auto_save = true; auto_restore = true; auto_create = true; - suppressed_dirs = null; - allowed_dirs = null; + suppressed_dirs.__raw = "nil"; + allowed_dirs.__raw = "nil"; auto_restore_last_session = false; use_git_branch = false; lazy_support = true; - bypass_save_filetypes = null; + bypass_save_filetypes.__raw = "nil"; close_unsupported_windows = true; args_allow_single_directory = true; args_allow_files_auto_save = false; @@ -27,7 +27,7 @@ log_level = "error"; session_lens = { load_on_setup = true; - theme_conf = { }; + theme_conf.__empty = { }; previewer = false; mappings = { delete_session = { diff --git a/tests/test-sources/plugins/by-name/avante/default.nix b/tests/test-sources/plugins/by-name/avante/default.nix index d87e60d8..46837d03 100644 --- a/tests/test-sources/plugins/by-name/avante/default.nix +++ b/tests/test-sources/plugins/by-name/avante/default.nix @@ -28,7 +28,7 @@ copilot = { endpoint = "https://api.githubcopilot.com"; model = "gpt-4o-2024-05-13"; - proxy = null; + proxy.__raw = "nil"; allow_insecure = false; timeout = 30000; extra_request_body = { diff --git a/tests/test-sources/plugins/by-name/barbar/default.nix b/tests/test-sources/plugins/by-name/barbar/default.nix index 2c13d93f..6f1252ec 100644 --- a/tests/test-sources/plugins/by-name/barbar/default.nix +++ b/tests/test-sources/plugins/by-name/barbar/default.nix @@ -30,8 +30,8 @@ animation = true; auto_hide = -1; clickable = true; - exclude_ft = [ ]; - exclude_name = [ ]; + exclude_ft.__empty = { }; + exclude_name.__empty = { }; focus_on_close = "left"; hide = { alternate = false; @@ -94,10 +94,10 @@ filename = false; separator.right = " "; }; - alternate = { }; - current = { }; - inactive = { }; - visible = { }; + alternate.__empty = { }; + current.__empty = { }; + inactive.__empty = { }; + visible.__empty = { }; preset = "default"; }; insert_at_start = false; @@ -107,9 +107,9 @@ maximum_length = 30; minimum_length = 0; minimum_padding = 1; - no_name_title = null; + no_name_title.__raw = "nil"; semantic_letters = true; - sidebar_filetypes = { }; + sidebar_filetypes.__empty = { }; tabpages = true; }; }; @@ -219,7 +219,7 @@ }; }; letters = "asdfjkl;ghnmxcvbziowerutyqpASDFJKLGHNMXCVBZIOWERUTYQP"; - no_name_title = null; + no_name_title.__raw = "nil"; }; }; }; diff --git a/tests/test-sources/plugins/by-name/blame/default.nix b/tests/test-sources/plugins/by-name/blame/default.nix index 6840e317..3a56761b 100644 --- a/tests/test-sources/plugins/by-name/blame/default.nix +++ b/tests/test-sources/plugins/by-name/blame/default.nix @@ -18,8 +18,8 @@ focus_blame = true; merge_consecutive = false; max_summary_width = 30; - colors = null; # won't output literal nil - blame_options = null; # won't output literal nil + colors.__raw = "nil"; + blame_options.__raw = "nil"; format_fn.__raw = "require('blame.formats.default_formats').commit_date_author_fn"; commit_detail_view = "vsplit"; mappings = { diff --git a/tests/test-sources/plugins/by-name/blink-cmp/default.nix b/tests/test-sources/plugins/by-name/blink-cmp/default.nix index 985616aa..65dfa0c1 100644 --- a/tests/test-sources/plugins/by-name/blink-cmp/default.nix +++ b/tests/test-sources/plugins/by-name/blink-cmp/default.nix @@ -59,9 +59,9 @@ "(" ")" ]; - override_brackets_for_filetypes = { }; - force_allow_filetypes = [ ]; - blocked_filetypes = [ ]; + override_brackets_for_filetypes.__empty = { }; + force_allow_filetypes.__empty = { }; + blocked_filetypes.__empty = { }; kind_resolution = { enabled = true; blocked_filetypes = [ @@ -112,7 +112,7 @@ align_to = "label"; padding = 1; gap = 1; - treesitter = { }; + treesitter.__empty = { }; columns = [ [ "kind_icon" ] { @@ -232,9 +232,9 @@ prebuilt_binaries = { download = true; ignore_version_mismatch = false; - force_version = null; - force_system_triple = null; - extra_curl_args = [ ]; + force_version.__raw = "nil"; + force_system_triple.__raw = "nil"; + extra_curl_args.__empty = { }; }; }; sources = { @@ -244,7 +244,7 @@ "snippets" "buffer" ]; - per_filetype = { }; + per_filetype.__empty = { }; cmdline.__raw = '' function() local type = vim.fn.getcmdtype() @@ -310,8 +310,8 @@ enabled = false; trigger = { enabled = true; - blocked_trigger_characters = [ ]; - blocked_retrigger_characters = [ ]; + blocked_trigger_characters.__empty = { }; + blocked_retrigger_characters.__empty = { }; show_on_insert_on_trigger_character = true; }; window = { @@ -387,6 +387,8 @@ ''; }; }; + + # FIXME: This should be __empty but this config is out of date so it throws cmdline = [ ]; }; completion = { diff --git a/tests/test-sources/plugins/by-name/bufferline/default.nix b/tests/test-sources/plugins/by-name/bufferline/default.nix index 2f2a1ad4..a9fc6c34 100644 --- a/tests/test-sources/plugins/by-name/bufferline/default.nix +++ b/tests/test-sources/plugins/by-name/bufferline/default.nix @@ -74,7 +74,7 @@ close_command = "bdelete! %d"; left_mouse_command = "buffer %d"; right_mouse_command = "bdelete! %d"; - middle_mouse_command = null; + middle_mouse_command.__raw = "nil"; indicator = { icon = "▎"; style = "icon"; @@ -82,14 +82,14 @@ left_trunc_marker = ""; right_trunc_marker = ""; separator_style = "thin"; - name_formatter = null; + name_formatter.__raw = "nil"; truncate_names = true; tab_size = 18; max_name_length = 18; color_icons = true; show_buffer_icons = true; show_buffer_close_icons = true; - get_element_icon = null; + get_element_icon.__raw = "nil"; show_close_icon = true; show_tab_indicators = true; show_duplicate_prefix = true; @@ -102,27 +102,27 @@ max_prefix_length = 15; sort_by = "id"; diagnostics = false; - diagnostics_indicator = null; + diagnostics_indicator.__raw = "nil"; diagnostics_update_in_insert = true; diagnostics_update_on_event = true; - offsets = null; + offsets.__raw = "nil"; groups = { - items = [ ]; + items.__empty = { }; options = { toggle_hidden_on_enter = true; }; }; hover = { enabled = false; - reveal = [ ]; + reveal.__empty = { }; delay = 200; }; debug = { logging = false; }; - custom_filter = null; + custom_filter.__raw = "nil"; }; - highlights = { }; + highlights.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/by-name/ccc/default.nix b/tests/test-sources/plugins/by-name/ccc/default.nix index 9994adcf..26079cac 100644 --- a/tests/test-sources/plugins/by-name/ccc/default.nix +++ b/tests/test-sources/plugins/by-name/ccc/default.nix @@ -33,8 +33,8 @@ lsp = true; highlighter = { auto_enable = false; - filetypes = [ ]; - excludes = [ ]; + filetypes.__empty = { }; + excludes.__empty = { }; lsp = true; update_insert = true; }; diff --git a/tests/test-sources/plugins/by-name/chadtree/default.nix b/tests/test-sources/plugins/by-name/chadtree/default.nix index 2521f577..bb3dbb24 100644 --- a/tests/test-sources/plugins/by-name/chadtree/default.nix +++ b/tests/test-sources/plugins/by-name/chadtree/default.nix @@ -52,8 +52,8 @@ "thumbs.db" ".git" ]; - name_glob = [ ]; - path_glob = [ ]; + name_glob.__empty = { }; + path_glob.__empty = { }; }; view = { open_direction = "left"; diff --git a/tests/test-sources/plugins/by-name/chatgpt/default.nix b/tests/test-sources/plugins/by-name/chatgpt/default.nix index 8094fa02..77823ad2 100644 --- a/tests/test-sources/plugins/by-name/chatgpt/default.nix +++ b/tests/test-sources/plugins/by-name/chatgpt/default.nix @@ -11,9 +11,9 @@ enable = true; settings = { - api_key_cmd = null; + api_key_cmd.__raw = "nil"; yank_register = "+"; - extra_curl_params = [ ]; + extra_curl_params.__empty = { }; show_line_numbers = true; edit_with_instructions = { diff = false; @@ -182,7 +182,7 @@ n = 1; }; use_openai_functions_for_edits = false; - actions_paths = [ ]; + actions_paths.__empty = { }; show_quickfixes_cmd = "Trouble quickfix"; predefined_chat_gpt_prompts = "https://raw.githubusercontent.com/f/awesome-chatgpt-prompts/main/prompts.csv"; highlights = { diff --git a/tests/test-sources/plugins/by-name/cloak/default.nix b/tests/test-sources/plugins/by-name/cloak/default.nix index 73a2833b..ea95a70f 100644 --- a/tests/test-sources/plugins/by-name/cloak/default.nix +++ b/tests/test-sources/plugins/by-name/cloak/default.nix @@ -11,14 +11,14 @@ enabled = true; cloak_character = "*"; highlight_group = "Comment"; - cloak_length = null; + cloak_length.__raw = "nil"; try_all_patterns = true; cloak_telescope = true; patterns = [ { file_pattern = ".env*"; cloak_pattern = "=.+"; - replace = null; + replace.__raw = "nil"; } ]; }; diff --git a/tests/test-sources/plugins/by-name/cmake-tools/default.nix b/tests/test-sources/plugins/by-name/cmake-tools/default.nix index face60bf..07268dc9 100644 --- a/tests/test-sources/plugins/by-name/cmake-tools/default.nix +++ b/tests/test-sources/plugins/by-name/cmake-tools/default.nix @@ -14,11 +14,11 @@ cmake_generate_options = { "-DCMAKE_EXPORT_COMPILE_COMMANDS" = 1; }; - cmake_build_options = { }; + cmake_build_options.__empty = { }; cmake_build_directory = "out/\${variant:buildType}"; cmake_soft_link_compile_commands = true; cmake_compile_commands_from_lsp = false; - cmake_kits_path = null; + cmake_kits_path.__raw = "nil"; cmake_variants_message = { short = { @@ -41,7 +41,7 @@ cmake_executor = { name = "quickfix"; - opts = { }; + opts.__empty = { }; default_opts = { quickfix = { show = "always"; @@ -84,7 +84,7 @@ cmake_runner = { name = "terminal"; - opts = { }; + opts.__empty = { }; default_opts = { quickfix = { show = "always"; diff --git a/tests/test-sources/plugins/by-name/cmp-tabnine/default.nix b/tests/test-sources/plugins/by-name/cmp-tabnine/default.nix index 3153f457..4e91d76d 100644 --- a/tests/test-sources/plugins/by-name/cmp-tabnine/default.nix +++ b/tests/test-sources/plugins/by-name/cmp-tabnine/default.nix @@ -18,7 +18,7 @@ sort = true; run_on_every_keystroke = true; snippet_placeholder = ".."; - ignored_file_types = { }; + ignored_file_types.__empty = { }; min_percent = 0; }; }; diff --git a/tests/test-sources/plugins/by-name/codecompanion/default.nix b/tests/test-sources/plugins/by-name/codecompanion/default.nix index 1c285adb..cf41d323 100644 --- a/tests/test-sources/plugins/by-name/codecompanion/default.nix +++ b/tests/test-sources/plugins/by-name/codecompanion/default.nix @@ -21,7 +21,7 @@ }; opts = { allow_insecure = false; - proxy = null; + proxy.__raw = "nil"; }; }; strategies = { diff --git a/tests/test-sources/plugins/by-name/codesnap/default.nix b/tests/test-sources/plugins/by-name/codesnap/default.nix index cb69269b..a3f5d7b1 100644 --- a/tests/test-sources/plugins/by-name/codesnap/default.nix +++ b/tests/test-sources/plugins/by-name/codesnap/default.nix @@ -8,14 +8,14 @@ enable = true; settings = { - save_path = null; + save_path.__raw = "nil"; mac_window_bar = true; title = "CodeSnap.nvim"; code_font_family = "CaskaydiaCove Nerd Font"; watermark_font_family = "Pacifico"; watermark = "CodeSnap.nvim"; bg_theme = "default"; - bg_color = null; + bg_color.__raw = "nil"; breadcrumbs_separator = "/"; has_breadcrumbs = false; has_line_number = false; diff --git a/tests/test-sources/plugins/by-name/colorizer/default.nix b/tests/test-sources/plugins/by-name/colorizer/default.nix index 6fdf208e..d2150960 100644 --- a/tests/test-sources/plugins/by-name/colorizer/default.nix +++ b/tests/test-sources/plugins/by-name/colorizer/default.nix @@ -8,7 +8,7 @@ enable = true; settings = { - filetypes = { }; + filetypes.__empty = { }; user_default_options = { RGB = true; RRGGBB = true; @@ -30,7 +30,7 @@ virtualtext_mode = "foreground"; always_update = false; }; - buftypes = { }; + buftypes.__empty = { }; user_commands = true; }; }; diff --git a/tests/test-sources/plugins/by-name/comment/default.nix b/tests/test-sources/plugins/by-name/comment/default.nix index e7997c82..07eb91b0 100644 --- a/tests/test-sources/plugins/by-name/comment/default.nix +++ b/tests/test-sources/plugins/by-name/comment/default.nix @@ -10,7 +10,7 @@ settings = { padding = true; sticky = true; - ignore = null; + ignore.__raw = "nil"; toggler = { line = "gcc"; block = "gbc"; @@ -28,8 +28,8 @@ basic = true; extra = true; }; - pre_hook = null; - post_hook = null; + pre_hook.__raw = "nil"; + post_hook.__raw = "nil"; }; }; }; diff --git a/tests/test-sources/plugins/by-name/conform-nvim/default.nix b/tests/test-sources/plugins/by-name/conform-nvim/default.nix index 12a14349..4cc0aa16 100644 --- a/tests/test-sources/plugins/by-name/conform-nvim/default.nix +++ b/tests/test-sources/plugins/by-name/conform-nvim/default.nix @@ -24,7 +24,7 @@ enable = true; settings = { - formatters_by_ft = { }; + formatters_by_ft.__empty = { }; format_on_save = { lsp_format = "never"; timeout_ms = 1000; @@ -46,7 +46,7 @@ log_level = "error"; notify_on_error = true; notify_no_formatters = true; - formatters = { }; + formatters.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/by-name/copilot-chat/default.nix b/tests/test-sources/plugins/by-name/copilot-chat/default.nix index 246217f3..8f364fa4 100644 --- a/tests/test-sources/plugins/by-name/copilot-chat/default.nix +++ b/tests/test-sources/plugins/by-name/copilot-chat/default.nix @@ -13,12 +13,12 @@ system_prompt = "require('CopilotChat.config.prompts').COPILOT_INSTRUCTIONS"; model = "gpt-4-o"; agent = "none"; - context = null; - sticky = null; + context.__raw = "nil"; + sticky.__raw = "nil"; temperature = 0.1; headless = false; - callback = null; + callback.__raw = "nil"; selection.__raw = '' function(source) @@ -33,10 +33,10 @@ height = 0.5; relative = "editor"; border = "single"; - row = null; - col = null; + row.__raw = "nil"; + col.__raw = "nil"; title = "Copilot Chat"; - footer = null; + footer.__raw = "nil"; zindex = 1; }; @@ -50,7 +50,7 @@ debug = false; log_level = "info"; - proxy = null; + proxy.__raw = "nil"; allow_insecure = false; chat_autocomplete = true; diff --git a/tests/test-sources/plugins/by-name/cord/default.nix b/tests/test-sources/plugins/by-name/cord/default.nix index dc8207b3..18d6a093 100644 --- a/tests/test-sources/plugins/by-name/cord/default.nix +++ b/tests/test-sources/plugins/by-name/cord/default.nix @@ -17,7 +17,7 @@ editor = { client = "neovim"; tooltip = "The Superior Text Editor"; - icon = null; + icon.__raw = "nil"; }; display = { theme = "default"; @@ -38,12 +38,12 @@ unidle_on_focus = true; smart_idle = true; details = "Idling"; - state = null; + state.__raw = "nil"; tooltip = "💤"; - icon = null; + icon.__raw = "nil"; }; text = { - default = null; + default.__raw = "nil"; workspace.__raw = "function(opts) return 'In ' .. opts.workspace end"; viewing.__raw = "function(opts) return 'Viewing ' .. opts.filename end"; editing.__raw = "function(opts) return 'Editing ' .. opts.filename end"; @@ -60,19 +60,19 @@ terminal.__raw = "function(opts) return 'Running commands in ' .. opts.name end"; dashboard = "Home"; }; - buttons = null; - assets = null; - variables = null; + buttons.__raw = "nil"; + assets.__raw = "nil"; + variables.__raw = "nil"; hooks = { - ready = null; - shutdown = null; - pre_activity = null; - post_activity = null; - idle_enter = null; - idle_leave = null; - workspace_change = null; + ready.__raw = "nil"; + shutdown.__raw = "nil"; + pre_activity.__raw = "nil"; + post_activity.__raw = "nil"; + idle_enter.__raw = "nil"; + idle_leave.__raw = "nil"; + workspace_change.__raw = "nil"; }; - plugins = null; + plugins.__raw = "nil"; advanced = { plugin = { autocmds = true; @@ -81,8 +81,8 @@ }; server = { update = "fetch"; - pipe_path = null; - executable_path = null; + pipe_path.__raw = "nil"; + executable_path.__raw = "nil"; timeout = 300000; }; discord = { diff --git a/tests/test-sources/plugins/by-name/cornelis/default.nix b/tests/test-sources/plugins/by-name/cornelis/default.nix index a4150a83..13e12764 100644 --- a/tests/test-sources/plugins/by-name/cornelis/default.nix +++ b/tests/test-sources/plugins/by-name/cornelis/default.nix @@ -11,7 +11,7 @@ use_global_binary = 0; agda_prefix = ""; no_agda_input = 0; - bind_input_hook = null; + bind_input_hook.__raw = "nil"; }; }; }; diff --git a/tests/test-sources/plugins/by-name/coverage/default.nix b/tests/test-sources/plugins/by-name/coverage/default.nix index 0253a7f9..38643835 100644 --- a/tests/test-sources/plugins/by-name/coverage/default.nix +++ b/tests/test-sources/plugins/by-name/coverage/default.nix @@ -87,7 +87,7 @@ coverage_file = "coverage/coverage.json"; }; }; - lcov_file = null; + lcov_file.__raw = "nil"; }; }; }; diff --git a/tests/test-sources/plugins/by-name/cutlass/default.nix b/tests/test-sources/plugins/by-name/cutlass/default.nix index 7a659901..d8faccef 100644 --- a/tests/test-sources/plugins/by-name/cutlass/default.nix +++ b/tests/test-sources/plugins/by-name/cutlass/default.nix @@ -7,8 +7,8 @@ plugins.cutlass-nvim = { enable = true; settings = { - cut_key = "nil"; - override_del = "nil"; + cut_key.__raw = "nil"; + override_del.__raw = "nil"; exclude.__empty = { }; registers = { select = "_"; diff --git a/tests/test-sources/plugins/by-name/dap-go/default.nix b/tests/test-sources/plugins/by-name/dap-go/default.nix index bffacfe7..25c62312 100644 --- a/tests/test-sources/plugins/by-name/dap-go/default.nix +++ b/tests/test-sources/plugins/by-name/dap-go/default.nix @@ -21,7 +21,7 @@ path = "dlv"; initialize_timeout_sec = 20; port = "$\{port}"; - args = [ ]; + args.__empty = { }; build_flags = "-tags=unit"; }; }; diff --git a/tests/test-sources/plugins/by-name/dap-ui/default.nix b/tests/test-sources/plugins/by-name/dap-ui/default.nix index 78390065..727708bd 100644 --- a/tests/test-sources/plugins/by-name/dap-ui/default.nix +++ b/tests/test-sources/plugins/by-name/dap-ui/default.nix @@ -23,7 +23,7 @@ terminate = ""; }; }; - element_mappings = { }; + element_mappings.__empty = { }; expand_lines = true; floating = { border = "single"; diff --git a/tests/test-sources/plugins/by-name/dap-view/default.nix b/tests/test-sources/plugins/by-name/dap-view/default.nix index 43212196..2cb03e97 100644 --- a/tests/test-sources/plugins/by-name/dap-view/default.nix +++ b/tests/test-sources/plugins/by-name/dap-view/default.nix @@ -101,7 +101,7 @@ ''; }; }; - custom_sections = [ ]; + custom_sections.__empty = { }; controls = { enabled = false; position = "right"; @@ -115,7 +115,7 @@ "terminate" "disconnect" ]; - custom_buttons = [ ]; + custom_buttons.__empty = { }; }; }; windows = { @@ -124,7 +124,7 @@ terminal = { width = 0.5; position = "left"; - hide = { }; + hide.__empty = { }; start_hidden = false; }; }; @@ -144,7 +144,7 @@ terminate = ""; }; help = { - border = null; + border.__raw = "nil"; }; switchbuf = "usetab"; auto_toggle = false; diff --git a/tests/test-sources/plugins/by-name/dashboard/default.nix b/tests/test-sources/plugins/by-name/dashboard/default.nix index 0e85acd7..187a860f 100644 --- a/tests/test-sources/plugins/by-name/dashboard/default.nix +++ b/tests/test-sources/plugins/by-name/dashboard/default.nix @@ -22,7 +22,7 @@ week_header = { enable = false; concat = ""; - append = [ ]; + append.__empty = { }; }; header = [ "" @@ -43,7 +43,7 @@ preview = { command = ""; - file_path = null; + file_path.__raw = "nil"; file_height = 0; file_width = 0; }; @@ -85,7 +85,7 @@ cwd_only = false; }; - footer = [ ]; + footer.__empty = { }; }; }; }; @@ -111,7 +111,7 @@ action = ""; } ]; - footer = [ ]; + footer.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/by-name/dbee/default.nix b/tests/test-sources/plugins/by-name/dbee/default.nix index d1090454..304c5a67 100644 --- a/tests/test-sources/plugins/by-name/dbee/default.nix +++ b/tests/test-sources/plugins/by-name/dbee/default.nix @@ -8,16 +8,16 @@ plugins.dbee = { enable = true; settings = { - default_connection = null; + default_connection.__raw = "nil"; sources = [ (lib.nixvim.mkRaw "require('dbee.sources').EnvSource:new('DBEE_CONNECTIONS')") (lib.nixvim.mkRaw "require('dbee.sources').FileSource:new(vim.fn.stdpath('state') .. '/dbee/persistence.json')") ]; - extra_helpers = { }; - float_options = { }; + extra_helpers.__empty = { }; + float_options.__empty = { }; drawer = { - window_options = { }; - buffer_options = { }; + window_options.__empty = { }; + buffer_options.__empty = { }; disable_help = false; mappings = [ { @@ -176,8 +176,8 @@ }; }; result = { - window_options = { }; - buffer_options = { }; + window_options.__empty = { }; + buffer_options.__empty = { }; page_size = 100; focus_result = true; progress = { @@ -254,8 +254,8 @@ ]; }; editor = { - window_options = { }; - buffer_options = { }; + window_options.__empty = { }; + buffer_options.__empty = { }; mappings = [ { key = "BB"; @@ -270,8 +270,8 @@ ]; }; call_log = { - window_options = { }; - buffer_options = { }; + window_options.__empty = { }; + buffer_options.__empty = { }; mappings = [ { key = ""; diff --git a/tests/test-sources/plugins/by-name/devdocs/default.nix b/tests/test-sources/plugins/by-name/devdocs/default.nix index bedd381d..72c0de97 100644 --- a/tests/test-sources/plugins/by-name/devdocs/default.nix +++ b/tests/test-sources/plugins/by-name/devdocs/default.nix @@ -14,7 +14,7 @@ enable = true; settings = { - ensure_installed = [ ]; + ensure_installed.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/by-name/diagram/default.nix b/tests/test-sources/plugins/by-name/diagram/default.nix index 133f571a..61ad7258 100644 --- a/tests/test-sources/plugins/by-name/diagram/default.nix +++ b/tests/test-sources/plugins/by-name/diagram/default.nix @@ -16,26 +16,26 @@ settings = { renderer_options = { mermaid = { - background = null; - theme = null; + background.__raw = "nil"; + theme.__raw = "nil"; scale = 1; - width = null; - height = null; + width.__raw = "nil"; + height.__raw = "nil"; }; plantuml = { - charset = null; + charset.__raw = "nil"; }; d2 = { - theme_id = null; - dark_theme_id = null; - scale = null; - layout = null; - sketch = null; + theme_id.__raw = "nil"; + dark_theme_id.__raw = "nil"; + scale.__raw = "nil"; + layout.__raw = "nil"; + sketch.__raw = "nil"; }; gnuplot = { - size = null; - font = null; - theme = null; + size.__raw = "nil"; + font.__raw = "nil"; + theme.__raw = "nil"; }; }; }; diff --git a/tests/test-sources/plugins/by-name/diffview/default.nix b/tests/test-sources/plugins/by-name/diffview/default.nix index ab7b7f7d..d0083865 100644 --- a/tests/test-sources/plugins/by-name/diffview/default.nix +++ b/tests/test-sources/plugins/by-name/diffview/default.nix @@ -50,7 +50,7 @@ win_config = { position = "right"; width = 20; - win_opts = { }; + win_opts.__empty = { }; }; }; file_history_panel = { @@ -63,14 +63,14 @@ multi_file.diff_merges = "first-parent"; }; hg = { - single_file = { }; - multi_file = { }; + single_file.__empty = { }; + multi_file.__empty = { }; }; }; win_config = { position = "top"; height = 10; - win_opts = { }; + win_opts.__empty = { }; }; }; diff --git a/tests/test-sources/plugins/by-name/distant/default.nix b/tests/test-sources/plugins/by-name/distant/default.nix index 5541ff05..c4fbc7cb 100644 --- a/tests/test-sources/plugins/by-name/distant/default.nix +++ b/tests/test-sources/plugins/by-name/distant/default.nix @@ -21,8 +21,8 @@ return os_name == 'windows' and 'distant.exe' or 'distant' end)() ''; - log_file = null; - log_level = null; + log_file.__raw = "nil"; + log_level.__raw = "nil"; }; keymap = { dir = { @@ -63,8 +63,8 @@ manager = { daemon = false; lazy = true; - log_file = null; - log_level = null; + log_file.__raw = "nil"; + log_level.__raw = "nil"; user = false; }; network = { @@ -73,15 +73,15 @@ max = 15000; interval = 256; }; - windows_pipe = null; - unix_socket = null; + windows_pipe.__raw = "nil"; + unix_socket.__raw = "nil"; }; servers = { "*" = { connect.default = { }; - cwd = null; + cwd.__raw = "nil"; launch.default = { }; - lsp = { }; + lsp.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/by-name/dressing/default.nix b/tests/test-sources/plugins/by-name/dressing/default.nix index b6a71050..7f7edd5e 100644 --- a/tests/test-sources/plugins/by-name/dressing/default.nix +++ b/tests/test-sources/plugins/by-name/dressing/default.nix @@ -18,7 +18,7 @@ border = "rounded"; relative = "cursor"; prefer_width = 40; - width = null; + width.__raw = "nil"; max_width = [ 140 0.9 @@ -46,7 +46,7 @@ }; }; override = "function(conf) return conf end"; - get_config = null; + get_config.__raw = "nil"; }; select = { enabled = true; @@ -58,15 +58,15 @@ "nui" ]; trim_prompt = true; - telescope = null; + telescope.__raw = "nil"; fzf.window = { width = 0.5; height = 0.4; }; - fzf_lua = { }; + fzf_lua.__empty = { }; nui = { position = "50%"; - size = null; + size.__raw = "nil"; relative = "editor"; border = { style = "rounded"; @@ -88,13 +88,13 @@ border = "rounded"; relative = "editor"; - buf_options = { }; + buf_options.__empty = { }; win_options = { cursorline = true; cursorlineopt = "both"; }; - width = null; + width.__raw = "nil"; max_width = [ 140 0.8 @@ -103,7 +103,7 @@ 40 0.2 ]; - height = null; + height.__raw = "nil"; max_height = 0.9; min_height = [ 10 @@ -118,8 +118,8 @@ override = "function(conf) return conf end"; }; - format_item_override = { }; - get_config = null; + format_item_override.__empty = { }; + get_config.__raw = "nil"; }; }; }; diff --git a/tests/test-sources/plugins/by-name/easy-dotnet/default.nix b/tests/test-sources/plugins/by-name/easy-dotnet/default.nix index 96f66fd9..591c20c0 100644 --- a/tests/test-sources/plugins/by-name/easy-dotnet/default.nix +++ b/tests/test-sources/plugins/by-name/easy-dotnet/default.nix @@ -133,7 +133,7 @@ desc = "refresh testrunner"; }; }; - additional_args = [ ]; + additional_args.__empty = { }; }; csproj_mappings = true; fsproj_mappings = true; diff --git a/tests/test-sources/plugins/by-name/edgy/default.nix b/tests/test-sources/plugins/by-name/edgy/default.nix index 69961321..9bb74b90 100644 --- a/tests/test-sources/plugins/by-name/edgy/default.nix +++ b/tests/test-sources/plugins/by-name/edgy/default.nix @@ -8,26 +8,26 @@ enable = true; settings = { - left = [ ]; - bottom = [ ]; - right = [ ]; - top = [ ]; + left.__empty = { }; + bottom.__empty = { }; + right.__empty = { }; + top.__empty = { }; options = { left = { size = 30; - wo = null; + wo.__raw = "nil"; }; bottom = { size = 10; - wo = null; + wo.__raw = "nil"; }; right = { size = 30; - wo = null; + wo.__raw = "nil"; }; top = { size = 10; - wo = null; + wo.__raw = "nil"; }; }; animate = { diff --git a/tests/test-sources/plugins/by-name/emmet/default.nix b/tests/test-sources/plugins/by-name/emmet/default.nix index 64b2246f..f0fe43f0 100644 --- a/tests/test-sources/plugins/by-name/emmet/default.nix +++ b/tests/test-sources/plugins/by-name/emmet/default.nix @@ -17,11 +17,11 @@ html = { default_attributes = { option = { - value = null; + value.__raw = "nil"; }; textarea = { - id = null; - name = null; + id.__raw = "nil"; + name.__raw = "nil"; cols = 10; rows = 10; }; diff --git a/tests/test-sources/plugins/by-name/eyeliner/default.nix b/tests/test-sources/plugins/by-name/eyeliner/default.nix index 5e15502a..dd1a9f21 100644 --- a/tests/test-sources/plugins/by-name/eyeliner/default.nix +++ b/tests/test-sources/plugins/by-name/eyeliner/default.nix @@ -10,8 +10,8 @@ highlight_on_key = false; dim = false; max_length = 9999; - disabled_filetypes = [ ]; - disabled_buftypes = [ ]; + disabled_filetypes.__empty = { }; + disabled_buftypes.__empty = { }; default_keymaps = true; }; }; diff --git a/tests/test-sources/plugins/by-name/faster/default.nix b/tests/test-sources/plugins/by-name/faster/default.nix index d4596730..b1ab697a 100644 --- a/tests/test-sources/plugins/by-name/faster/default.nix +++ b/tests/test-sources/plugins/by-name/faster/default.nix @@ -22,7 +22,7 @@ ]; filesize = 2; pattern = "*"; - extra_patterns = [ ]; + extra_patterns.__empty = { }; }; fastmacro = { on = true; diff --git a/tests/test-sources/plugins/by-name/fidget/default.nix b/tests/test-sources/plugins/by-name/fidget/default.nix index b20f0ac2..6cf6c121 100644 --- a/tests/test-sources/plugins/by-name/fidget/default.nix +++ b/tests/test-sources/plugins/by-name/fidget/default.nix @@ -20,7 +20,7 @@ return client and client.name or nil end ''; - ignore = [ ]; + ignore.__empty = { }; display = { render_limit = 16; done_ttl = 3; diff --git a/tests/test-sources/plugins/by-name/flash/default.nix b/tests/test-sources/plugins/by-name/flash/default.nix index ecf6668c..f3cd80bf 100644 --- a/tests/test-sources/plugins/by-name/flash/default.nix +++ b/tests/test-sources/plugins/by-name/flash/default.nix @@ -38,8 +38,8 @@ register = false; nohlsearch = false; autojump = false; - inclusive = null; - offset = null; + inclusive.__raw = "nil"; + offset.__raw = "nil"; }; label = { uppercase = true; @@ -72,10 +72,10 @@ label = "FlashLabel"; }; }; - action = null; + action.__raw = "nil"; pattern = ""; continue = false; - config = null; + config.__raw = "nil"; prompt = { enabled = true; prefix = [ diff --git a/tests/test-sources/plugins/by-name/flit/default.nix b/tests/test-sources/plugins/by-name/flit/default.nix index 40a14fb2..f8599e8b 100644 --- a/tests/test-sources/plugins/by-name/flit/default.nix +++ b/tests/test-sources/plugins/by-name/flit/default.nix @@ -16,7 +16,7 @@ labeled_modes = "v"; clever_repeat = true; multiline = true; - opts = { }; + opts.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/by-name/floaterm/default.nix b/tests/test-sources/plugins/by-name/floaterm/default.nix index 08aa5527..90fbb668 100644 --- a/tests/test-sources/plugins/by-name/floaterm/default.nix +++ b/tests/test-sources/plugins/by-name/floaterm/default.nix @@ -8,7 +8,7 @@ enable = true; settings = { - shell = null; + shell.__raw = "nil"; title = "floaterm: $1/$2"; wintype = "float"; width = 0.6; diff --git a/tests/test-sources/plugins/by-name/flutter-tools/default.nix b/tests/test-sources/plugins/by-name/flutter-tools/default.nix index 888c3ce5..615a4644 100644 --- a/tests/test-sources/plugins/by-name/flutter-tools/default.nix +++ b/tests/test-sources/plugins/by-name/flutter-tools/default.nix @@ -20,11 +20,11 @@ }; debugger = { enabled = false; - exception_breakpoints = null; + exception_breakpoints.__raw = "nil"; evaluate_to_string_in_debug_views = true; - register_configurations = null; + register_configurations.__raw = "nil"; }; - flutter_path = null; + flutter_path.__raw = "nil"; flutter_lookup_cmd.__raw = '' (function() local exepath = vim.fn.exepath("flutter") @@ -48,7 +48,7 @@ }; dev_log = { enabled = true; - filter = null; + filter.__raw = "nil"; notify_errors = false; open_cmd.__raw = "('botright %dvnew'):format(math.max(vim.o.columns * 0.4, 50))"; focus_on_open = true; @@ -65,14 +65,14 @@ color = { enabled = false; background = false; - background_color = null; + background_color.__raw = "nil"; foreground = false; virtual_text = true; virtual_text_str = "■"; }; - on_attach = null; - capabilities = null; - settings = null; + on_attach.__raw = "nil"; + capabilities.__raw = "nil"; + settings.__raw = "nil"; }; }; }; diff --git a/tests/test-sources/plugins/by-name/fugit2/default.nix b/tests/test-sources/plugins/by-name/fugit2/default.nix index 9390d21c..d3871772 100644 --- a/tests/test-sources/plugins/by-name/fugit2/default.nix +++ b/tests/test-sources/plugins/by-name/fugit2/default.nix @@ -14,13 +14,13 @@ content_width = 60; height = "60%"; show_patch = false; - libgit2_path = null; + libgit2_path.__raw = "nil"; gpgme_path = "gpgme"; external_diffview = false; blame_priority = 1; blame_info_width = 60; blame_info_height = 10; - colorscheme = null; + colorscheme.__raw = "nil"; }; }; }; diff --git a/tests/test-sources/plugins/by-name/git-conflict/default.nix b/tests/test-sources/plugins/by-name/git-conflict/default.nix index d1b8a32f..ce5a1cba 100644 --- a/tests/test-sources/plugins/by-name/git-conflict/default.nix +++ b/tests/test-sources/plugins/by-name/git-conflict/default.nix @@ -15,7 +15,7 @@ highlights = { incoming = "DiffAdd"; current = "DiffText"; - ancestor = null; + ancestor.__raw = "nil"; }; }; }; diff --git a/tests/test-sources/plugins/by-name/gitblame/default.nix b/tests/test-sources/plugins/by-name/gitblame/default.nix index b4736509..762e6750 100644 --- a/tests/test-sources/plugins/by-name/gitblame/default.nix +++ b/tests/test-sources/plugins/by-name/gitblame/default.nix @@ -13,11 +13,11 @@ date_format = "%c"; message_when_not_committed = " Not Committed Yet"; highlight_group = "Comment"; - set_extmark_options = { }; + set_extmark_options.__empty = { }; display_virtual_text = true; - ignored_filetypes = [ ]; + ignored_filetypes.__empty = { }; delay = 250; - virtual_text_column = null; + virtual_text_column.__raw = "nil"; use_blame_commit_file_urls = false; schedule_event = "CursorMoved"; clear_event = "CursorMovedI"; diff --git a/tests/test-sources/plugins/by-name/gitlab/default.nix b/tests/test-sources/plugins/by-name/gitlab/default.nix index 80b5f356..3c4cbb4d 100644 --- a/tests/test-sources/plugins/by-name/gitlab/default.nix +++ b/tests/test-sources/plugins/by-name/gitlab/default.nix @@ -56,7 +56,7 @@ }; telemetry = { enabled = true; - trackingUrl = null; + trackingUrl.__raw = "nil"; }; }; }; diff --git a/tests/test-sources/plugins/by-name/gitlinker/default.nix b/tests/test-sources/plugins/by-name/gitlinker/default.nix index 0524c5ce..a2d582cf 100644 --- a/tests/test-sources/plugins/by-name/gitlinker/default.nix +++ b/tests/test-sources/plugins/by-name/gitlinker/default.nix @@ -30,7 +30,7 @@ settings = { opts = { - remote = null; + remote.__raw = "nil"; add_current_line_on_normal_mode = true; action_callback = lib.nixvim.mkRaw "require('gitlinker.actions').copy_to_clipboard"; print_url = true; diff --git a/tests/test-sources/plugins/by-name/gitmessenger/default.nix b/tests/test-sources/plugins/by-name/gitmessenger/default.nix index 30400f37..170a495a 100644 --- a/tests/test-sources/plugins/by-name/gitmessenger/default.nix +++ b/tests/test-sources/plugins/by-name/gitmessenger/default.nix @@ -16,11 +16,11 @@ always_into_popup = false; extra_blame_args = ""; preview_mods = ""; - max_popup_height = null; - max_popup_width = null; + max_popup_height.__raw = "nil"; + max_popup_width.__raw = "nil"; date_format = "%c"; conceal_word_diff_marker = true; - floating_win_opts = { }; + floating_win_opts.__empty = { }; popup_content_margins = true; }; }; diff --git a/tests/test-sources/plugins/by-name/gitsigns/default.nix b/tests/test-sources/plugins/by-name/gitsigns/default.nix index c0dcb893..5e637edc 100644 --- a/tests/test-sources/plugins/by-name/gitsigns/default.nix +++ b/tests/test-sources/plugins/by-name/gitsigns/default.nix @@ -45,13 +45,13 @@ internal = false; indent_heuristic = false; vertical = true; - linematch = null; + linematch.__raw = "nil"; ignore_blank_lines = true; ignore_whitespace_change = true; ignore_whitespace = true; ignore_whitespace_change_at_eol = true; }; - base = null; + base.__raw = "nil"; count_chars = { "__unkeyed_1" = "1"; "__unkeyed_2" = "2"; diff --git a/tests/test-sources/plugins/by-name/glance/default.nix b/tests/test-sources/plugins/by-name/glance/default.nix index bc06ac48..f8a9aa1d 100644 --- a/tests/test-sources/plugins/by-name/glance/default.nix +++ b/tests/test-sources/plugins/by-name/glance/default.nix @@ -65,7 +65,7 @@ "l".__raw = ''require('glance').actions.enter_win("list")''; }; }; - hooks = { }; + hooks.__empty = { }; folds = { fold_closed = ""; fold_open = ""; diff --git a/tests/test-sources/plugins/by-name/goto-preview/default.nix b/tests/test-sources/plugins/by-name/goto-preview/default.nix index ac4d8a70..ad9d135b 100644 --- a/tests/test-sources/plugins/by-name/goto-preview/default.nix +++ b/tests/test-sources/plugins/by-name/goto-preview/default.nix @@ -22,13 +22,13 @@ ]; default_mappings = false; debug = false; - opacity = null; + opacity.__raw = "nil"; resizing_mappings = false; - post_open_hook = null; - post_close_hook = null; + post_open_hook.__raw = "nil"; + post_close_hook.__raw = "nil"; references = { provider = "telescope"; - telescope = null; + telescope.__raw = "nil"; }; focus_on_open = true; dismiss_on_move = false; diff --git a/tests/test-sources/plugins/by-name/gx/default.nix b/tests/test-sources/plugins/by-name/gx/default.nix index c1ca0b39..585350c7 100644 --- a/tests/test-sources/plugins/by-name/gx/default.nix +++ b/tests/test-sources/plugins/by-name/gx/default.nix @@ -10,9 +10,9 @@ disableNetrwGx = true; settings = { - open_browser_app = null; - open_browser_args = [ ]; - handlers = { }; + open_browser_app.__raw = "nil"; + open_browser_args.__empty = { }; + handlers.__empty = { }; handler_options = { search_engine = "google"; select_for_search = false; diff --git a/tests/test-sources/plugins/by-name/helpview/default.nix b/tests/test-sources/plugins/by-name/helpview/default.nix index d8ced103..0198b244 100644 --- a/tests/test-sources/plugins/by-name/helpview/default.nix +++ b/tests/test-sources/plugins/by-name/helpview/default.nix @@ -8,16 +8,16 @@ enable = true; settings = { - buf_ignore = null; + buf_ignore.__raw = "nil"; mode = [ "n" "c" ]; - hybrid_modes = null; + hybrid_modes.__raw = "nil"; callback = { - on_enable = null; - on_disable = null; - on_mode_change = null; + on_enable.__raw = "nil"; + on_disable.__raw = "nil"; + on_mode_change.__raw = "nil"; }; }; }; diff --git a/tests/test-sources/plugins/by-name/highlight-colors/default.nix b/tests/test-sources/plugins/by-name/highlight-colors/default.nix index fc54a5a4..3c2f31bd 100644 --- a/tests/test-sources/plugins/by-name/highlight-colors/default.nix +++ b/tests/test-sources/plugins/by-name/highlight-colors/default.nix @@ -18,13 +18,13 @@ enable_short_hex = true; enable_tailwind = false; enable_ansi = false; - custom_colors = null; + custom_colors.__raw = "nil"; virtual_symbol = "■"; virtual_symbol_prefix = ""; virtual_symbol_suffix = " "; virtual_symbol_position = "inline"; - exclude_filetypes = { }; - exclude_buftypes = { }; + exclude_filetypes.__empty = { }; + exclude_buftypes.__empty = { }; exclude_buffer.__raw = "function(bufnr) end"; }; }; diff --git a/tests/test-sources/plugins/by-name/hlchunk/default.nix b/tests/test-sources/plugins/by-name/hlchunk/default.nix index f427f567..e4bb6560 100644 --- a/tests/test-sources/plugins/by-name/hlchunk/default.nix +++ b/tests/test-sources/plugins/by-name/hlchunk/default.nix @@ -12,7 +12,7 @@ let modDefaultConfig = { enable = false; - style = { }; + style.__empty = { }; notify = false; priority = 0; exclude_filetypes = { diff --git a/tests/test-sources/plugins/by-name/hop/default.nix b/tests/test-sources/plugins/by-name/hop/default.nix index 500f0289..83ac488f 100644 --- a/tests/test-sources/plugins/by-name/hop/default.nix +++ b/tests/test-sources/plugins/by-name/hop/default.nix @@ -98,17 +98,17 @@ case_insensitive = true; create_hl_autocmd = true; dim_unmatched = true; - direction = null; + direction.__raw = "nil"; hint_position = "require'hop.hint'.HintPosition.BEGIN"; hint_type = "require'hop.hint'.HintType.OVERLAY"; hint_offset = 0; current_line_only = false; uppercase_labels = false; yank_register = ""; - extensions = null; + extensions.__raw = "nil"; multi_windows = false; - excluded_filetypes = [ ]; - match_mappings = [ ]; + excluded_filetypes.__empty = { }; + match_mappings.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/by-name/hydra/default.nix b/tests/test-sources/plugins/by-name/hydra/default.nix index 60fdd809..9fb9203d 100644 --- a/tests/test-sources/plugins/by-name/hydra/default.nix +++ b/tests/test-sources/plugins/by-name/hydra/default.nix @@ -10,14 +10,14 @@ settings = { debug = false; exit = false; - foreign_keys = null; + foreign_keys.__raw = "nil"; color = "red"; - buffer = null; + buffer.__raw = "nil"; invoke_on_body = false; - desc = null; - on_enter = null; - on_exit = null; - on_key = null; + desc.__raw = "nil"; + on_enter.__raw = "nil"; + on_exit.__raw = "nil"; + on_key.__raw = "nil"; timeout = false; hint = { show_name = true; @@ -42,7 +42,7 @@ color = "red"; buffer = true; invoke_on_body = false; - desc = null; + desc.__raw = "nil"; on_enter = '' function() print('hello') diff --git a/tests/test-sources/plugins/by-name/illuminate/default.nix b/tests/test-sources/plugins/by-name/illuminate/default.nix index 4dc99def..b127030f 100644 --- a/tests/test-sources/plugins/by-name/illuminate/default.nix +++ b/tests/test-sources/plugins/by-name/illuminate/default.nix @@ -14,20 +14,20 @@ "regex" ]; delay = 100; - filetype_overrides = { }; + filetype_overrides.__empty = { }; filetypes_denylist = [ "dirbuf" "dirvish" "fugitive" ]; - filetypes_allowlist = [ ]; - modes_denylist = [ ]; - modes_allowlist = [ ]; - providers_regex_syntax_denylist = [ ]; - providers_regex_syntax_allowlist = [ ]; + filetypes_allowlist.__empty = { }; + modes_denylist.__empty = { }; + modes_allowlist.__empty = { }; + providers_regex_syntax_denylist.__empty = { }; + providers_regex_syntax_allowlist.__empty = { }; under_cursor = true; large_file_cutoff = 10000; - large_file_overrides = null; + large_file_overrides.__raw = "nil"; min_count_to_highlight = 1; }; }; diff --git a/tests/test-sources/plugins/by-name/image/default.nix b/tests/test-sources/plugins/by-name/image/default.nix index 34d5c2d5..b622f0e1 100644 --- a/tests/test-sources/plugins/by-name/image/default.nix +++ b/tests/test-sources/plugins/by-name/image/default.nix @@ -26,8 +26,8 @@ html.enabled = false; css.enabled = false; }; - max_width = null; - max_height = null; + max_width.__raw = "nil"; + max_height.__raw = "nil"; max_width_window_percentage = 100; max_height_window_percentage = 50; scale_factor = 1.0; diff --git a/tests/test-sources/plugins/by-name/inc-rename/default.nix b/tests/test-sources/plugins/by-name/inc-rename/default.nix index 26ad2086..65d7e9d8 100644 --- a/tests/test-sources/plugins/by-name/inc-rename/default.nix +++ b/tests/test-sources/plugins/by-name/inc-rename/default.nix @@ -13,8 +13,8 @@ preview_empty_name = false; show_message = true; save_in_cmdline_history = true; - input_buffer_type = null; - post_hook = null; + input_buffer_type.__raw = "nil"; + post_hook.__raw = "nil"; }; }; }; diff --git a/tests/test-sources/plugins/by-name/indent-blankline/default.nix b/tests/test-sources/plugins/by-name/indent-blankline/default.nix index 3eb35ca7..58d25bb6 100644 --- a/tests/test-sources/plugins/by-name/indent-blankline/default.nix +++ b/tests/test-sources/plugins/by-name/indent-blankline/default.nix @@ -48,29 +48,29 @@ }; indent = { char = "▎"; - tab_char = null; - highlight = null; + tab_char.__raw = "nil"; + highlight.__raw = "nil"; smart_indent_cap = true; priority = 1; }; whitespace = { - highlight = null; + highlight.__raw = "nil"; remove_blankline_trail = true; }; scope = { enabled = true; - char = null; + char.__raw = "nil"; show_start = true; show_end = true; show_exact_scope = false; injected_languages = true; - highlight = null; + highlight.__raw = "nil"; priority = 1024; include = { - node_type = { }; + node_type.__empty = { }; }; exclude = { - language = [ ]; + language.__empty = { }; node_type = { "*" = [ "source_file" diff --git a/tests/test-sources/plugins/by-name/iron/default.nix b/tests/test-sources/plugins/by-name/iron/default.nix index ae017471..c74b4f40 100644 --- a/tests/test-sources/plugins/by-name/iron/default.nix +++ b/tests/test-sources/plugins/by-name/iron/default.nix @@ -9,28 +9,28 @@ settings = { scratch_repl = false; - repl_definition = { }; + repl_definition.__empty = { }; repl_open_cmd.__raw = '' require("iron.view").split.botright(40) ''; - highlight = { }; + highlight.__empty = { }; highlight_last = "IronLastSent"; ignore_blank_lines = true; should_map_plug = false; bufListed = false; keymaps = { - send_motion = null; - visual_send = null; - send_file = null; - send_paragraph = null; - send_until_cursor = null; - send_mark = null; - mark_motion = null; - remove_mark = null; - cr = null; - interrupt = null; - exit = null; - clear = null; + send_motion.__raw = "nil"; + visual_send.__raw = "nil"; + send_file.__raw = "nil"; + send_paragraph.__raw = "nil"; + send_until_cursor.__raw = "nil"; + send_mark.__raw = "nil"; + mark_motion.__raw = "nil"; + remove_mark.__raw = "nil"; + cr.__raw = "nil"; + interrupt.__raw = "nil"; + exit.__raw = "nil"; + clear.__raw = "nil"; }; }; }; diff --git a/tests/test-sources/plugins/by-name/jdtls/default.nix b/tests/test-sources/plugins/by-name/jdtls/default.nix index b102f91d..672a4e31 100644 --- a/tests/test-sources/plugins/by-name/jdtls/default.nix +++ b/tests/test-sources/plugins/by-name/jdtls/default.nix @@ -17,11 +17,11 @@ root_dir.__raw = "require('jdtls.setup').find_root({'.git', 'mvnw', 'gradlew'})"; settings = { - java = { }; + java.__empty = { }; }; init_options = { - bundles = { }; + bundles.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/by-name/jupytext/default.nix b/tests/test-sources/plugins/by-name/jupytext/default.nix index 697236f5..eec9f834 100644 --- a/tests/test-sources/plugins/by-name/jupytext/default.nix +++ b/tests/test-sources/plugins/by-name/jupytext/default.nix @@ -10,8 +10,8 @@ settings = { style = "hydrogen"; output_extension = "auto"; - force_ft = null; - custom_language_formatting = { }; + force_ft.__raw = "nil"; + custom_language_formatting.__empty = { }; }; }; }; @@ -23,7 +23,7 @@ settings = { style = "light"; output_extension = "auto"; - force_ft = null; + force_ft.__raw = "nil"; custom_language_formatting.python = { extension = "md"; style = "markdown"; diff --git a/tests/test-sources/plugins/by-name/kulala/default.nix b/tests/test-sources/plugins/by-name/kulala/default.nix index 72dc0034..2897c54f 100644 --- a/tests/test-sources/plugins/by-name/kulala/default.nix +++ b/tests/test-sources/plugins/by-name/kulala/default.nix @@ -53,7 +53,7 @@ "--html" "-" ]; - pathresolver = [ ]; + pathresolver.__empty = { }; }; }; show_icons = "on_request"; @@ -65,7 +65,7 @@ }; lualine = "🐼"; }; - additional_curl_options = { }; + additional_curl_options.__empty = { }; scratchpad_default_contents = [ "@MY_TOKEN_NAME=my_token_value" "" @@ -84,7 +84,7 @@ vscode_rest_client_environmentvars = false; disable_script_print_output = false; environment_scope = "b"; - certificates = { }; + certificates.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/by-name/lazygit/default.nix b/tests/test-sources/plugins/by-name/lazygit/default.nix index 1eec8dbf..ac778911 100644 --- a/tests/test-sources/plugins/by-name/lazygit/default.nix +++ b/tests/test-sources/plugins/by-name/lazygit/default.nix @@ -23,7 +23,7 @@ floating_window_use_plenary = 0; use_neovim_remote = 1; use_custom_config_file_path = 0; - config_file_path = [ ]; + config_file_path.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/by-name/lean/default.nix b/tests/test-sources/plugins/by-name/lean/default.nix index c04ca015..eca9b1ea 100644 --- a/tests/test-sources/plugins/by-name/lean/default.nix +++ b/tests/test-sources/plugins/by-name/lean/default.nix @@ -35,14 +35,14 @@ lean = { enable = true; settings = { - lsp = { }; + lsp.__empty = { }; ft = { default = "lean"; - nomodifiable = null; + nomodifiable.__raw = "nil"; }; abbreviations = { enable = true; - extra = { }; + extra.__empty = { }; leader = "\\"; }; mappings = false; diff --git a/tests/test-sources/plugins/by-name/ledger/default.nix b/tests/test-sources/plugins/by-name/ledger/default.nix index 720c1f77..8b5d6efa 100644 --- a/tests/test-sources/plugins/by-name/ledger/default.nix +++ b/tests/test-sources/plugins/by-name/ledger/default.nix @@ -8,11 +8,11 @@ enable = true; settings = { - bin = null; - is_hledger = null; + bin.__raw = "nil"; + is_hledger.__raw = "nil"; extra_options = ""; - accounts_cmd = null; - descriptions_cmd = null; + accounts_cmd.__raw = "nil"; + descriptions_cmd.__raw = "nil"; maxwidth = 0; fillstring = " "; detailed_first = 1; @@ -28,8 +28,8 @@ date_format = "%Y/%m/%d"; main = "%"; winpos = "B"; - qf_register_format = null; - qf_reconcile_format = null; + qf_register_format.__raw = "nil"; + qf_reconcile_format.__raw = "nil"; use_location_list = 0; qf_vertical = 0; qf_size = 10; diff --git a/tests/test-sources/plugins/by-name/leetcode/default.nix b/tests/test-sources/plugins/by-name/leetcode/default.nix index febf80bf..c09bedbd 100644 --- a/tests/test-sources/plugins/by-name/leetcode/default.nix +++ b/tests/test-sources/plugins/by-name/leetcode/default.nix @@ -38,7 +38,7 @@ non_standalone = false; }; logging = true; - injector = { }; + injector.__empty = { }; cache = { update_interval = 60 * 60 * 24 * 7; }; @@ -67,7 +67,7 @@ show_stats = true; }; picker = { - provider = null; + provider.__raw = "nil"; }; hooks = { "enter" = { }; @@ -82,7 +82,7 @@ focus_testcases = "H"; focus_result = "L"; }; - theme = { }; + theme.__empty = { }; image_support = false; }; }; diff --git a/tests/test-sources/plugins/by-name/lensline/default.nix b/tests/test-sources/plugins/by-name/lensline/default.nix index 0e594ffa..b2380e6b 100644 --- a/tests/test-sources/plugins/by-name/lensline/default.nix +++ b/tests/test-sources/plugins/by-name/lensline/default.nix @@ -43,8 +43,7 @@ } ]; limits = { - exclude = { - }; + exclude.__empty = { }; exclude_gitignored = true; max_lines = 1000; max_lenses = 70; diff --git a/tests/test-sources/plugins/by-name/lightline/default.nix b/tests/test-sources/plugins/by-name/lightline/default.nix index 6127fd44..382f513e 100644 --- a/tests/test-sources/plugins/by-name/lightline/default.nix +++ b/tests/test-sources/plugins/by-name/lightline/default.nix @@ -9,7 +9,7 @@ settings = { colorscheme = "default"; - component_function = { }; + component_function.__raw = "nil"; component = { mode = ''%{lightline#mode()}''; absolutepath = "%F"; @@ -134,7 +134,7 @@ ] ]; }; - inactive = null; + inactive.__raw = "nil"; mode_map = { "n" = "N"; "i" = "I"; diff --git a/tests/test-sources/plugins/by-name/lilypond-suite/default.nix b/tests/test-sources/plugins/by-name/lilypond-suite/default.nix index aa8387af..4863dcc8 100644 --- a/tests/test-sources/plugins/by-name/lilypond-suite/default.nix +++ b/tests/test-sources/plugins/by-name/lilypond-suite/default.nix @@ -27,11 +27,11 @@ pitches_language = "default"; hyphenation_language = "en_DEFAULT"; output = "pdf"; - backend = null; + backend.__raw = "nil"; main_file = "main.ly"; main_folder = "%:p:h"; - include_dir = null; - pdf_viewer = null; + include_dir.__raw = "nil"; + pdf_viewer.__raw = "nil"; errors = { diagnostics = true; quickfix = "external"; @@ -49,13 +49,13 @@ lilypond_syntax = ""; }; options = { - lilypond_book_flags = null; + lilypond_book_flags.__raw = "nil"; clean_logs = false; main_file = "main.tex"; main_folder = "%:p:h"; - include_dir = null; + include_dir.__raw = "nil"; lilypond_syntax_au = "BufEnter"; - pdf_viewer = null; + pdf_viewer.__raw = "nil"; errors = { diagnostics = true; quickfix = "external"; @@ -82,7 +82,7 @@ main_file = "main.texi"; main_folder = "%:p:h"; lilypond_syntax_au = "BufEnter"; - pdf_viewer = null; + pdf_viewer.__raw = "nil"; errors = { diagnostics = true; quickfix = "external"; @@ -119,8 +119,8 @@ border_style = "single"; winhighlight = "Normal:Normal,FloatBorder:Normal,FloatTitle:Normal"; midi_synth = "fluidsynth"; - fluidsynth_flags = null; - timidity_flags = null; + fluidsynth_flags.__raw = "nil"; + timidity_flags.__raw = "nil"; audio_format = "mp3"; mpv_flags = [ "--msg-level=cplayer=no,ffmpeg=no,alsa=no" diff --git a/tests/test-sources/plugins/by-name/lir/default.nix b/tests/test-sources/plugins/by-name/lir/default.nix index 13d2ddd1..024794a4 100644 --- a/tests/test-sources/plugins/by-name/lir/default.nix +++ b/tests/test-sources/plugins/by-name/lir/default.nix @@ -9,14 +9,14 @@ settings = { show_hidden_files = false; - ignore = [ ]; + ignore.__empty = { }; devicons = { enable = false; highlight_dirname = false; }; hide_cursor = false; on_init.__raw = "function() end"; - mappings = { }; + mappings.__empty = { }; float = { winblend = 0; curdir_window = { @@ -24,7 +24,7 @@ highlight_dirname = false; }; }; - get_filters = null; + get_filters.__raw = "nil"; }; }; }; diff --git a/tests/test-sources/plugins/by-name/llm/default.nix b/tests/test-sources/plugins/by-name/llm/default.nix index b879c10a..c00cf09e 100644 --- a/tests/test-sources/plugins/by-name/llm/default.nix +++ b/tests/test-sources/plugins/by-name/llm/default.nix @@ -19,10 +19,10 @@ enable = true; settings = { - api_token = null; + api_token.__raw = "nil"; model = "bigcode/starcoder2-15b"; backend = "huggingface"; - url = null; + url.__raw = "nil"; tokens_to_clear = [ "<|endoftext|>" ]; request_body = { parameters = { @@ -42,11 +42,11 @@ dismiss_keymap = ""; tls_skip_verify_insecure = false; lsp = { - host = null; - port = null; - cmd_env = null; + host.__raw = "nil"; + port.__raw = "nil"; + cmd_env.__raw = "nil"; }; - tokenizer = null; + tokenizer.__raw = "nil"; context_window = 1024; enable_suggestions_on_startup = true; enable_suggestions_on_files = "*"; diff --git a/tests/test-sources/plugins/by-name/lsp-signature/default.nix b/tests/test-sources/plugins/by-name/lsp-signature/default.nix index ed2256a1..194d00b6 100644 --- a/tests/test-sources/plugins/by-name/lsp-signature/default.nix +++ b/tests/test-sources/plugins/by-name/lsp-signature/default.nix @@ -63,19 +63,19 @@ hi_parameter = "LspSignatureActiveParameter"; handler_opts.border = "rounded"; always_trigger = false; - auto_close_after = "nil"; - extra_trigger_chars = [ ]; + auto_close_after.__raw = "nil"; + extra_trigger_chars.__empty = { }; zindex = 200; padding = ""; - transparency = "nil"; + transparency.__raw = "nil"; shadow_blend = 36; shadow_guibg = "Green"; time_interval = 200; - toggle_key = null; + toggle_key.__raw = "nil"; toggle_flip_floatwin_setting = false; - select_signature_key = null; - move_cursor_key = null; - keymaps = [ ]; + select_signature_key.__raw = "nil"; + move_cursor_key.__raw = "nil"; + keymaps.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/by-name/lsp-status/default.nix b/tests/test-sources/plugins/by-name/lsp-status/default.nix index 44af92e8..6cb40061 100644 --- a/tests/test-sources/plugins/by-name/lsp-status/default.nix +++ b/tests/test-sources/plugins/by-name/lsp-status/default.nix @@ -13,7 +13,7 @@ enable = true; settings = { - kind_labels = { }; + kind_labels.__empty = { }; select_symbol = ""; current_function = true; show_filename = true; diff --git a/tests/test-sources/plugins/by-name/lspkind/default.nix b/tests/test-sources/plugins/by-name/lspkind/default.nix index 1cbf5282..2190b3ec 100644 --- a/tests/test-sources/plugins/by-name/lspkind/default.nix +++ b/tests/test-sources/plugins/by-name/lspkind/default.nix @@ -20,7 +20,7 @@ settings = { mode = "symbol_text"; preset = "codicons"; - symbol_map = null; + symbol_map.__raw = "nil"; }; }; }; diff --git a/tests/test-sources/plugins/by-name/lspsaga/default.nix b/tests/test-sources/plugins/by-name/lspsaga/default.nix index c02d4d77..8f669a4f 100644 --- a/tests/test-sources/plugins/by-name/lspsaga/default.nix +++ b/tests/test-sources/plugins/by-name/lspsaga/default.nix @@ -24,7 +24,7 @@ "━" "┏" ]; - kind = { }; + kind.__empty = { }; imp_sign = "󰳛 "; }; hover = { @@ -87,7 +87,7 @@ default = "ref+imp"; layout = "float"; silent = false; - filter = { }; + filter.__empty = { }; keys = { shuttle = "[w"; toggle_or_open = "o"; diff --git a/tests/test-sources/plugins/by-name/markdown-preview/default.nix b/tests/test-sources/plugins/by-name/markdown-preview/default.nix index 96c019b4..dbac2c6f 100644 --- a/tests/test-sources/plugins/by-name/markdown-preview/default.nix +++ b/tests/test-sources/plugins/by-name/markdown-preview/default.nix @@ -18,18 +18,18 @@ echo_preview_url = 1; browser_func = ""; preview_options = { - mkit = [ ]; - katex = [ ]; - uml = [ ]; - maid = [ ]; + mkit.__empty = { }; + katex.__empty = { }; + uml.__empty = { }; + maid.__empty = { }; disable_sync_scroll = 0; sync_scroll_type = "middle"; hide_yaml_meta = 1; - sequence_diagrams = [ ]; - flowchart_diagrams = [ ]; + sequence_diagrams.__empty = { }; + flowchart_diagrams.__empty = { }; content_editable = 0; disable_filename = 0; - toc = [ ]; + toc.__empty = { }; }; markdown_css = "/Users/username/markdown.css"; highlight_css.__raw = "vim.fn.expand('~/highlight.css')"; diff --git a/tests/test-sources/plugins/by-name/markview/default.nix b/tests/test-sources/plugins/by-name/markview/default.nix index 91a31d66..ff074dd3 100644 --- a/tests/test-sources/plugins/by-name/markview/default.nix +++ b/tests/test-sources/plugins/by-name/markview/default.nix @@ -10,18 +10,18 @@ settings = { preview = { enable = true; - buf_ignore = [ ]; + buf_ignore.__empty = { }; icon_provider = "internal"; - filetypes = [ ]; - hybrid_modes = [ ]; - ignore_previews = [ ]; + filetypes.__empty = { }; + hybrid_modes.__empty = { }; + ignore_previews.__empty = { }; max_buf_lines = 1000; - modes = [ ]; + modes.__empty = { }; render_distance = [ 200 200 ]; - splitview_winopts = { }; + splitview_winopts.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/by-name/minuet/default.nix b/tests/test-sources/plugins/by-name/minuet/default.nix index 7d42ef51..6d468af5 100644 --- a/tests/test-sources/plugins/by-name/minuet/default.nix +++ b/tests/test-sources/plugins/by-name/minuet/default.nix @@ -15,22 +15,22 @@ enable_auto_complete = true; }; lsp = { - enabled_ft = [ ]; - disabled_ft = [ ]; - enabled_auto_trigger_ft = [ ]; - disabled_auto_trigger_ft = [ ]; + enabled_ft.__empty = { }; + disabled_ft.__empty = { }; + enabled_auto_trigger_ft.__empty = { }; + disabled_auto_trigger_ft.__empty = { }; warn_on_blink_or_cmp = true; }; virtualtext = { - auto_trigger_ft = [ ]; - auto_trigger_ignore_ft = [ ]; + auto_trigger_ft.__empty = { }; + auto_trigger_ignore_ft.__empty = { }; keymap = { - accept = null; - accept_line = null; - accept_n_lines = null; - next = null; - prev = null; - dismiss = null; + accept.__raw = "nil"; + accept_line.__raw = "nil"; + accept_n_lines.__raw = "nil"; + next.__raw = "nil"; + prev.__raw = "nil"; + dismiss.__raw = "nil"; }; show_on_completion_menu = false; }; @@ -44,8 +44,8 @@ add_single_line_entry = true; n_completions = 3; after_cursor_filter_length = 15; - proxy = null; - provider_options = { }; + proxy.__raw = "nil"; + provider_options.__empty = { }; default_system = { template = "..."; prompt = "..."; @@ -66,7 +66,7 @@ default_chat_input = [ "..." ]; default_few_shots_prefix_first = [ "..." ]; default_chat_input_prefix_first = [ "..." ]; - presets = [ ]; + presets.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/by-name/mkdnflow/default.nix b/tests/test-sources/plugins/by-name/mkdnflow/default.nix index ec51a6bf..d2b76039 100644 --- a/tests/test-sources/plugins/by-name/mkdnflow/default.nix +++ b/tests/test-sources/plugins/by-name/mkdnflow/default.nix @@ -36,7 +36,7 @@ }; wrap = false; bib = { - default_path = null; + default_path.__raw = "nil"; find_in_root = true; }; silent = false; @@ -44,7 +44,7 @@ style = "markdown"; conceal = false; context = 0; - implicit_extension = null; + implicit_extension.__raw = "nil"; transform_explicit = false; transform_implicit = '' function(text) diff --git a/tests/test-sources/plugins/by-name/modicator/default.nix b/tests/test-sources/plugins/by-name/modicator/default.nix index d6db8377..71b3a11f 100644 --- a/tests/test-sources/plugins/by-name/modicator/default.nix +++ b/tests/test-sources/plugins/by-name/modicator/default.nix @@ -19,7 +19,7 @@ integration = { lualine = { enabled = true; - mode_section = null; + mode_section.__raw = "nil"; highlight = "bg"; }; }; diff --git a/tests/test-sources/plugins/by-name/molten/default.nix b/tests/test-sources/plugins/by-name/molten/default.nix index bf460230..d446801b 100644 --- a/tests/test-sources/plugins/by-name/molten/default.nix +++ b/tests/test-sources/plugins/by-name/molten/default.nix @@ -13,11 +13,11 @@ auto_open_html_in_browser = false; auto_open_output = true; cover_empty_lines = false; - cover_lines_starting_with = [ ]; + cover_lines_starting_with.__empty = { }; copy_output = false; enter_output_behavior = "open_then_enter"; image_provider = "none"; - open_cmd = null; + open_cmd.__raw = "nil"; output_crop_border = true; output_show_more = false; output_virt_lines = false; diff --git a/tests/test-sources/plugins/by-name/multicursors/default.nix b/tests/test-sources/plugins/by-name/multicursors/default.nix index 5131ecc9..764446c3 100644 --- a/tests/test-sources/plugins/by-name/multicursors/default.nix +++ b/tests/test-sources/plugins/by-name/multicursors/default.nix @@ -33,7 +33,7 @@ insert = true; extend = true; config = { - column_count = null; + column_count.__raw = "nil"; max_hint_length = 25; }; }; @@ -82,15 +82,15 @@ }; }; }; - insert_keys = null; - extend_keys = null; + insert_keys.__raw = "nil"; + extend_keys.__raw = "nil"; hint_config = { type = "window"; position = "bottom"; offset = 0; border = "none"; show_name = true; - funcs = null; + funcs.__raw = "nil"; }; generate_hints = { normal = false; diff --git a/tests/test-sources/plugins/by-name/neo-tree/default.nix b/tests/test-sources/plugins/by-name/neo-tree/default.nix index dcf8cba6..170e891c 100644 --- a/tests/test-sources/plugins/by-name/neo-tree/default.nix +++ b/tests/test-sources/plugins/by-name/neo-tree/default.nix @@ -65,7 +65,7 @@ popup_border_style = "NC"; resize_timer_interval = 500; sort_case_insensitive = false; - sort_function = "nil"; + sort_function.__raw = "nil"; use_popups_for_input = true; use_default_mappings = true; source_selector = { @@ -93,14 +93,14 @@ content_layout = "start"; tabs_layout = "equal"; truncation_character = "…"; - tabs_min_width = null; - tabs_max_width = null; + tabs_min_width.__raw = "nil"; + tabs_max_width.__raw = "nil"; padding = 0; separator = { left = "▏"; right = "▕"; }; - separator_active = null; + separator_active.__raw = "nil"; show_separator_on_edge = false; highlight_tab = "NeoTreeTabInactive"; highlight_tab_active = "NeoTreeTabActive"; @@ -154,7 +154,7 @@ indent_marker = "│"; last_indent_marker = "└"; highlight = "NeoTreeIndentMarker"; - with_expanders = null; + with_expanders.__raw = "nil"; expander_collapsed = ""; expander_expanded = ""; expander_highlight = "NeoTreeExpander"; @@ -276,7 +276,7 @@ "bufnr" ]; }; - nesting_rules = { }; + nesting_rules.__empty = { }; window = { position = "left"; width = 40; @@ -380,10 +380,10 @@ ".DS_Store" "thumbs.db" ]; - hide_by_pattern = [ ]; - always_show = [ ]; - never_show = [ ]; - never_show_by_pattern = [ ]; + hide_by_pattern.__empty = { }; + always_show.__empty = { }; + never_show.__empty = { }; + never_show_by_pattern.__empty = { }; }; find_by_full_path_words = false; find_command = "fd"; diff --git a/tests/test-sources/plugins/by-name/neoclip/default.nix b/tests/test-sources/plugins/by-name/neoclip/default.nix index feb28e40..89bd7286 100644 --- a/tests/test-sources/plugins/by-name/neoclip/default.nix +++ b/tests/test-sources/plugins/by-name/neoclip/default.nix @@ -19,7 +19,7 @@ enable = true; settings = { - filter = null; + filter.__raw = "nil"; preview = true; default_register = "\""; content_spec_column = false; @@ -30,20 +30,20 @@ select = ""; paste = ""; paste_behind = ""; - custom = { }; + custom.__empty = { }; }; n = { select = ""; paste = "p"; paste_behind = "P"; - custom = { }; + custom.__empty = { }; }; }; fzf = { select = "default"; paste = "ctrl-l"; paste_behind = "ctrl-h"; - custom = { }; + custom.__empty = { }; }; }; }; @@ -60,9 +60,9 @@ length_limit = 1048576; continuous_sync = false; db_path.__raw = "vim.fn.stdpath('data') .. '/databases/neoclip.sqlite3'"; - filter = null; + filter.__raw = "nil"; preview = true; - prompt = null; + prompt.__raw = "nil"; default_register = "\""; default_register_macros = "q"; enable_macro_history = true; @@ -93,7 +93,7 @@ replay = ""; delete = ""; edit = ""; - custom = { }; + custom.__empty = { }; }; n = { select = ""; @@ -102,14 +102,14 @@ replay = "q"; delete = "d"; edit = "e"; - custom = { }; + custom.__empty = { }; }; }; fzf = { select = "default"; paste = "ctrl-p"; paste_behind = "ctrl-k"; - custom = { }; + custom.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/by-name/neocord/default.nix b/tests/test-sources/plugins/by-name/neocord/default.nix index 00c9c2e0..62474303 100644 --- a/tests/test-sources/plugins/by-name/neocord/default.nix +++ b/tests/test-sources/plugins/by-name/neocord/default.nix @@ -14,13 +14,13 @@ settings = { # General options. logo = "auto"; - logo_tooltip = null; + logo_tooltip.__raw = "nil"; main_image = "language"; client_id = "1157438221865717891"; - log_level = null; + log_level.__raw = "nil"; debounce_timeout = 10; - blacklist = [ ]; - file_assets = null; + blacklist.__empty = { }; + file_assets.__raw = "nil"; show_time = true; global_timer = false; @@ -50,11 +50,11 @@ logo_tooltip = "Nixvim"; main_image = "language"; client_id = "1157438221865717891"; - log_level = null; + log_level.__raw = "nil"; debounce_timeout = 10; enable_line_number = false; - blacklist = [ ]; - file_assets = null; + blacklist.__empty = { }; + file_assets.__raw = "nil"; show_time = true; global_timer = false; diff --git a/tests/test-sources/plugins/by-name/neogit/default.nix b/tests/test-sources/plugins/by-name/neogit/default.nix index 8a6b8624..4aadf40f 100644 --- a/tests/test-sources/plugins/by-name/neogit/default.nix +++ b/tests/test-sources/plugins/by-name/neogit/default.nix @@ -19,8 +19,8 @@ disable_signs = false; prompt_force_push = true; graph_style = "ascii"; - commit_date_format = null; - log_date_format = null; + commit_date_format.__raw = "nil"; + log_date_format.__raw = "nil"; process_spinner = false; filewatcher.enabled = true; telescope_sorter.__raw = '' @@ -50,7 +50,7 @@ tree = ""; }; }; - highlight = { }; + highlight.__empty = { }; disable_insert_on_commit = "auto"; use_per_project_settings = true; remember_settings = true; @@ -132,11 +132,11 @@ ]; }; integrations = { - telescope = null; - diffview = null; - fzf_lua = null; - mini_pick = null; - snacks = null; + telescope.__raw = "nil"; + diffview.__raw = "nil"; + fzf_lua.__raw = "nil"; + mini_pick.__raw = "nil"; + snacks.__raw = "nil"; }; sections = { sequencer = { @@ -188,7 +188,7 @@ hidden = false; }; }; - ignored_settings = [ ]; + ignored_settings.__empty = { }; mappings = { commit_editor = { q = "Close"; diff --git a/tests/test-sources/plugins/by-name/neorg/default.nix b/tests/test-sources/plugins/by-name/neorg/default.nix index 5238f0bb..30995577 100644 --- a/tests/test-sources/plugins/by-name/neorg/default.nix +++ b/tests/test-sources/plugins/by-name/neorg/default.nix @@ -15,9 +15,9 @@ enable = true; settings = { - hook = null; + hook.__raw = "nil"; lazy_loading = false; - load = { }; + load.__empty = { }; logger = { plugin = "neorg"; use_console = true; diff --git a/tests/test-sources/plugins/by-name/neoscroll/default.nix b/tests/test-sources/plugins/by-name/neoscroll/default.nix index f5ac3e4b..6acd46f2 100644 --- a/tests/test-sources/plugins/by-name/neoscroll/default.nix +++ b/tests/test-sources/plugins/by-name/neoscroll/default.nix @@ -60,9 +60,9 @@ step_eof = true; respect_scrolloff = false; cursor_scrolls_alone = true; - easing_function = null; - pre_hook = null; - post_hook = null; + easing_function.__raw = "nil"; + pre_hook.__raw = "nil"; + post_hook.__raw = "nil"; performance_mode = false; }; }; diff --git a/tests/test-sources/plugins/by-name/neotest/dart.nix b/tests/test-sources/plugins/by-name/neotest/dart.nix index 707d8c91..9f2eede2 100644 --- a/tests/test-sources/plugins/by-name/neotest/dart.nix +++ b/tests/test-sources/plugins/by-name/neotest/dart.nix @@ -11,7 +11,7 @@ settings = { command = "flutter"; use_lsp = true; - custom_test_method_names = [ ]; + custom_test_method_names.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/by-name/neotest/default.nix b/tests/test-sources/plugins/by-name/neotest/default.nix index 2ec9ade9..38144958 100644 --- a/tests/test-sources/plugins/by-name/neotest/default.nix +++ b/tests/test-sources/plugins/by-name/neotest/default.nix @@ -53,14 +53,14 @@ discovery = { enabled = true; concurrent = 0; - filter_dir = null; + filter_dir.__raw = "nil"; }; running = { concurrent = true; }; default_strategy = "integrated"; log_level = "warn"; - consumers = { }; + consumers.__empty = { }; icons = { child_indent = "│"; child_prefix = "├"; @@ -110,7 +110,7 @@ border = "rounded"; max_height = 0.6; max_width = 0.6; - options = { }; + options.__empty = { }; }; strategies = { integrated = { @@ -170,8 +170,8 @@ }; watch = { enabled = true; - symbol_queries = null; - filter_path = null; + symbol_queries.__raw = "nil"; + filter_path.__raw = "nil"; }; diagnostic = { enabled = true; diff --git a/tests/test-sources/plugins/by-name/neotest/foundry.nix b/tests/test-sources/plugins/by-name/neotest/foundry.nix index f8993117..a15216d3 100644 --- a/tests/test-sources/plugins/by-name/neotest/foundry.nix +++ b/tests/test-sources/plugins/by-name/neotest/foundry.nix @@ -10,8 +10,8 @@ settings = { foundryCommand = "forge test"; - foundryConfig = null; - env = { }; + foundryConfig.__raw = "nil"; + env.__empty = { }; cwd.__raw = '' function () return lib.files.match_root_pattern("foundry.toml") diff --git a/tests/test-sources/plugins/by-name/neotest/gtest.nix b/tests/test-sources/plugins/by-name/neotest/gtest.nix index f6bcd602..2cdf9ea5 100644 --- a/tests/test-sources/plugins/by-name/neotest/gtest.nix +++ b/tests/test-sources/plugins/by-name/neotest/gtest.nix @@ -33,7 +33,7 @@ history_size = 3; parsing_throttle_ms = 10; mappings = { - configure = null; + configure.__raw = "nil"; }; summary_view = { header_length = 80; @@ -45,7 +45,7 @@ bold = "\27[1m"; }; }; - extra_args = [ ]; + extra_args.__empty = { }; filter_dir.__raw = '' function(name, rel_path, root) end diff --git a/tests/test-sources/plugins/by-name/neotest/phpunit.nix b/tests/test-sources/plugins/by-name/neotest/phpunit.nix index a7ef6db8..6c99f256 100644 --- a/tests/test-sources/plugins/by-name/neotest/phpunit.nix +++ b/tests/test-sources/plugins/by-name/neotest/phpunit.nix @@ -26,7 +26,7 @@ env = { XDEBUG_CONFIG = "idekey=neotest"; }; - dap = null; + dap.__raw = "nil"; }; }; }; diff --git a/tests/test-sources/plugins/by-name/no-neck-pain/default.nix b/tests/test-sources/plugins/by-name/no-neck-pain/default.nix index 66a973f8..5303d36e 100644 --- a/tests/test-sources/plugins/by-name/no-neck-pain/default.nix +++ b/tests/test-sources/plugins/by-name/no-neck-pain/default.nix @@ -28,7 +28,7 @@ buffers = { setNames = false; colors = { - background = null; + background.__raw = "nil"; blend = 0; }; left = { diff --git a/tests/test-sources/plugins/by-name/noice/default.nix b/tests/test-sources/plugins/by-name/noice/default.nix index 4da55c68..b1d2e1d7 100644 --- a/tests/test-sources/plugins/by-name/noice/default.nix +++ b/tests/test-sources/plugins/by-name/noice/default.nix @@ -11,7 +11,7 @@ cmdline = { enabled = true; view = "cmdline_popup"; - opts = { }; + opts.__empty = { }; format = { cmdline = { pattern = "^:"; @@ -44,7 +44,7 @@ pattern = "^:%s*he?l?p?%s+"; icon = ""; }; - input = { }; + input.__empty = { }; }; }; messages = { @@ -58,7 +58,7 @@ popupmenu = { enabled = true; backend = "nui"; - kind_icons = { }; + kind_icons.__empty = { }; }; redirect = { view = "popup"; @@ -147,8 +147,8 @@ }; hover = { enabled = true; - view = null; - opts = { }; + view.__raw = "nil"; + opts.__empty = { }; }; signature = { enabled = true; @@ -158,13 +158,13 @@ luasnip = true; throttle = 50; }; - view = null; - opts = { }; + view.__raw = "nil"; + opts.__empty = { }; }; message = { enabled = true; view = "notify"; - opts = { }; + opts.__empty = { }; }; documentation = { view = "hover"; @@ -213,10 +213,10 @@ lsp_doc_border = false; }; throttle = 1000 / 30; - views = { }; - routes = [ ]; - status = { }; - format = { }; + views.__empty = { }; + routes.__empty = { }; + status.__empty = { }; + format.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/by-name/none-ls/default.nix b/tests/test-sources/plugins/by-name/none-ls/default.nix index c71f5549..d9dfd36c 100644 --- a/tests/test-sources/plugins/by-name/none-ls/default.nix +++ b/tests/test-sources/plugins/by-name/none-ls/default.nix @@ -21,24 +21,27 @@ enable = true; settings = { - border = null; + border.__raw = "nil"; cmd = [ "nvim" ]; debounce = 250; debug = false; default_timeout = 5000; - diagnostic_config = { }; + diagnostic_config.__empty = { }; diagnostics_format = "#{m}"; fallback_severity.__raw = "vim.diagnostic.severity.ERROR"; log_level = "warn"; notify_format = "[null-ls] %s"; - on_attach = null; - on_init = null; - on_exit = null; + on_attach.__raw = "nil"; + on_init.__raw = "nil"; + on_exit.__raw = "nil"; root_dir = "require('null-ls.utils').root_pattern('.null-ls-root', 'Makefile', '.git')"; - root_dir_async = null; - should_attach = null; + root_dir_async.__raw = "nil"; + should_attach.__raw = "nil"; + + # FIXME: This option can't take raw lua sources = null; - temp_dir = null; + + temp_dir.__raw = "nil"; update_in_insert = false; }; }; diff --git a/tests/test-sources/plugins/by-name/notebook-navigator/default.nix b/tests/test-sources/plugins/by-name/notebook-navigator/default.nix index 2d6adefc..77f5b624 100644 --- a/tests/test-sources/plugins/by-name/notebook-navigator/default.nix +++ b/tests/test-sources/plugins/by-name/notebook-navigator/default.nix @@ -13,8 +13,8 @@ enable = true; settings = { - cell_markers = { }; - activate_hydra_keys = null; + cell_markers.__empty = { }; + activate_hydra_keys.__raw = "nil"; show_hydra_hint = true; hydra_keys = { comment = "c"; diff --git a/tests/test-sources/plugins/by-name/notify/default.nix b/tests/test-sources/plugins/by-name/notify/default.nix index cf4bf3f2..73178f5b 100644 --- a/tests/test-sources/plugins/by-name/notify/default.nix +++ b/tests/test-sources/plugins/by-name/notify/default.nix @@ -10,8 +10,8 @@ settings = { level = "info"; timeout = 5000; - max_width = null; - max_height = null; + max_width.__raw = "nil"; + max_height.__raw = "nil"; stages = "fade_in_slide_out"; background_colour = "NotifyBackground"; icons = { @@ -21,8 +21,8 @@ debug = ""; trace = "✎"; }; - on_open = null; - on_close = null; + on_open.__raw = "nil"; + on_close.__raw = "nil"; render = "default"; minimum_width = 50; fps = 30; diff --git a/tests/test-sources/plugins/by-name/nvim-lightbulb/default.nix b/tests/test-sources/plugins/by-name/nvim-lightbulb/default.nix index 429cbdc0..f9e35310 100644 --- a/tests/test-sources/plugins/by-name/nvim-lightbulb/default.nix +++ b/tests/test-sources/plugins/by-name/nvim-lightbulb/default.nix @@ -12,7 +12,7 @@ hide_in_unfocused_buffer = true; link_highlights = true; validate_config = "auto"; - action_kinds = null; + action_kinds.__raw = "nil"; sign = { enabled = true; text = "💡"; @@ -29,7 +29,7 @@ enabled = false; text = "💡"; hl = "LightBulbFloatWin"; - win_opts = { }; + win_opts.__empty = { }; }; status_text = { enabled = false; @@ -54,8 +54,8 @@ ]; }; ignore = { - clients = [ ]; - ft = [ ]; + clients.__empty = { }; + ft.__empty = { }; actions_without_kind = false; }; }; diff --git a/tests/test-sources/plugins/by-name/nvim-snippets/default.nix b/tests/test-sources/plugins/by-name/nvim-snippets/default.nix index a468d9bd..b6bb58ca 100644 --- a/tests/test-sources/plugins/by-name/nvim-snippets/default.nix +++ b/tests/test-sources/plugins/by-name/nvim-snippets/default.nix @@ -16,8 +16,8 @@ create_autocmd = false; create_cmp_source = true; friendly_snippets = false; - ignored_filetypes = null; - extended_filetypes = { }; + ignored_filetypes.__raw = "nil"; + extended_filetypes.__empty = { }; global_snippets = [ "all" ]; search_paths = [ { __raw = "vim.fn.stdpath('config') .. '/snippets'"; } ]; }; diff --git a/tests/test-sources/plugins/by-name/nvim-tree/default.nix b/tests/test-sources/plugins/by-name/nvim-tree/default.nix index 3f55233e..cc0b7936 100644 --- a/tests/test-sources/plugins/by-name/nvim-tree/default.nix +++ b/tests/test-sources/plugins/by-name/nvim-tree/default.nix @@ -19,7 +19,7 @@ sort_by = "name"; hijack_unnamed_buffer_when_opening = false; hijack_cursor = false; - root_dirs = [ ]; + root_dirs.__empty = { }; prefer_startup_root = false; sync_root_with_cwd = false; reload_on_bufenter = false; @@ -31,11 +31,11 @@ update_focused_file = { enable = false; update_root = false; - ignore_list = [ ]; + ignore_list.__empty = { }; }; system_open = { cmd = ""; - args = [ ]; + args.__empty = { }; }; diagnostics = { enable = false; @@ -68,7 +68,7 @@ filesystem_watchers = { enable = true; debounce_delay = 50; - ignore_dirs = [ ]; + ignore_dirs.__empty = { }; }; on_attach = "default"; select_prompts = false; @@ -168,8 +168,8 @@ dotfiles = false; git_clean = false; no_buffer = false; - custom = [ ]; - exclude = [ ]; + custom.__empty = { }; + exclude.__empty = { }; }; actions = { change_dir = { @@ -179,7 +179,7 @@ }; expand_all = { max_folder_discovery = 300; - exclude = [ ]; + exclude.__empty = { }; }; file_popup = { open_win_config = { @@ -227,7 +227,7 @@ sync = { open = false; close = false; - ignore = [ ]; + ignore.__empty = { }; }; }; notify = { diff --git a/tests/test-sources/plugins/by-name/nvim-ufo/default.nix b/tests/test-sources/plugins/by-name/nvim-ufo/default.nix index 87db4214..45e0c878 100644 --- a/tests/test-sources/plugins/by-name/nvim-ufo/default.nix +++ b/tests/test-sources/plugins/by-name/nvim-ufo/default.nix @@ -60,11 +60,11 @@ enable = true; settings = { open_fold_hl_timeout = 400; - provider_selector = null; + provider_selector.__raw = "nil"; close_fold_kinds_for_ft = { - default = { }; + default.__empty = { }; }; - fold_virt_text_handler = null; + fold_virt_text_handler.__raw = "nil"; enable_get_fold_virt_text = false; preview = { win_config = { diff --git a/tests/test-sources/plugins/by-name/obsidian/default.nix b/tests/test-sources/plugins/by-name/obsidian/default.nix index 7eb341c2..00e88460 100644 --- a/tests/test-sources/plugins/by-name/obsidian/default.nix +++ b/tests/test-sources/plugins/by-name/obsidian/default.nix @@ -29,7 +29,7 @@ # TODO 2025-07-25 explicitly disable legacy commands to suppress deprecation warning legacy_commands = false; - dir = null; + dir.__raw = "nil"; workspaces = [ { name = "work"; @@ -77,7 +77,7 @@ enable = false; settings = { - dir = null; + dir.__raw = "nil"; workspaces = [ { name = "work"; @@ -94,7 +94,7 @@ # subdir = "templates"; date_format = "%Y-%m-%d"; time_format = "%H:%M"; - substitutions = { }; + substitutions.__empty = { }; }; new_notes_location = "current_dir"; note_id_func = '' diff --git a/tests/test-sources/plugins/by-name/octo/default.nix b/tests/test-sources/plugins/by-name/octo/default.nix index dec99d5d..52ee7af2 100644 --- a/tests/test-sources/plugins/by-name/octo/default.nix +++ b/tests/test-sources/plugins/by-name/octo/default.nix @@ -78,8 +78,8 @@ "origin" ]; - gh_env = { }; - ssh_aliases = { }; + gh_env.__empty = { }; + ssh_aliases.__empty = { }; picker_config = { use_emojis = false; diff --git a/tests/test-sources/plugins/by-name/oil/default.nix b/tests/test-sources/plugins/by-name/oil/default.nix index fceb8412..181f372c 100644 --- a/tests/test-sources/plugins/by-name/oil/default.nix +++ b/tests/test-sources/plugins/by-name/oil/default.nix @@ -42,7 +42,7 @@ { __unkeyed = "type"; highlight = "Foo"; - icons = { }; + icons.__empty = { }; } { @@ -167,13 +167,13 @@ 40 0.4 ]; - width = null; + width.__raw = "nil"; max_height = 0.9; min_height = [ 5 0.1 ]; - height = null; + height.__raw = "nil"; border = "rounded"; win_options = { winblend = 0; @@ -186,13 +186,13 @@ 40 0.4 ]; - width = null; + width.__raw = "nil"; max_height = 0.9; min_height = [ 5 0.1 ]; - height = null; + height.__raw = "nil"; border = "rounded"; minimized_border = "none"; win_options = { diff --git a/tests/test-sources/plugins/by-name/opencode/default.nix b/tests/test-sources/plugins/by-name/opencode/default.nix index 24df0800..1a2c5d34 100644 --- a/tests/test-sources/plugins/by-name/opencode/default.nix +++ b/tests/test-sources/plugins/by-name/opencode/default.nix @@ -7,7 +7,7 @@ plugins.opencode = { enable = true; settings = { - port = null; + port.__raw = "nil"; auto_reload = true; auto_register_cmp_sources = [ "opencode" diff --git a/tests/test-sources/plugins/by-name/overseer/default.nix b/tests/test-sources/plugins/by-name/overseer/default.nix index ef9679d8..5defa106 100644 --- a/tests/test-sources/plugins/by-name/overseer/default.nix +++ b/tests/test-sources/plugins/by-name/overseer/default.nix @@ -20,13 +20,13 @@ 40 0.1 ]; - width = null; + width.__raw = "nil"; max_height = [ 20 0.1 ]; min_height = 8; - height = null; + height.__raw = "nil"; separator = "────────────────────────────────────────"; direction = "bottom"; bindings = { @@ -53,16 +53,16 @@ "q" = "Close"; }; }; - actions = { }; + actions.__empty = { }; form = { border = "rounded"; zindex = 40; min_width = 80; max_width = 0.9; - width = null; + width.__raw = "nil"; min_height = 10; max_height = 0.9; - height = null; + height.__raw = "nil"; win_opts = { winblend = 0; }; @@ -105,10 +105,10 @@ zindex = 40; min_width = 20; max_width = 0.5; - width = null; + width.__raw = "nil"; min_height = 6; max_height = 0.9; - height = null; + height.__raw = "nil"; win_opts = { winblend = 0; }; @@ -122,7 +122,7 @@ }; help_win = { border = "rounded"; - win_opts = { }; + win_opts.__empty = { }; }; component_aliases = { default = [ @@ -152,7 +152,7 @@ }; autostart_on_load = true; }; - preload_components = [ ]; + preload_components.__empty = { }; default_template_prompt = "allow"; template_timeout = 3000; template_cache_threshold = 100; diff --git a/tests/test-sources/plugins/by-name/papis/default.nix b/tests/test-sources/plugins/by-name/papis/default.nix index 78bf305b..19abecf6 100644 --- a/tests/test-sources/plugins/by-name/papis/default.nix +++ b/tests/test-sources/plugins/by-name/papis/default.nix @@ -315,7 +315,7 @@ key_name_conversions = { time_added = "time-added"; }; - tag_format = null; + tag_format.__raw = "nil"; required_keys = [ "papis_id" "ref" diff --git a/tests/test-sources/plugins/by-name/parrot/default.nix b/tests/test-sources/plugins/by-name/parrot/default.nix index 0790172e..7a541651 100644 --- a/tests/test-sources/plugins/by-name/parrot/default.nix +++ b/tests/test-sources/plugins/by-name/parrot/default.nix @@ -41,7 +41,7 @@ }; }; cmd_prefix = "Prt"; - curl_params = [ ]; + curl_params.__empty = { }; state_dir.__raw = "vim.fn.stdpath('data'):gsub('/$', '') .. '/parrot/persisted'"; chat_dir.__raw = "vim.fn.stdpath('data'):gsub('/$', '') .. '/parrot/chats'"; chat_user_prefix = "🗨:"; diff --git a/tests/test-sources/plugins/by-name/pckr/default.nix b/tests/test-sources/plugins/by-name/pckr/default.nix index ba21351e..53ac1248 100644 --- a/tests/test-sources/plugins/by-name/pckr/default.nix +++ b/tests/test-sources/plugins/by-name/pckr/default.nix @@ -9,7 +9,7 @@ settings = { pack_dir.__raw = "vim.fs.joinpath(vim.fn.stdpath('data'), 'site')"; - max_jobs = null; + max_jobs.__raw = "nil"; autoremove = false; autoinstall = true; git = { diff --git a/tests/test-sources/plugins/by-name/persisted/default.nix b/tests/test-sources/plugins/by-name/persisted/default.nix index 7c97674a..43d4ab15 100644 --- a/tests/test-sources/plugins/by-name/persisted/default.nix +++ b/tests/test-sources/plugins/by-name/persisted/default.nix @@ -19,8 +19,8 @@ use_git_branch = false; autoload = false; on_autoload_no_session.__raw = "function() end"; - allowed_dirs = [ ]; - ignored_dirs = [ ]; + allowed_dirs.__empty = { }; + ignored_dirs.__empty = { }; telescope = { mappings = { copy_session = ""; diff --git a/tests/test-sources/plugins/by-name/presence/default.nix b/tests/test-sources/plugins/by-name/presence/default.nix index 114b3ac4..a00dafbf 100644 --- a/tests/test-sources/plugins/by-name/presence/default.nix +++ b/tests/test-sources/plugins/by-name/presence/default.nix @@ -11,13 +11,13 @@ neovim_image_text = "The One True Text Editor"; main_image = "neovim"; client_id = "793271441293967371"; - log_level = null; + log_level.__raw = "nil"; debounce_timeout = 10; enable_line_number = false; - blacklist = [ ]; - file_assets = null; + blacklist.__empty = { }; + file_assets.__raw = "nil"; show_time = true; - buttons = [ ]; + buttons.__empty = { }; editing_text = "Editing %s"; file_explorer_text = "Browsing %s"; git_commit_text = "Committing changes"; diff --git a/tests/test-sources/plugins/by-name/project-nvim/default.nix b/tests/test-sources/plugins/by-name/project-nvim/default.nix index e6a4870f..4d1d75bf 100644 --- a/tests/test-sources/plugins/by-name/project-nvim/default.nix +++ b/tests/test-sources/plugins/by-name/project-nvim/default.nix @@ -44,8 +44,8 @@ "Makefile" "package.json" ]; - ignore_lsp = [ ]; - exclude_dirs = [ ]; + ignore_lsp.__empty = { }; + exclude_dirs.__empty = { }; show_hidden = false; silent_chdir = true; scope_chdir = "global"; diff --git a/tests/test-sources/plugins/by-name/projections/default.nix b/tests/test-sources/plugins/by-name/projections/default.nix index 07638d8f..98c87619 100644 --- a/tests/test-sources/plugins/by-name/projections/default.nix +++ b/tests/test-sources/plugins/by-name/projections/default.nix @@ -9,14 +9,14 @@ settings = { store_hooks = { - pre = null; - post = null; + pre.__raw = "nil"; + post.__raw = "nil"; }; restore_hooks = { - pre = null; - post = null; + pre.__raw = "nil"; + post.__raw = "nil"; }; - workspaces = [ ]; + workspaces.__empty = { }; patterns = [ ".git" ".svn" diff --git a/tests/test-sources/plugins/by-name/qmk/default.nix b/tests/test-sources/plugins/by-name/qmk/default.nix index 4c64f52c..b32ed54a 100644 --- a/tests/test-sources/plugins/by-name/qmk/default.nix +++ b/tests/test-sources/plugins/by-name/qmk/default.nix @@ -27,7 +27,7 @@ auto_format_pattern = "*keymap.c"; comment_preview = { position = "top"; - keymap_overrides = { }; + keymap_overrides.__empty = { }; symbols = { space = " "; horz = "─"; diff --git a/tests/test-sources/plugins/by-name/quarto/default.nix b/tests/test-sources/plugins/by-name/quarto/default.nix index d28c1837..aeafc105 100644 --- a/tests/test-sources/plugins/by-name/quarto/default.nix +++ b/tests/test-sources/plugins/by-name/quarto/default.nix @@ -37,8 +37,8 @@ }; codeRunner = { enabled = false; - default_method = null; - ft_runners = { }; + default_method.__raw = "nil"; + ft_runners.__empty = { }; never_run = [ "yaml" ]; }; }; diff --git a/tests/test-sources/plugins/by-name/refactoring/default.nix b/tests/test-sources/plugins/by-name/refactoring/default.nix index 6fe52917..985fb04b 100644 --- a/tests/test-sources/plugins/by-name/refactoring/default.nix +++ b/tests/test-sources/plugins/by-name/refactoring/default.nix @@ -62,9 +62,9 @@ hpp = false; cxx = false; }; - printf_statements = { }; - print_var_statements = { }; - extract_var_statements = { }; + printf_statements.__empty = { }; + print_var_statements.__empty = { }; + extract_var_statements.__empty = { }; show_success_message = false; }; }; diff --git a/tests/test-sources/plugins/by-name/remote-nvim/default.nix b/tests/test-sources/plugins/by-name/remote-nvim/default.nix index 3425304c..31e96e09 100644 --- a/tests/test-sources/plugins/by-name/remote-nvim/default.nix +++ b/tests/test-sources/plugins/by-name/remote-nvim/default.nix @@ -13,8 +13,8 @@ docker_binary = "docker"; search_style = "current_dir_only"; dotfiles = { - path = null; - install_script = null; + path.__raw = "nil"; + install_script.__raw = "nil"; }; gpg_agent_forwarding = false; container_list = "running_only"; @@ -57,26 +57,26 @@ dirs = "*"; compression = { enabled = false; - additional_opts = { }; + additional_opts.__empty = { }; }; }; data = { base.__raw = ''vim.fn.stdpath("data")''; - dirs = { }; + dirs.__empty = { }; compression = { enabled = true; }; }; cache = { base.__raw = ''vim.fn.stdpath("cache")''; - dirs = { }; + dirs.__empty = { }; compression = { enabled = true; }; }; state = { base.__raw = ''vim.fn.stdpath("state")''; - dirs = { }; + dirs.__empty = { }; compression = { enabled = true; }; diff --git a/tests/test-sources/plugins/by-name/render-markdown/default.nix b/tests/test-sources/plugins/by-name/render-markdown/default.nix index 2f0bd214..c84fa92f 100644 --- a/tests/test-sources/plugins/by-name/render-markdown/default.nix +++ b/tests/test-sources/plugins/by-name/render-markdown/default.nix @@ -44,7 +44,7 @@ sign.enabled = false; }; }; - filetype = { }; + filetype.__empty = { }; }; log_level = "error"; padding.highlight = "Normal"; diff --git a/tests/test-sources/plugins/by-name/rest/default.nix b/tests/test-sources/plugins/by-name/rest/default.nix index 32e7ca69..77050905 100644 --- a/tests/test-sources/plugins/by-name/rest/default.nix +++ b/tests/test-sources/plugins/by-name/rest/default.nix @@ -13,7 +13,7 @@ enable = true; settings = { - custom_dynamic_variables = { }; + custom_dynamic_variables.__empty = { }; request = { skip_ssl_verification = false; hooks = { diff --git a/tests/test-sources/plugins/by-name/roslyn/default.nix b/tests/test-sources/plugins/by-name/roslyn/default.nix index 36fb3b4f..8925f288 100644 --- a/tests/test-sources/plugins/by-name/roslyn/default.nix +++ b/tests/test-sources/plugins/by-name/roslyn/default.nix @@ -16,8 +16,8 @@ enable = true; settings = { filewatching = "auto"; - choose_target = null; - ignore_target = null; + choose_target.__raw = "nil"; + ignore_target.__raw = "nil"; broad_search = false; lock_target = false; silent = false; diff --git a/tests/test-sources/plugins/by-name/rustaceanvim/default.nix b/tests/test-sources/plugins/by-name/rustaceanvim/default.nix index 7d5b0fd2..0e59c125 100644 --- a/tests/test-sources/plugins/by-name/rustaceanvim/default.nix +++ b/tests/test-sources/plugins/by-name/rustaceanvim/default.nix @@ -13,10 +13,10 @@ executor = "termopen"; test_executor = "background"; crate_test_executor = "background"; - cargo_override = null; + cargo_override.__raw = "nil"; enable_nextest = true; enable_clippy = true; - on_initialized = null; + on_initialized.__raw = "nil"; reload_workspace_from_cargo_toml = true; hover_actions = { replace_builtin_hover = true; @@ -31,7 +31,7 @@ }; crate_graph = { backend = "x11"; - output = null; + output.__raw = "nil"; full = true; enabled_graphviz_backends = [ "bmp" @@ -89,7 +89,7 @@ "xlib" "x11" ]; - pipe = null; + pipe.__raw = "nil"; }; open_url = "require('rustaceanvim.os').open_url"; }; @@ -109,7 +109,7 @@ return vim.fn.executable(rs_bin) == 1 end ''; - on_attach = null; + on_attach.__raw = "nil"; cmd = '' function() return { 'rust-analyzer', '--log-file', RustaceanConfig.server.logfile } @@ -126,7 +126,7 @@ }; dap = { autoload_configurations = true; - adapter = null; + adapter.__raw = "nil"; }; }; }; diff --git a/tests/test-sources/plugins/by-name/scrollview/default.nix b/tests/test-sources/plugins/by-name/scrollview/default.nix index 200f60f3..ae17d127 100644 --- a/tests/test-sources/plugins/by-name/scrollview/default.nix +++ b/tests/test-sources/plugins/by-name/scrollview/default.nix @@ -15,7 +15,7 @@ column = 1; consider_border = false; current_only = false; - excluded_filetypes = [ ]; + excluded_filetypes.__empty = { }; floating_windows = false; hide_bar_for_insert = false; hide_on_intersect = false; @@ -29,7 +29,7 @@ winblend = 50; winblend_gui = 0; zindex = 40; - signs_hidden_for_insert = [ ]; + signs_hidden_for_insert.__empty = { }; signs_max_per_row = -1; signs_on_startup = [ "diagnostics" @@ -39,11 +39,11 @@ signs_overflow = "left"; signs_show_in_folds = false; changelist_previous_priority = 15; - changelist_previous_symbol = null; + changelist_previous_symbol.__raw = "nil"; changelist_current_priority = 10; changelist_current_symbol = "@"; changelist_next_priority = 5; - changelist_next_symbol = null; + changelist_next_symbol.__raw = "nil"; conflicts_bottom_priority = 80; conflicts_bottom_symbol = ">"; conflicts_middle_priority = 75; @@ -51,26 +51,26 @@ conflicts_top_priority = 70; conflicts_top_symbol = "<"; cursor_priority = 0; - cursor_symbol = null; + cursor_symbol.__raw = "nil"; diagnostics_error_priority = 60; diagnostics_error_symbol = "E"; diagnostics_hint_priority = 30; diagnostics_hint_symbol = "H"; diagnostics_info_priority = 40; diagnostics_info_symbol.__raw = "'I'"; # test rawLua support - diagnostics_severities = null; + diagnostics_severities.__raw = "nil"; diagnostics_warn_priority = 50; diagnostics_warn_symbol = "W"; folds_priority = 30; - folds_symbol = null; + folds_symbol.__raw = "nil"; latestchange_priority = 10; - latestchange_symbol = null; + latestchange_symbol.__raw = "nil"; loclist_priority = 45; - loclist_symbol = null; - marks_characters = null; + loclist_symbol.__raw = "nil"; + marks_characters.__raw = "nil"; marks_priority = 50; quickfix_priority = 45; - quickfix_symbol = null; + quickfix_symbol.__raw = "nil"; search_priority = 70; search_symbol = [ "=" @@ -80,9 +80,9 @@ spell_priority = 20; spell_symbol = "~"; textwidth_priority = 20; - textwidth_symbol = null; + textwidth_symbol.__raw = "nil"; trail_priority = 50; - trail_symbol = null; + trail_symbol.__raw = "nil"; }; }; }; diff --git a/tests/test-sources/plugins/by-name/sg/default.nix b/tests/test-sources/plugins/by-name/sg/default.nix index 4de35970..e00ce227 100644 --- a/tests/test-sources/plugins/by-name/sg/default.nix +++ b/tests/test-sources/plugins/by-name/sg/default.nix @@ -17,7 +17,7 @@ enable_cody = false; accept_tos = false; chat = { - default_model = null; + default_model.__raw = "nil"; }; download_binaries = true; node_executable = "node"; @@ -30,7 +30,7 @@ vim.keymap.set("n", "K", vim.lsp.buf.hover, { buffer = bufnr }) end ''; - src_headers = null; + src_headers.__raw = "nil"; }; }; }; diff --git a/tests/test-sources/plugins/by-name/sidekick/default.nix b/tests/test-sources/plugins/by-name/sidekick/default.nix index 286951dc..2e4786c0 100644 --- a/tests/test-sources/plugins/by-name/sidekick/default.nix +++ b/tests/test-sources/plugins/by-name/sidekick/default.nix @@ -46,8 +46,8 @@ watch = true; win = { config = lib.nixvim.mkRaw "function(terminal) end"; - wo = { }; - bo = { }; + wo.__empty = { }; + bo.__empty = { }; layout = "right"; float = { width = 0.9; @@ -166,7 +166,7 @@ row = false; col = false; }; - position = { }; + position.__empty = { }; }; }; debug = false; diff --git a/tests/test-sources/plugins/by-name/smartcolumn/default.nix b/tests/test-sources/plugins/by-name/smartcolumn/default.nix index 0495fd0d..3395b4e1 100644 --- a/tests/test-sources/plugins/by-name/smartcolumn/default.nix +++ b/tests/test-sources/plugins/by-name/smartcolumn/default.nix @@ -13,7 +13,7 @@ "markdown" ]; scope = "file"; - custom_colorcolumn = { }; + custom_colorcolumn.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/by-name/smear-cursor/default.nix b/tests/test-sources/plugins/by-name/smear-cursor/default.nix index 61049ed8..bcc2be0d 100644 --- a/tests/test-sources/plugins/by-name/smear-cursor/default.nix +++ b/tests/test-sources/plugins/by-name/smear-cursor/default.nix @@ -17,7 +17,7 @@ hide_target_hack = true; max_kept_windows = 50; windows_zindex = 300; - filetypes_disabled = [ ]; + filetypes_disabled.__empty = { }; time_interval = 17; delay_animation_start = 5; stiffness = 0.6; @@ -36,8 +36,8 @@ minimum_volume_factor = 0.7; max_length = 25; logging_level.__raw = "vim.log.levels.INFO"; - cursor_color = null; - normal_bg = null; + cursor_color.__raw = "nil"; + normal_bg.__raw = "nil"; transparent_bg_fallback_color = "303030"; cterm_cursor_colors = [ 240 diff --git a/tests/test-sources/plugins/by-name/sniprun/default.nix b/tests/test-sources/plugins/by-name/sniprun/default.nix index 591e68a1..17054626 100644 --- a/tests/test-sources/plugins/by-name/sniprun/default.nix +++ b/tests/test-sources/plugins/by-name/sniprun/default.nix @@ -8,10 +8,10 @@ enable = true; settings = { - selected_interpreters = [ ]; - repl_enable = [ ]; - repl_disable = [ ]; - interpreter_options = { }; + selected_interpreters.__empty = { }; + repl_enable.__empty = { }; + repl_disable.__empty = { }; + interpreter_options.__empty = { }; display = [ "Classic" "VirtualTextOk" diff --git a/tests/test-sources/plugins/by-name/specs/default.nix b/tests/test-sources/plugins/by-name/specs/default.nix index 6a84fb4c..9b4db7e3 100644 --- a/tests/test-sources/plugins/by-name/specs/default.nix +++ b/tests/test-sources/plugins/by-name/specs/default.nix @@ -30,7 +30,7 @@ end ''; }; - ignore_filetypes = { }; + ignore_filetypes.__empty = { }; ignore_buftypes = { nofile = true; }; @@ -54,7 +54,7 @@ fader = "require('specs').linear_fader"; resizer = "require('specs').shrink_resizer"; }; - ignore_filetypes = { }; + ignore_filetypes.__empty = { }; ignore_buftypes = { nofile = true; }; diff --git a/tests/test-sources/plugins/by-name/spectre/default.nix b/tests/test-sources/plugins/by-name/spectre/default.nix index 6b8409a2..7fec64c2 100644 --- a/tests/test-sources/plugins/by-name/spectre/default.nix +++ b/tests/test-sources/plugins/by-name/spectre/default.nix @@ -249,7 +249,7 @@ }; oxi = { cmd = "oxi"; - args = [ ]; + args.__empty = { }; options = { ignore-case = { value = "i"; @@ -260,7 +260,7 @@ }; sd = { cmd = "sd"; - options = { }; + options.__empty = { }; }; }; default = { @@ -276,7 +276,7 @@ is_open_target_win = true; is_insert_mode = false; is_block_ui_break = false; - open_template = { }; + open_template.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/by-name/startify/default.nix b/tests/test-sources/plugins/by-name/startify/default.nix index aac7dd55..2e066ad7 100644 --- a/tests/test-sources/plugins/by-name/startify/default.nix +++ b/tests/test-sources/plugins/by-name/startify/default.nix @@ -98,7 +98,7 @@ "three lines" ] ]; - custom_footer = null; + custom_footer.__raw = "nil"; disable_at_vimenter = false; relative_path = false; use_env = false; diff --git a/tests/test-sources/plugins/by-name/startup/default.nix b/tests/test-sources/plugins/by-name/startup/default.nix index e4b4e564..81fe1269 100644 --- a/tests/test-sources/plugins/by-name/startup/default.nix +++ b/tests/test-sources/plugins/by-name/startup/default.nix @@ -13,7 +13,7 @@ options = { mapping_keys = true; cursor_column = 0.5; - after = null; + after.__raw = "nil"; empty_lines_between_mappings = true; disable_statuslines = true; paddings.__empty = { }; diff --git a/tests/test-sources/plugins/by-name/statuscol/default.nix b/tests/test-sources/plugins/by-name/statuscol/default.nix index fcdd0998..4dd45598 100644 --- a/tests/test-sources/plugins/by-name/statuscol/default.nix +++ b/tests/test-sources/plugins/by-name/statuscol/default.nix @@ -11,8 +11,8 @@ setopt = true; thousands = false; relculright = false; - ft_ignore = null; - bt_ignore = null; + ft_ignore.__raw = "nil"; + bt_ignore.__raw = "nil"; segments = [ { text = [ "%C" ]; diff --git a/tests/test-sources/plugins/by-name/supermaven/default.nix b/tests/test-sources/plugins/by-name/supermaven/default.nix index d3b567b1..8353acb5 100644 --- a/tests/test-sources/plugins/by-name/supermaven/default.nix +++ b/tests/test-sources/plugins/by-name/supermaven/default.nix @@ -16,10 +16,10 @@ clear_suggestions = ""; accept_word = ""; }; - ignore_filetypes = [ ]; + ignore_filetypes.__empty = { }; color = { - suggestion_color = null; - cterm = null; + suggestion_color.__raw = "nil"; + cterm.__raw = "nil"; }; log_level = "info"; disable_inline_completion = false; diff --git a/tests/test-sources/plugins/by-name/tailwind-tools/default.nix b/tests/test-sources/plugins/by-name/tailwind-tools/default.nix index e8853158..0e1f02ab 100644 --- a/tests/test-sources/plugins/by-name/tailwind-tools/default.nix +++ b/tests/test-sources/plugins/by-name/tailwind-tools/default.nix @@ -16,7 +16,7 @@ settings = { server = { override = true; - settings = { }; + settings.__empty = { }; on_attach.__raw = "function(client, bufnr) end"; }; document_color = { @@ -27,7 +27,7 @@ }; conceal = { enabled = false; - min_length = null; + min_length.__raw = "nil"; symbol = "󱏿"; highlight = { fg = "#38BDF8"; @@ -42,8 +42,8 @@ }; }; extension = { - queries = [ ]; - patterns = { }; + queries.__empty = { }; + patterns.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/by-name/telescope/advanced-git-search.nix b/tests/test-sources/plugins/by-name/telescope/advanced-git-search.nix index bb1a743c..f7797cbf 100644 --- a/tests/test-sources/plugins/by-name/telescope/advanced-git-search.nix +++ b/tests/test-sources/plugins/by-name/telescope/advanced-git-search.nix @@ -21,9 +21,9 @@ settings = { browse_command = "GBrowse {commit_hash}"; diff_plugin = "fugitive"; - git_flags = [ ]; - git_diff_flags = [ ]; - git_log_flags = [ ]; + git_flags.__empty = { }; + git_diff_flags.__empty = { }; + git_log_flags.__empty = { }; show_builtin_git_pickers = false; entry_default_author_or_date = "author"; diff --git a/tests/test-sources/plugins/by-name/telescope/file-browser.nix b/tests/test-sources/plugins/by-name/telescope/file-browser.nix index ce9e16d9..f4a767db 100644 --- a/tests/test-sources/plugins/by-name/telescope/file-browser.nix +++ b/tests/test-sources/plugins/by-name/telescope/file-browser.nix @@ -15,7 +15,7 @@ enable = true; settings = { - theme = null; + theme.__raw = "nil"; path.__raw = "vim.loop.cwd()"; cwd.__raw = "vim.loop.cwd()"; cwd_to_path = false; diff --git a/tests/test-sources/plugins/by-name/telescope/frecency.nix b/tests/test-sources/plugins/by-name/telescope/frecency.nix index 5c501462..e3ca9cea 100644 --- a/tests/test-sources/plugins/by-name/telescope/frecency.nix +++ b/tests/test-sources/plugins/by-name/telescope/frecency.nix @@ -25,7 +25,7 @@ db_root.__raw = "vim.fn.stdpath 'data'"; db_safe_mode = true; db_validate_threshold = 10; - default_workspace = null; + default_workspace.__raw = "nil"; disable_devicons = false; hide_current_buffer = false; filter_delimiter = ":"; @@ -38,8 +38,8 @@ show_filter_column = true; show_scores = false; show_unindexed = true; - workspace_scan_cmd = null; - workspaces = { }; + workspace_scan_cmd.__raw = "nil"; + workspaces.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/by-name/telescope/live-grep-args.nix b/tests/test-sources/plugins/by-name/telescope/live-grep-args.nix index c09b9717..4a6ed157 100644 --- a/tests/test-sources/plugins/by-name/telescope/live-grep-args.nix +++ b/tests/test-sources/plugins/by-name/telescope/live-grep-args.nix @@ -17,7 +17,7 @@ settings = { auto_quoting = true; - mappings = { }; + mappings.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/by-name/telescope/manix.nix b/tests/test-sources/plugins/by-name/telescope/manix.nix index b6a35b1d..bb68c5fc 100644 --- a/tests/test-sources/plugins/by-name/telescope/manix.nix +++ b/tests/test-sources/plugins/by-name/telescope/manix.nix @@ -15,7 +15,7 @@ enable = true; settings = { - manix_args = [ ]; + manix_args.__empty = { }; cword = false; }; }; diff --git a/tests/test-sources/plugins/by-name/telescope/project.nix b/tests/test-sources/plugins/by-name/telescope/project.nix index 00cd26a1..def1b274 100644 --- a/tests/test-sources/plugins/by-name/telescope/project.nix +++ b/tests/test-sources/plugins/by-name/telescope/project.nix @@ -19,7 +19,7 @@ enable = true; settings = { - base_dirs = null; + base_dirs.__raw = "nil"; cd_scope = [ "tab" "window" diff --git a/tests/test-sources/plugins/by-name/timerly/default.nix b/tests/test-sources/plugins/by-name/timerly/default.nix index 16f5be77..451730ea 100644 --- a/tests/test-sources/plugins/by-name/timerly/default.nix +++ b/tests/test-sources/plugins/by-name/timerly/default.nix @@ -9,7 +9,7 @@ enable = true; settings = { - on_start = null; + on_start.__raw = "nil"; on_finish.__raw = '' function() vim.notify "Time is up!" @@ -19,7 +19,7 @@ 30 10 ]; - mapping = null; + mapping.__raw = "nil"; position = "top-left"; }; }; diff --git a/tests/test-sources/plugins/by-name/tiny-devicons-auto-colors/default.nix b/tests/test-sources/plugins/by-name/tiny-devicons-auto-colors/default.nix index c45ef32d..5b4eb007 100644 --- a/tests/test-sources/plugins/by-name/tiny-devicons-auto-colors/default.nix +++ b/tests/test-sources/plugins/by-name/tiny-devicons-auto-colors/default.nix @@ -13,7 +13,7 @@ enable = true; settings = { - colors = null; + colors.__raw = "nil"; factors = { lightness = 1.75; chroma = 1; @@ -29,7 +29,7 @@ precision = 20; threshold = 23; }; - ignore = [ ]; + ignore.__empty = { }; autoreload = false; }; }; diff --git a/tests/test-sources/plugins/by-name/tiny-inline-diagnostic/default.nix b/tests/test-sources/plugins/by-name/tiny-inline-diagnostic/default.nix index 6c699261..cd1b5057 100644 --- a/tests/test-sources/plugins/by-name/tiny-inline-diagnostic/default.nix +++ b/tests/test-sources/plugins/by-name/tiny-inline-diagnostic/default.nix @@ -66,7 +66,7 @@ enabled = false; after = 30; }; - format = null; + format.__raw = "nil"; virt_texts = { priority = 2048; }; @@ -76,9 +76,9 @@ (lib.nixvim.mkRaw "vim.diagnostic.severity.INFO") (lib.nixvim.mkRaw "vim.diagnostic.severity.HINT") ]; - overwrite_events = null; + overwrite_events.__raw = "nil"; }; - disabled_ft = [ ]; + disabled_ft.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/by-name/tinygit/default.nix b/tests/test-sources/plugins/by-name/tinygit/default.nix index 7c2b109f..7ef4c09a 100644 --- a/tests/test-sources/plugins/by-name/tinygit/default.nix +++ b/tests/test-sources/plugins/by-name/tinygit/default.nix @@ -104,8 +104,8 @@ }; statusline = { blame = { - ignoreAuthors = [ ]; - hideAuthorNames = [ ]; + ignoreAuthors.__empty = { }; + hideAuthorNames.__empty = { }; maxMsgLen = 40; icon = "ﰖ"; }; diff --git a/tests/test-sources/plugins/by-name/todo-comments/default.nix b/tests/test-sources/plugins/by-name/todo-comments/default.nix index 3be84c5d..4df6de09 100644 --- a/tests/test-sources/plugins/by-name/todo-comments/default.nix +++ b/tests/test-sources/plugins/by-name/todo-comments/default.nix @@ -81,7 +81,7 @@ pattern = ''.*<(KEYWORDS)\s*:''; comments_only = true; max_line_len = 400; - exclude = [ ]; + exclude.__empty = { }; }; colors = { diff --git a/tests/test-sources/plugins/by-name/toggleterm/default.nix b/tests/test-sources/plugins/by-name/toggleterm/default.nix index 4ff8bcb4..a79a1d2a 100644 --- a/tests/test-sources/plugins/by-name/toggleterm/default.nix +++ b/tests/test-sources/plugins/by-name/toggleterm/default.nix @@ -87,15 +87,15 @@ settings = { size = 12; - open_mapping = null; - on_create = null; - on_open = null; - on_close = null; - on_stdout = null; - on_stderr = null; - on_exit = null; + open_mapping.__raw = "nil"; + on_create.__raw = "nil"; + on_open.__raw = "nil"; + on_close.__raw = "nil"; + on_stdout.__raw = "nil"; + on_stderr.__raw = "nil"; + on_exit.__raw = "nil"; hide_numbers = true; - shade_filetypes = [ ]; + shade_filetypes.__empty = { }; autochdir = false; highlights = { NormalFloat.link = "Normal"; @@ -118,13 +118,13 @@ shell.__raw = "vim.o.shell"; auto_scroll = true; float_opts = { - border = null; - width = null; - height = null; - row = null; - col = null; + border.__raw = "nil"; + width.__raw = "nil"; + height.__raw = "nil"; + row.__raw = "nil"; + col.__raw = "nil"; winblend = 0; - zindex = null; + zindex.__raw = "nil"; title_pos = "left"; }; winbar = { diff --git a/tests/test-sources/plugins/by-name/transparent/default.nix b/tests/test-sources/plugins/by-name/transparent/default.nix index 387b0f7c..59ad47a4 100644 --- a/tests/test-sources/plugins/by-name/transparent/default.nix +++ b/tests/test-sources/plugins/by-name/transparent/default.nix @@ -35,8 +35,8 @@ "StatusLineNC" "EndOfBuffer" ]; - extra_groups = [ ]; - exclude_groups = [ ]; + extra_groups.__empty = { }; + exclude_groups.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/by-name/treesitter-context/default.nix b/tests/test-sources/plugins/by-name/treesitter-context/default.nix index 9b61bed5..e697acc3 100644 --- a/tests/test-sources/plugins/by-name/treesitter-context/default.nix +++ b/tests/test-sources/plugins/by-name/treesitter-context/default.nix @@ -20,9 +20,9 @@ multiline_threshold = 20; trim_scope = "outer"; mode = "cursor"; - separator = null; + separator.__raw = "nil"; zindex = 20; - on_attach = null; + on_attach = "nil"; }; }; }; diff --git a/tests/test-sources/plugins/by-name/treesitter-textobjects/default.nix b/tests/test-sources/plugins/by-name/treesitter-textobjects/default.nix index 542b4193..ea5058bf 100644 --- a/tests/test-sources/plugins/by-name/treesitter-textobjects/default.nix +++ b/tests/test-sources/plugins/by-name/treesitter-textobjects/default.nix @@ -15,7 +15,7 @@ settings = { select = { enable = true; - disable = [ ]; + disable.__empty = { }; lookahead = true; keymaps = { af = "@function.outer"; @@ -35,7 +35,7 @@ }; swap = { enable = true; - disable = [ ]; + disable.__empty = { }; swap_next = { "a" = "@parameter.inner"; }; @@ -45,7 +45,7 @@ }; move = { enable = true; - disable = [ ]; + disable.__empty = { }; set_jumps = true; goto_next_start = { "]m" = "@function.outer"; @@ -77,7 +77,7 @@ "df" = "@function.outer"; "dF" = "@class.outer"; }; - floating_preview_opts = { }; + floating_preview_opts.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/by-name/treesitter/default.nix b/tests/test-sources/plugins/by-name/treesitter/default.nix index 2e079f34..4a52c29f 100644 --- a/tests/test-sources/plugins/by-name/treesitter/default.nix +++ b/tests/test-sources/plugins/by-name/treesitter/default.nix @@ -6,8 +6,8 @@ settings = { auto_install = false; - ensure_installed = [ ]; - ignore_install = [ ]; + ensure_installed.__empty = { }; + ignore_install.__empty = { }; # NOTE: This is our default, not the plugin's parser_install_dir.__raw = "vim.fs.joinpath(vim.fn.stdpath('data'), 'site')"; @@ -16,8 +16,8 @@ highlight = { additional_vim_regex_highlighting = false; enable = false; - custom_captures = { }; - disable = null; + custom_captures.__empty = { }; + disable.__raw = "nil"; }; incremental_selection = { diff --git a/tests/test-sources/plugins/by-name/treesj/default.nix b/tests/test-sources/plugins/by-name/treesj/default.nix index e26ee471..c48bdba5 100644 --- a/tests/test-sources/plugins/by-name/treesj/default.nix +++ b/tests/test-sources/plugins/by-name/treesj/default.nix @@ -15,7 +15,7 @@ notify = true; dot_repeat = true; on_error.__raw = "nil"; - langs = { }; + langs.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/by-name/trim/default.nix b/tests/test-sources/plugins/by-name/trim/default.nix index 3910bfc3..07c4e7b6 100644 --- a/tests/test-sources/plugins/by-name/trim/default.nix +++ b/tests/test-sources/plugins/by-name/trim/default.nix @@ -8,8 +8,8 @@ enable = true; settings = { - ft_blocklist = [ ]; - patterns = [ ]; + ft_blocklist.__empty = { }; + patterns.__empty = { }; trim_on_write = true; trim_trailing = true; trim_last_line = true; diff --git a/tests/test-sources/plugins/by-name/trouble/default.nix b/tests/test-sources/plugins/by-name/trouble/default.nix index 9ca09838..57b1b07a 100644 --- a/tests/test-sources/plugins/by-name/trouble/default.nix +++ b/tests/test-sources/plugins/by-name/trouble/default.nix @@ -35,7 +35,7 @@ pinned = false; warn_no_results = true; open_no_results = false; - win = { }; + win.__empty = { }; preview = { type = "main"; scratch = true; diff --git a/tests/test-sources/plugins/by-name/ts-autotag/default.nix b/tests/test-sources/plugins/by-name/ts-autotag/default.nix index d214a640..b92678c6 100644 --- a/tests/test-sources/plugins/by-name/ts-autotag/default.nix +++ b/tests/test-sources/plugins/by-name/ts-autotag/default.nix @@ -37,7 +37,7 @@ "hbs" = "glimmer"; "rust" = "rust"; }; - per_filetype = { }; + per_filetype.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/by-name/twilight/default.nix b/tests/test-sources/plugins/by-name/twilight/default.nix index c218cbe5..b909f5f4 100644 --- a/tests/test-sources/plugins/by-name/twilight/default.nix +++ b/tests/test-sources/plugins/by-name/twilight/default.nix @@ -27,7 +27,7 @@ "table" "if_statement" ]; - exclude = [ ]; + exclude.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/by-name/typescript-tools/default.nix b/tests/test-sources/plugins/by-name/typescript-tools/default.nix index dcfcaa90..51f388c8 100644 --- a/tests/test-sources/plugins/by-name/typescript-tools/default.nix +++ b/tests/test-sources/plugins/by-name/typescript-tools/default.nix @@ -9,12 +9,12 @@ settings = { separate_diagnostic_server = true; publish_diagnostic_on = "insert_leave"; - expose_as_code_action = null; - tsserver_path = null; - tsserver_plugins = null; + expose_as_code_action.__raw = "nil"; + tsserver_path.__raw = "nil"; + tsserver_plugins.__raw = "nil"; tsserver_max_memory = "auto"; - tsserver_format_options = null; - tsserver_file_preferences = null; + tsserver_format_options.__raw = "nil"; + tsserver_file_preferences.__raw = "nil"; tsserver_locale = "en"; complete_function_calls = false; include_completions_with_insert_text = true; diff --git a/tests/test-sources/plugins/by-name/typst-preview/default.nix b/tests/test-sources/plugins/by-name/typst-preview/default.nix index e5c28aa4..841087a9 100644 --- a/tests/test-sources/plugins/by-name/typst-preview/default.nix +++ b/tests/test-sources/plugins/by-name/typst-preview/default.nix @@ -9,11 +9,11 @@ settings = { debug = false; - open_cmd = null; + open_cmd.__raw = "nil"; port = 0; invert_colors = "never"; follow_cursor = true; - extra_args = null; + extra_args.__raw = "nil"; get_root.__raw = '' function(path_of_main_file) local root = os.getenv 'TYPST_ROOT' diff --git a/tests/test-sources/plugins/by-name/venv-selector/default.nix b/tests/test-sources/plugins/by-name/venv-selector/default.nix index 30ce949d..3f11f776 100644 --- a/tests/test-sources/plugins/by-name/venv-selector/default.nix +++ b/tests/test-sources/plugins/by-name/venv-selector/default.nix @@ -29,7 +29,7 @@ (lib.nixvim.mkRaw "require('venv-selector.hooks').dynamic_python_lsp_hook") ]; options = { - on_venv_activate_callback = null; + on_venv_activate_callback.__raw = "nil"; enable_default_searches = true; enable_cached_venvs = true; cached_venv_automatic_activation = true; @@ -40,11 +40,11 @@ debug = false; fd_binary_name = lib.nixvim.mkRaw "require('venv-selector.config').find_fd_command_name()"; require_lsp_activation = true; - on_telescope_result_callback = null; + on_telescope_result_callback.__raw = "nil"; picker_filter_type = "substring"; selected_venv_marker_color = "#00FF00"; selected_venv_marker_icon = "✔"; - picker_icons = [ ]; + picker_icons.__empty = { }; picker_columns = [ "marker" "search_icon" @@ -53,8 +53,8 @@ ]; picker = "auto"; statusline_func = { - nvchad = null; - lualine = null; + nvchad.__raw = "nil"; + lualine.__raw = "nil"; }; picker_options = { snacks = { diff --git a/tests/test-sources/plugins/by-name/vim-slime/default.nix b/tests/test-sources/plugins/by-name/vim-slime/default.nix index bca3f3fb..a2b6ea20 100644 --- a/tests/test-sources/plugins/by-name/vim-slime/default.nix +++ b/tests/test-sources/plugins/by-name/vim-slime/default.nix @@ -9,7 +9,7 @@ settings = { target = "screen"; - vimterminal_cmd = null; + vimterminal_cmd.__raw = "nil"; no_mappings = 0; paste_file = "$HOME/.slime_paste"; preserve_curpos = 1; diff --git a/tests/test-sources/plugins/by-name/vimade/default.nix b/tests/test-sources/plugins/by-name/vimade/default.nix index 4664a43f..f85e8b15 100644 --- a/tests/test-sources/plugins/by-name/vimade/default.nix +++ b/tests/test-sources/plugins/by-name/vimade/default.nix @@ -47,8 +47,7 @@ ncmode = "buffers"; fadelevel = 0.4; basebg = ""; - tint = { - }; + tint.__empty = { }; blocklist = { default = { highlights = { @@ -82,7 +81,7 @@ end ''; }; - link = [ ]; + link.__empty = { }; groupdiff = true; groupscrollbind = false; enablefocusfading = false; diff --git a/tests/test-sources/plugins/by-name/vimux/default.nix b/tests/test-sources/plugins/by-name/vimux/default.nix index 47a7f74e..bb77dc5f 100644 --- a/tests/test-sources/plugins/by-name/vimux/default.nix +++ b/tests/test-sources/plugins/by-name/vimux/default.nix @@ -20,7 +20,7 @@ ExpandCommand = 0; CloseOnExit = 0; CommandShell = 1; - RunnerQuery = { }; + RunnerQuery.__empty = { }; Debug = false; }; }; diff --git a/tests/test-sources/plugins/by-name/vimwiki/default.nix b/tests/test-sources/plugins/by-name/vimwiki/default.nix index c4b045f9..343dd32b 100644 --- a/tests/test-sources/plugins/by-name/vimwiki/default.nix +++ b/tests/test-sources/plugins/by-name/vimwiki/default.nix @@ -41,7 +41,7 @@ ".mw" = "media"; }; folding = ""; - filetypes = [ ]; + filetypes.__empty = { }; global_ext = 1; hl_cb_checked = 0; hl_headers = 0; diff --git a/tests/test-sources/plugins/by-name/visual-multi/default.nix b/tests/test-sources/plugins/by-name/visual-multi/default.nix index 006611a2..325300c5 100644 --- a/tests/test-sources/plugins/by-name/visual-multi/default.nix +++ b/tests/test-sources/plugins/by-name/visual-multi/default.nix @@ -22,19 +22,22 @@ case_setting = ""; disable_syntax_in_imode = 0; recursive_operations_at_cursors = 1; - custom_remaps = { }; - custom_noremaps = { }; - custom_motions = { }; - user_operators = [ ]; + custom_remaps.__empty = { }; + custom_noremaps.__empty = { }; + custom_motions.__empty = { }; + user_operators.__empty = { }; use_first_cursor_in_line = 0; insert_special_keys = [ "c-v" ]; single_mode_maps = 1; single_mode_auto_reset = 1; filesize_limit = 0; persistent_registers = 0; - reindent_filetypes = [ ]; - plugins_compatibilty = { }; - maps = { }; + reindent_filetypes.__empty = { }; + plugins_compatibilty.__empty = { }; + + # FIXME: This is not empty by default. it can't be or it throws + # maps.__empty = { }; + default_mappings = 1; mouse_mappings = 0; leader = "\\\\"; diff --git a/tests/test-sources/plugins/by-name/visual-whitespace/default.nix b/tests/test-sources/plugins/by-name/visual-whitespace/default.nix index 956a2c84..bf4517c2 100644 --- a/tests/test-sources/plugins/by-name/visual-whitespace/default.nix +++ b/tests/test-sources/plugins/by-name/visual-whitespace/default.nix @@ -32,8 +32,8 @@ dos = "↙"; }; ignore = { - filetypes = { }; - buftypes = { }; + filetypes.__empty = { }; + buftypes.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/by-name/which-key/default.nix b/tests/test-sources/plugins/by-name/which-key/default.nix index f1adefb6..64d45fe5 100644 --- a/tests/test-sources/plugins/by-name/which-key/default.nix +++ b/tests/test-sources/plugins/by-name/which-key/default.nix @@ -22,7 +22,7 @@ end ''; - spec = [ ]; + spec.__empty = { }; notify = true; @@ -70,8 +70,8 @@ title = true; title_pos = "center"; zindex = 1000; - bo = { }; - wo = { }; + bo.__empty = { }; + wo.__empty = { }; }; layout = { @@ -149,7 +149,7 @@ group = "+"; ellipsis = "…"; mappings = true; - rules = [ ]; + rules.__empty = { }; colors = true; keys = { Up = " "; @@ -187,8 +187,8 @@ show_keys = true; disable = { - bt = [ ]; - ft = [ ]; + bt.__empty = { }; + ft.__empty = { }; }; debug = false; diff --git a/tests/test-sources/plugins/by-name/whichpy/default.nix b/tests/test-sources/plugins/by-name/whichpy/default.nix index 09449a50..dca3b852 100644 --- a/tests/test-sources/plugins/by-name/whichpy/default.nix +++ b/tests/test-sources/plugins/by-name/whichpy/default.nix @@ -10,7 +10,7 @@ settings = { cache_dir.__raw = "vim.fn.stdpath('cache') .. '/whichpy.nvim'"; update_path_env = false; - after_handle_select = null; + after_handle_select.__raw = "nil"; picker = { name = "builtin"; }; diff --git a/tests/test-sources/plugins/by-name/windsurf-nvim/default.nix b/tests/test-sources/plugins/by-name/windsurf-nvim/default.nix index 847f0805..cb2515e4 100644 --- a/tests/test-sources/plugins/by-name/windsurf-nvim/default.nix +++ b/tests/test-sources/plugins/by-name/windsurf-nvim/default.nix @@ -28,7 +28,7 @@ enable = true; settings = { - manager_path = null; + manager_path.__raw = "nil"; bin_path.__raw = "vim.fn.stdpath('cache') .. '/codeium/bin'"; config_path.__raw = "vim.fn.stdpath('cache') .. '/codeium/config.json'"; language_server_download_url = "https://github.com"; @@ -38,10 +38,10 @@ path = "/"; portal_url = "codeium.com"; }; - enterprise_mode = null; - detect_proxy = null; - tools = { }; - wrapper = null; + enterprise_mode.__raw = "nil"; + detect_proxy.__raw = "nil"; + tools.__empty = { }; + wrapper.__raw = "nil"; enable_chat = true; enable_local_search = true; enable_index_service = true; @@ -50,13 +50,13 @@ enable_cmp_source = true; virtual_text = { enabled = false; - filetypes = [ ]; + filetypes.__empty = { }; default_filetype_enabled = true; manual = false; idle_delay = 75; virtual_text_priority = 65535; map_keys = true; - accept_fallback = null; + accept_fallback.__raw = "nil"; key_bindings = { accept = ""; accept_word = false; @@ -68,7 +68,7 @@ }; workspace_root = { use_lsp = true; - find_root = null; + find_root.__raw = "nil"; paths = [ ".bzr" ".git" diff --git a/tests/test-sources/plugins/by-name/wtf/default.nix b/tests/test-sources/plugins/by-name/wtf/default.nix index 182557f7..26218383 100644 --- a/tests/test-sources/plugins/by-name/wtf/default.nix +++ b/tests/test-sources/plugins/by-name/wtf/default.nix @@ -26,7 +26,7 @@ enable = true; settings = { - additional_instructions = null; + additional_instructions.__raw = "nil"; chat_dir = lib.nixvim.mkRaw "vim.fn.stdpath('data'):gsub('/$', \"\") .. '/wtf/chats'"; language = "english"; picker = "telescope"; @@ -36,8 +36,8 @@ # Extracting the default value would be annoying # providers = create_provider_defaults() hooks = { - request_started = null; - request_finished = null; + request_started.__raw = "nil"; + request_finished.__raw = "nil"; }; winhighlight = "Normal:Normal,FloatBorder:FloatBorder"; }; diff --git a/tests/test-sources/plugins/by-name/yanky/default.nix b/tests/test-sources/plugins/by-name/yanky/default.nix index 736f98d9..69c9f554 100644 --- a/tests/test-sources/plugins/by-name/yanky/default.nix +++ b/tests/test-sources/plugins/by-name/yanky/default.nix @@ -32,16 +32,18 @@ }; picker = { select = { + # FIXME: this can't be empty due to raw coercion action = null; }; telescope = { use_default_mappings = true; + # FIXME: this can't be empty due to raw coercion mappings = null; }; }; system_clipboard = { sync_with_ring = true; - clipboard_register = null; + clipboard_register.__raw = "nil"; }; highlight = { on_put = true; @@ -99,7 +101,7 @@ }; system_clipboard = { sync_with_ring = true; - clipboard_register = null; + clipboard_register.__raw = "nil"; }; highlight = { on_put = true; diff --git a/tests/test-sources/plugins/by-name/yazi/default.nix b/tests/test-sources/plugins/by-name/yazi/default.nix index a21ce9ff..2bf9c572 100644 --- a/tests/test-sources/plugins/by-name/yazi/default.nix +++ b/tests/test-sources/plugins/by-name/yazi/default.nix @@ -34,7 +34,7 @@ send_to_quickfix_list = ""; }; - set_keymappings_function = null; + set_keymappings_function.__raw = "nil"; hooks = { yazi_opened.__raw = '' @@ -55,7 +55,7 @@ }; highlight_groups = { - hovered_buffer = null; + hovered_buffer.__raw = "nil"; }; floating_window_scaling_factor = 0.9; diff --git a/tests/test-sources/plugins/by-name/zen-mode/default.nix b/tests/test-sources/plugins/by-name/zen-mode/default.nix index 4f6d332f..3cc74ed9 100644 --- a/tests/test-sources/plugins/by-name/zen-mode/default.nix +++ b/tests/test-sources/plugins/by-name/zen-mode/default.nix @@ -12,7 +12,7 @@ backdrop = 0.95; width = 120; height = 1; - options = { }; + options.__empty = { }; }; plugins = { options = { diff --git a/tests/test-sources/plugins/cmp/default.nix b/tests/test-sources/plugins/cmp/default.nix index efc74242..e4b9a5e0 100644 --- a/tests/test-sources/plugins/cmp/default.nix +++ b/tests/test-sources/plugins/cmp/default.nix @@ -104,7 +104,7 @@ "order" ]; }; - sources = [ ]; + sources.__empty = { }; experimental = { ghost_text = false; }; diff --git a/tests/test-sources/plugins/colorschemes/ayu.nix b/tests/test-sources/plugins/colorschemes/ayu.nix index 8ca1e74c..2499f21b 100644 --- a/tests/test-sources/plugins/colorschemes/ayu.nix +++ b/tests/test-sources/plugins/colorschemes/ayu.nix @@ -9,6 +9,8 @@ settings = { mirage = false; + + # FIXME: this can't be empty due to raw coercion overrides = { }; }; }; diff --git a/tests/test-sources/plugins/colorschemes/catppuccin.nix b/tests/test-sources/plugins/colorschemes/catppuccin.nix index df28bd07..c4db85e8 100644 --- a/tests/test-sources/plugins/colorschemes/catppuccin.nix +++ b/tests/test-sources/plugins/colorschemes/catppuccin.nix @@ -28,19 +28,22 @@ styles = { comments = [ "italic" ]; conditionals = [ "italic" ]; - loops = [ ]; - functions = [ ]; - keywords = [ ]; - strings = [ ]; - variables = [ ]; - numbers = [ ]; - booleans = [ ]; - properties = [ ]; - types = [ ]; - operators = [ ]; + loops.__empty = { }; + functions.__empty = { }; + keywords.__empty = { }; + strings.__empty = { }; + variables.__empty = { }; + numbers.__empty = { }; + booleans.__empty = { }; + properties.__empty = { }; + types.__empty = { }; + operators.__empty = { }; }; - color_overrides = { }; + color_overrides.__empty = { }; + + # FIXME: this can't be __empty due to raw coercion custom_highlights = { }; + default_integrations = true; integrations = { alpha = true; @@ -123,9 +126,9 @@ mantle = "#242424"; crust = "#474747"; }; - frappe = { }; - macchiato = { }; - mocha = { }; + frappe.__empty = { }; + macchiato.__empty = { }; + mocha.__empty = { }; }; styles = { booleans = [ diff --git a/tests/test-sources/plugins/colorschemes/cyberdream.nix b/tests/test-sources/plugins/colorschemes/cyberdream.nix index 628b5785..130bcf55 100644 --- a/tests/test-sources/plugins/colorschemes/cyberdream.nix +++ b/tests/test-sources/plugins/colorschemes/cyberdream.nix @@ -16,8 +16,8 @@ terminal_colors = true; theme = { - highlights = { }; - colors = { }; + highlights.__empty = { }; + colors.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/colorschemes/everforest.nix b/tests/test-sources/plugins/colorschemes/everforest.nix index 79b5b79c..bf239761 100644 --- a/tests/test-sources/plugins/colorschemes/everforest.nix +++ b/tests/test-sources/plugins/colorschemes/everforest.nix @@ -26,7 +26,7 @@ inlay_hints_background = "none"; disable_terminal_colors = 0; lightline_disable_bold = 0; - colors_override = { }; + colors_override.__raw = "nil"; # This option is broken when set to 1, because the plugin tries to write its cache in /nix/store better_performance = 0; diff --git a/tests/test-sources/plugins/colorschemes/github-theme.nix b/tests/test-sources/plugins/colorschemes/github-theme.nix index a2b6958e..df6a11f8 100644 --- a/tests/test-sources/plugins/colorschemes/github-theme.nix +++ b/tests/test-sources/plugins/colorschemes/github-theme.nix @@ -40,14 +40,14 @@ floats = true; sidebars = { enable = true; - list = [ ]; + list.__empty = { }; }; }; - modules = [ ]; + modules.__empty = { }; }; - palettes = [ ]; - specs = [ ]; - groups = [ ]; + palettes.__empty = { }; + specs.__empty = { }; + groups.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/colorschemes/gruvbox-baby.nix b/tests/test-sources/plugins/colorschemes/gruvbox-baby.nix index 2b3c3dbd..667829cd 100644 --- a/tests/test-sources/plugins/colorschemes/gruvbox-baby.nix +++ b/tests/test-sources/plugins/colorschemes/gruvbox-baby.nix @@ -15,8 +15,8 @@ _: { string_style = "nocombine"; function_style = "bold"; variable_style = "NONE"; - highlights = { }; - color_overrides = { }; + highlights.__empty = { }; + color_overrides.__empty = { }; use_original_palette = 0; }; }; diff --git a/tests/test-sources/plugins/colorschemes/gruvbox-material-nvim.nix b/tests/test-sources/plugins/colorschemes/gruvbox-material-nvim.nix index ef158cf7..1bc6a5e3 100644 --- a/tests/test-sources/plugins/colorschemes/gruvbox-material-nvim.nix +++ b/tests/test-sources/plugins/colorschemes/gruvbox-material-nvim.nix @@ -19,13 +19,13 @@ }; float = { force_background = false; - background_color = null; + background_color.__raw = "nil"; }; signs = { force_background = false; - background_color = null; + background_color.__raw = "nil"; }; - customize = null; + customize.__raw = "nil"; }; }; }; @@ -48,7 +48,7 @@ }; signs = { force_background = false; - background_color = null; + background_color.__raw = "nil"; }; customize = lib.nixvim.mkRaw '' function(g, o) diff --git a/tests/test-sources/plugins/colorschemes/kanagawa-paper.nix b/tests/test-sources/plugins/colorschemes/kanagawa-paper.nix index 5889e234..5516c507 100644 --- a/tests/test-sources/plugins/colorschemes/kanagawa-paper.nix +++ b/tests/test-sources/plugins/colorschemes/kanagawa-paper.nix @@ -15,10 +15,10 @@ settings = { cache = false; colors = { - palette = { }; + palette.__empty = { }; theme = { - ink = { }; - canvas = { }; + ink.__empty = { }; + canvas.__empty = { }; }; }; undercurl = true; diff --git a/tests/test-sources/plugins/colorschemes/kanagawa.nix b/tests/test-sources/plugins/colorschemes/kanagawa.nix index bde8fe41..a471fb8a 100644 --- a/tests/test-sources/plugins/colorschemes/kanagawa.nix +++ b/tests/test-sources/plugins/colorschemes/kanagawa.nix @@ -13,14 +13,14 @@ commentStyle = { italic = true; }; - functionStyle = { }; + functionStyle.__empty = { }; keywordStyle = { italic = true; }; statementStyle = { bold = true; }; - typeStyle = { }; + typeStyle.__empty = { }; transparent = false; dimInactive = false; terminalColors = true; diff --git a/tests/test-sources/plugins/colorschemes/modus.nix b/tests/test-sources/plugins/colorschemes/modus.nix index 7118da07..b7476305 100644 --- a/tests/test-sources/plugins/colorschemes/modus.nix +++ b/tests/test-sources/plugins/colorschemes/modus.nix @@ -16,8 +16,8 @@ styles = { comments.italic = true; keywords.italic = true; - functions = { }; - variables = { }; + functions.__empty = { }; + variables.__empty = { }; }; on_colors = "function(colors) end"; on_highlights = "function(highlights, colors) end"; diff --git a/tests/test-sources/plugins/colorschemes/nightfox.nix b/tests/test-sources/plugins/colorschemes/nightfox.nix index 9ad3a922..b8a98cfc 100644 --- a/tests/test-sources/plugins/colorschemes/nightfox.nix +++ b/tests/test-sources/plugins/colorschemes/nightfox.nix @@ -62,9 +62,9 @@ }; }; }; - palettes = { }; - specs = { }; - groups = { }; + palettes.__empty = { }; + specs.__empty = { }; + groups.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/colorschemes/onedark.nix b/tests/test-sources/plugins/colorschemes/onedark.nix index 8ce34c57..b570fa9a 100644 --- a/tests/test-sources/plugins/colorschemes/onedark.nix +++ b/tests/test-sources/plugins/colorschemes/onedark.nix @@ -40,7 +40,7 @@ term_colors = true; ending_tildes = false; cmp_itemkind_reverse = false; - toggle_style_key = null; + toggle_style_key.__raw = "nil"; toggle_style_list = [ "dark" "darker" @@ -60,8 +60,8 @@ lualine = { transparent = false; }; - colors = { }; - highlights = { }; + colors.__empty = { }; + highlights.__empty = { }; diagnostics = { darker = true; undercurl = true; diff --git a/tests/test-sources/plugins/colorschemes/palette.nix b/tests/test-sources/plugins/colorschemes/palette.nix index 359c3caa..abcaf629 100644 --- a/tests/test-sources/plugins/colorschemes/palette.nix +++ b/tests/test-sources/plugins/colorschemes/palette.nix @@ -14,9 +14,9 @@ state = "pastel"; }; custom_palettes = { - main = { }; - accent = { }; - state = { }; + main.__empty = { }; + accent.__empty = { }; + state.__empty = { }; }; italics = true; transparent_background = false; diff --git a/tests/test-sources/plugins/colorschemes/poimandres.nix b/tests/test-sources/plugins/colorschemes/poimandres.nix index 51e8ab63..04cbbfb9 100644 --- a/tests/test-sources/plugins/colorschemes/poimandres.nix +++ b/tests/test-sources/plugins/colorschemes/poimandres.nix @@ -46,7 +46,7 @@ h6 = "blue2"; }; }; - highlight_groups = { }; + highlight_groups.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/colorschemes/solazized-osaka.nix b/tests/test-sources/plugins/colorschemes/solazized-osaka.nix index ad02dce1..75a2bef8 100644 --- a/tests/test-sources/plugins/colorschemes/solazized-osaka.nix +++ b/tests/test-sources/plugins/colorschemes/solazized-osaka.nix @@ -14,8 +14,8 @@ styles = { comments.italic = true; keywords.italic = true; - functions = { }; - variables = { }; + functions.__empty = { }; + variables.__empty = { }; sidebars = "dark"; floats = "dark"; }; diff --git a/tests/test-sources/plugins/colorschemes/tokyonight.nix b/tests/test-sources/plugins/colorschemes/tokyonight.nix index 37772643..4460215b 100644 --- a/tests/test-sources/plugins/colorschemes/tokyonight.nix +++ b/tests/test-sources/plugins/colorschemes/tokyonight.nix @@ -15,8 +15,8 @@ styles = { comments.italic = true; keywords.italic = true; - functions = { }; - variables = { }; + functions.__empty = { }; + variables.__empty = { }; sidebars = "dark"; floats = "dark"; }; diff --git a/tests/test-sources/plugins/lsp/language-servers/lua-ls.nix b/tests/test-sources/plugins/lsp/language-servers/lua-ls.nix index 0a925681..7f8a243e 100644 --- a/tests/test-sources/plugins/lsp/language-servers/lua-ls.nix +++ b/tests/test-sources/plugins/lsp/language-servers/lua-ls.nix @@ -23,10 +23,10 @@ workspaceWord = true; }; diagnostics = { - disable = [ ]; + disable.__empty = { }; disableScheme = [ "git" ]; enable = true; - globals = [ ]; + globals.__empty = { }; groupFileStatus = { ambiguity = "Fallback"; await = "Fallback"; @@ -169,18 +169,18 @@ unused-local = "Hint"; unused-vararg = "Hint"; }; - unusedLocalExclude = [ ]; + unusedLocalExclude.__empty = { }; workspaceDelay = 3000; workspaceEvent = "OnSave"; workspaceRate = 100; }; doc = { - packageName = [ ]; - privateName = [ ]; - protectedName = [ ]; + packageName.__empty = { }; + privateName.__empty = { }; + protectedName.__empty = { }; }; format = { - defaultConfig = { }; + defaultConfig.__empty = { }; enable = true; }; hint = { @@ -202,7 +202,7 @@ viewStringMax = 1000; }; misc = { - parameters = [ ]; + parameters.__empty = { }; executablePath = ""; }; runtime = { @@ -227,15 +227,15 @@ }; fileEncoding = "utf8"; meta = "$\{version} $\{language} $\{encoding}"; - nonstandardSymbol = [ ]; + nonstandardSymbol.__empty = { }; path = [ "?.lua" "?/init.lua" ]; pathStrict = false; plugin = ""; - pluginArgs = [ ]; - special = { }; + pluginArgs.__empty = { }; + special.__empty = { }; unicodeName = false; version = "Lua 5.4"; }; @@ -249,10 +249,10 @@ enable = true; }; spell = { - dict = [ ]; + dict.__empty = { }; }; telemetry = { - enable = null; + enable.__raw = "nil"; }; type = { castNumberToInteger = false; @@ -267,7 +267,7 @@ checkThirdParty = true; ignoreDir = [ ".vscode" ]; ignoreSubmodules = true; - library = [ ]; + library.__empty = { }; maxPreload = 5000; preloadFileSize = 500; supportScheme = [ @@ -276,7 +276,7 @@ "git" ]; useGitIgnore = true; - userThirdParty = [ ]; + userThirdParty.__empty = { }; }; }; }; diff --git a/tests/test-sources/plugins/lsp/language-servers/pylsp.nix b/tests/test-sources/plugins/lsp/language-servers/pylsp.nix index 8be609b8..187a13b3 100644 --- a/tests/test-sources/plugins/lsp/language-servers/pylsp.nix +++ b/tests/test-sources/plugins/lsp/language-servers/pylsp.nix @@ -1,3 +1,5 @@ +# FIXME: This test uses a lot of "null" values that get ignored +# this should use raw values instead but cannot be implemented due to raw coercions { example = { plugins.lsp = { diff --git a/tests/test-sources/plugins/lsp/language-servers/tinymist.nix b/tests/test-sources/plugins/lsp/language-servers/tinymist.nix index 54fef0ce..27086c0d 100644 --- a/tests/test-sources/plugins/lsp/language-servers/tinymist.nix +++ b/tests/test-sources/plugins/lsp/language-servers/tinymist.nix @@ -9,16 +9,16 @@ settings = { outputPath = "$dir/$name"; exportPdf = "auto"; - rootPath = null; + rootPath.__raw = "nil"; semanticTokens = "enable"; systemFonts = true; - fontPaths = [ ]; + fontPaths.__empty = { }; compileStatus = "disable"; - typstExtraArgs = [ ]; + typstExtraArgs.__empty = { }; formatterMode = "disable"; formatterPrintWidth = 120; completion = { - triggerOnSnippetPlaceholders = null; + triggerOnSnippetPlaceholders.__raw = "nil"; postfix = true; postfixUfcs = true; postfixUfcsLeft = true;