Skip to content

refactor: make config type fields optional - #12

Merged
ushmz merged 1 commit into
mainfrom
refactor/optional-config-fields
Nov 18, 2025
Merged

refactor: make config type fields optional#12
ushmz merged 1 commit into
mainfrom
refactor/optional-config-fields

Conversation

@ushmz

@ushmz ushmz commented Nov 18, 2025

Copy link
Copy Markdown
Owner

Summary

Make all fields in TabiOptions and related config classes optional to allow partial configuration overrides. This improves the type safety and flexibility of the configuration system.

Changes

  • Modified type annotations in lua/tabi/config.lua to make all fields optional (using ? suffix)
  • Updated TabiOptions, TabiStorageConfig, TabiKeymapsConfig, TabiUIConfig, TabiFloatConfig, and TabiTelescopeConfig classes

Test plan

  • All existing tests pass (261/261)
  • luacheck passes with no warnings/errors
  • stylua formatting check passes
  • Pre-commit hooks pass

Make all fields in TabiOptions and related config classes optional
to allow partial configuration overrides. This improves the type
safety and flexibility of the configuration system.
@ushmz
ushmz merged commit a1d7038 into main Nov 18, 2025
4 checks passed
@ushmz
ushmz deleted the refactor/optional-config-fields branch November 18, 2025 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant