diff options
author | 2012-10-29 20:45:58 -0400 | |
---|---|---|
committer | 2012-10-29 20:45:58 -0400 | |
commit | fa38d2306fadc99bb1403433517ecf45a24062eb (patch) | |
tree | 19f286adb6be4cbd7a1b11fc1c880976a01ea9fd /modules/textadept/mime_types.lua | |
parent | 6718de08a3f19f8c24c1c4167b05828a7ac0dfd7 (diff) | |
download | textadept-fa38d2306fadc99bb1403433517ecf45a24062eb.tar.gz textadept-fa38d2306fadc99bb1403433517ecf45a24062eb.zip |
Updated documentation formatting.
Pathnames and filenames are italic and be more consistent with constant width
text.
Diffstat (limited to 'modules/textadept/mime_types.lua')
-rw-r--r-- | modules/textadept/mime_types.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/textadept/mime_types.lua b/modules/textadept/mime_types.lua index 7c71fa7f..2675b9fc 100644 --- a/modules/textadept/mime_types.lua +++ b/modules/textadept/mime_types.lua @@ -28,7 +28,7 @@ M.extensions = {} --- -- Table of shebang words and their associated lexers. --- If the file has a shebang line, a line that starts with `#!` and is the first +-- If the file has a shebang line, a line that starts with "#!" and is the first -- line in the file, each shebang word is matched against that line. -- @class table -- @name shebangs @@ -42,7 +42,7 @@ M.shebangs = {} -- @name patterns M.patterns = {} --- Load mime-types from `modules/textadept/mime_types.conf`. +-- Load mime-types from *modules/textadept/mime_types.conf*. local mime_types local f = io.open(_HOME..'/modules/textadept/mime_types.conf', 'rb') if f then @@ -70,7 +70,7 @@ end --- -- List of detected lexers. --- Lexers are read from `lexers/` and `~/.textadept/lexers/`. +-- Lexers are read from *lexers/* and *~/.textadept/lexers/*. -- @class table -- @name lexers M.lexers = {} @@ -111,7 +111,7 @@ end -- Contains the whitespace styles for lexers. -- These whitespace styles are used to determine the lexer at the current caret --- position since the styles have the name `[lang]_whitespace`. +-- position since the styles have the name "[lang]_whitespace". -- @class table -- @name ws_styles local ws_styles = {} |