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:
2
NEWS
2
NEWS
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user