mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-14 13:04:12 +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
|
||||
* add :optionusage
|
||||
* add :doautocmd and :doautoall
|
||||
* add :style and :delstyle commands
|
||||
* add :style and :delstyle commands, allow :so to source stylesheets
|
||||
* add DOMLoad autocmd event
|
||||
* add :messages and 'messages'
|
||||
* add :runtime
|
||||
|
||||
@@ -53,8 +53,9 @@ section:Using{nbsp}scripts[using-scripts]
|
||||
|:so| |:source|
|
||||
||:so[urce][!] {file}|| +
|
||||
________________________________________________________________________________
|
||||
Read Ex commands from {file}. You can either source files which mostly contain
|
||||
Ex commands like [c]map < gt[c] and put JavaScript code within a:
|
||||
Read Ex commands, javascript, or CSS from {file}. You can either source files
|
||||
which mostly contain Ex commands like [c]map < gt[c] and put JavaScript code
|
||||
within a:
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
js <<EOF
|
||||
@@ -63,7 +64,7 @@ hello = function () {
|
||||
}
|
||||
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.
|
||||
|
||||
Note: In both cases you must add functions to the global window object like
|
||||
|
||||
Reference in New Issue
Block a user