1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-21 10:05:48 +01:00

Add NEWS and help entries for :so *.css.

This commit is contained in:
Kris Maglione
2008-10-07 07:42:21 +00:00
parent 19b942aebc
commit 1ff0c3169b
2 changed files with 5 additions and 4 deletions

2
NEWS
View File

@@ -9,7 +9,7 @@
VimperatorLeave respectively VimperatorLeave respectively
* add :optionusage * add :optionusage
* add :doautocmd and :doautoall * add :doautocmd and :doautoall
* add :style and :delstyle commands * add :style and :delstyle commands, allow :so to source stylesheets
* add DOMLoad autocmd event * add DOMLoad autocmd event
* add :messages and 'messages' * add :messages and 'messages'
* add :runtime * add :runtime

View File

@@ -53,8 +53,9 @@ section:Using{nbsp}scripts[using-scripts]
|:so| |:source| |:so| |:source|
||:so[urce][!] {file}|| + ||:so[urce][!] {file}|| +
________________________________________________________________________________ ________________________________________________________________________________
Read Ex commands from {file}. You can either source files which mostly contain Read Ex commands, javascript, or CSS from {file}. You can either source files
Ex commands like [c]map < gt[c] and put JavaScript code within a: which mostly contain Ex commands like [c]map < gt[c] and put JavaScript code
within a:
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
js <<EOF js <<EOF
@@ -63,7 +64,7 @@ hello = function () {
} }
EOF EOF
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
Or you can alternatively source a file which ends in _.js_, these files are Or you can alternatively source a file which ends in _.js_. These files are
automatically sourced as pure JavaScript files. automatically sourced as pure JavaScript files.
Note: In both cases you must add functions to the global window object like Note: In both cases you must add functions to the global window object like