Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename FormattingOptions fields to racket style #121

Merged
merged 1 commit into from
Aug 10, 2023

Conversation

6cdh
Copy link
Contributor

@6cdh 6cdh commented Aug 10, 2023

My original idea is to generate all these functions when given a macro

(define-lsp-type FormattingOptions
  [tabSize uinteger]
  [insertSpaces boolean]
  [trimTrailingWhitespace (undef boolean)]
  [insertFinalNewline (undef boolean)]
  [trimFinalNewlines (undef boolean)]
  [key (undef (object string (or boolean integer string)))])

But it finally became very large and unnecessary complex. In this PR, I simply rename all these fields and keywords.

@jeapostrophe jeapostrophe merged commit 3447fe6 into jeapostrophe:master Aug 10, 2023
5 checks passed
@6cdh 6cdh deleted the rename-struct branch September 6, 2023 02:44
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.

3 participants