summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Greg Hurrell [Mon, 14 Jun 2021 19:54:23 +0000 (21:54 +0200)]
chore: move from "master" → "main"
Greg Hurrell [Mon, 10 Jun 2019 21:38:48 +0000 (23:38 +0200)]
feat: add support for `@header` and `@image` annotations
Greg Hurrell [Tue, 25 Dec 2018 19:55:01 +0000 (20:55 +0100)]
Ignore release archives
Greg Hurrell [Tue, 25 Dec 2018 19:51:20 +0000 (20:51 +0100)]
Prepare for 1.0 release
Greg Hurrell [Tue, 25 Dec 2018 19:45:48 +0000 (20:45 +0100)]
doc: regen with current docvim
Greg Hurrell [Wed, 12 Oct 2016 01:06:18 +0000 (18:06 -0700)]
Add empty .watchmanconfig
Allows a Watchman instance configured with `enforce_root_files` to watch
this directory even if `root_files` does not contain any of the files in
the directory. (Necessary to get around undesired corporate
`/etc/watchman.json` config.)
Greg Hurrell [Sun, 12 Jun 2016 21:27:25 +0000 (14:27 -0700)]
Ignore tags file
Greg Hurrell [Sun, 12 Jun 2016 21:25:04 +0000 (14:25 -0700)]
Add documentation generated by docvim
Now the circle is complete.
Greg Hurrell [Sun, 12 Jun 2016 21:23:34 +0000 (14:23 -0700)]
Remove stray references to Pinnacle repo
These due to COPY-PASTA.
Greg Hurrell [Tue, 3 May 2016 16:12:51 +0000 (09:12 -0700)]
Work around "after" directory not being in the 'runtimepath'
Greg Hurrell [Thu, 31 Mar 2016 23:20:55 +0000 (16:20 -0700)]
Fix annoying error messages on switching to a new *.vim file
This will happen because the file gets re-evaluated (almost?) every time
you switch to a *.vim file after having looked at another filetype.
Greg Hurrell [Wed, 30 Mar 2016 07:01:13 +0000 (00:01 -0700)]
Update docs
- Add missing heading.
- List all mirrors.
- Use subheadings in version history.
Greg Hurrell [Wed, 30 Mar 2016 07:01:13 +0000 (00:01 -0700)]
Depend on Pinnacle, optionally, instead of on my dotfiles
Greg Hurrell [Wed, 30 Mar 2016 06:59:16 +0000 (23:59 -0700)]
Italicize all the things
Comments are usually italics, so these should be too.
Note that I can't actually ship this as it depends on
`functions#italicize_group`, which is only defined in my dot files, but
I will eventually extract that too into a separate plug-in so that I can
re-use it here too.
Greg Hurrell [Wed, 30 Mar 2016 06:48:28 +0000 (23:48 -0700)]
Avoid "Ignore" highlight group
It's too hard to read.
Greg Hurrell [Sun, 27 Mar 2016 22:13:26 +0000 (15:13 -0700)]
Update links
Including a link to the not-yet-existent Hackage package.
Greg Hurrell [Sun, 27 Mar 2016 22:12:59 +0000 (15:12 -0700)]
docs: Edit for nuance
Greg Hurrell [Sun, 27 Mar 2016 21:49:58 +0000 (14:49 -0700)]
Switch to MIT license
Just to keep it the same as the license we're using for Docvim itself.
Greg Hurrell [Thu, 30 Jul 2015 14:18:05 +0000 (07:18 -0700)]
Add @commands, @functions, @options
For the same reason that @mappings is useful, we want a way to
supplement the auto-generated COMMANDS, FUNCTIONS and OPTIONS sections
with arbitrary additional info.
For now this info will get appended to the section, but in the future I
might look at providing nested @header and @footer annotations to allow
you to force it to one location of the other; eg:
@commands
@header
Stuff that gets prepended to the COMMANDS section.
@footer
Stuff that gets appended to the COMMANDS section.
Greg Hurrell [Thu, 30 Jul 2015 14:12:14 +0000 (07:12 -0700)]
Allow docvim blocks to appear inside function bodies
For example, I just had a case where I had an option defined/used inside
a function:
function s:foo()
""
" @option g:SomeOption boolean 1
"
" This option does some thing.
let l:dispatch=get(g:, 'SomeOption', 1)
" [code that uses the option here...]
endfunction
Note that @option is a bit different from @mapping and @command. The
latter generally will have one authoritative place where they are
defined and where their documentation can logically/obviously go. An
@option on the other hand, may be used in multiple places.
So it may make sense to either just document these elsewhere (like up in
the @plugin area), or get into the habit of making a centralized place
where option default values are defined, so that they can be documented
independently of their usage sites.
Greg Hurrell [Thu, 30 Jul 2015 06:21:42 +0000 (23:21 -0700)]
Add @mappings annotation
For generic comments about mappings. This section will be appended to
the generated documentation after `@mapping` annotations get rendered.
Greg Hurrell [Thu, 30 Jul 2015 06:21:00 +0000 (23:21 -0700)]
Highlight entire annotation line, when appropriate
Things look prettier when the annotation coloring extends over the
entire contents of the line.
Greg Hurrell [Thu, 30 Jul 2015 06:20:33 +0000 (23:20 -0700)]
Add LICENSE.txt
Greg Hurrell [Thu, 30 Jul 2015 04:41:03 +0000 (21:41 -0700)]
Match more things for links
Now we match `|g:FooBar|` and `|.vimrc|`, which we failed to do before.
Greg Hurrell [Thu, 30 Jul 2015 04:40:47 +0000 (21:40 -0700)]
Use \s consistently, to handle tabs as well as spaces
Greg Hurrell [Thu, 30 Jul 2015 04:38:43 +0000 (21:38 -0700)]
Make indented blocks work
We were misdetecting the end of the docblock because our `end` regex
could match lines like:
<space><space>"
(ie. a 0 or 1-width space, followed by a non-quote)
Fix that by looking for non-space, non-tab, non-quote instead.
Also, use "\s" for whitespace, so that we deal with tabs properly as
well as spaces.
Greg Hurrell [Wed, 29 Jul 2015 04:33:15 +0000 (21:33 -0700)]
Drop @header support
We don't need it. Anything under @plugin is implicitly in the "header"
region unless explicitly marked otherwise (ie. with @footer or such).
Greg Hurrell [Wed, 29 Jul 2015 04:31:17 +0000 (21:31 -0700)]
Add source documentation
Written using docvim comments, of course. I'll add the generated outputs
later (can't do so yet as I am still boostrapping the docvim tool
itself).
Greg Hurrell [Wed, 29 Jul 2015 03:34:44 +0000 (20:34 -0700)]
Make docvim{Star,Bar} match their containing matches
Greg Hurrell [Wed, 29 Jul 2015 03:34:22 +0000 (20:34 -0700)]
Add missing docvimSubheadingPrefix link
Greg Hurrell [Wed, 29 Jul 2015 00:37:04 +0000 (17:37 -0700)]
Add highlighting of pre-fenced regions
Greg Hurrell [Wed, 29 Jul 2015 00:24:30 +0000 (17:24 -0700)]
Add support for 'settings' and <CTRL-keys>
Greg Hurrell [Wed, 29 Jul 2015 00:24:02 +0000 (17:24 -0700)]
Don't allow spaces inside backtick ranges
Greg Hurrell [Tue, 28 Jul 2015 23:08:32 +0000 (16:08 -0700)]
Initial commit
This is the work-in-progresss syntax highlighting for the
not-yet-released "docvim" syntax (this will be a tool that I'll release
for embedding extractable documentation inline inside Vim plugins).