mode-funcdown.js
is for Ace Editor.
funcdown.sublime-syntax
is for Sublime Text Editor.
fncd.lua
is for Textadept.
Place/save the file in Your ace/ directory where main ace.js
is and other mode-*.js
files are.
Place/save the file into Your ~/.config/sublime-text/Packages/User
directory.
*(step 2 is not necessary if automatic extension detection is irrelevant)
-
Place/save the file into
~/.textadept/lexers
directory. -
Open main
lexer.lua
file from textadept source directory and findlocal extensions
line almost at the bottom of the file, then add something like this['fncd.phtml'] = 'fncd', fncd = 'fncd',
where appropriate, right before/abovegd
or afterfstab
extension.
Funcdown is "c-function syntax alike" markup language generator.
Go to Funcdown Playground to see it in action.