Skip to content

Add LDAP extension#5276

Draft
kjanat wants to merge 2 commits intozed-industries:mainfrom
kjanat:add-ldap-extension
Draft

Add LDAP extension#5276
kjanat wants to merge 2 commits intozed-industries:mainfrom
kjanat:add-ldap-extension

Conversation

@kjanat
Copy link
Contributor

@kjanat kjanat commented Mar 18, 2026

Adds language support for LDAP Schema (RFC 4512) and LDIF (RFC 2849) files.

Language Extensions Grammar
LDAP Schema .schema, .ldapschema tree-sitter-ldap-schema
LDIF .ldif tree-sitter-ldif

Features:

  • Syntax highlighting for both languages
  • Symbol outline for objectclass, attributetype, objectidentifier definitions
  • Bracket matching, auto-close, and indentation (LDAP Schema)
  • Vim mode textobjects (af/if for entries, ac/ic for records)
  • LDIF-to-LDAP-Schema injection for embedded schema in olcAttributeTypes/olcObjectClasses values
  • First-line detection for schema files (^(objectclass|attributetype|objectidentifier)\s)

Repository: https://github.com/kjanat/zed-ldap

@cla-bot cla-bot bot added the cla-signed label Mar 18, 2026
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8cab7c0201

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@kjanat kjanat marked this pull request as draft March 18, 2026 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant