Skip to content
/ dbd-mode Public

major mode for editing files found in the dsl from dbdiagrams.io

Notifications You must be signed in to change notification settings

ccod/dbd-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

DBDiagrams-mode

What

dbdiagrams.io uses a dsl to describe entities which it then visualizes. This is a major mode that runs off of .dbd files that tries to emulate the editing experience of the dsl.

Why?

As much as I am enamored with the solution, I still find the editing experience from emacs(spacemacs) preferable to the online editor, as I can't get my vim bindings in the text box.

Installation

This is a bit hacky as I am still rather unfamiliar with the right way to publish elisp code. cd ~/.emacs.d/private/local git clone https://github.com/ccod/dbd-mode edit ~/.spacemacs

within dotspacemacs/user-config add (load-file "~/.emacs,d/private/local/dbd-mode/dbdiagram-mode.el")

demo of lang-mode

TODO:

  • hook into the autocomplete mode
  • hook into flycheck to point out syntax errors

About

major mode for editing files found in the dsl from dbdiagrams.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published