s000300
Major Mode
Major mode is a map with keys: ::key-handler Which is a function that takes a key keyword, like :C-s is input and returns a function (an action), another key-handler or nil. Notice that a map is also a function, so a map with submaps will be usefull in many situations while a regular function will be suiteable in other. ::syntax-highlighter (TODO: Define interface, maybe define a "reduced slider". Maybe a map with regex for "line-comment", "function-name", etc.)
Autoindent rules? Execute file action (Maybe just part of key-handler) Cursor color? ::doc
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close