Commit Graph

189 Commits

Author SHA1 Message Date
Iron-E 3bced25e47
ref(colors): add NONE constant
The appearance of a lone `{}` was perhaps confusing to some. Behind the
scenes, whenever an attribute is missing from a table, it will be
defaulted to 'None'. Transiently, in using `{}` we are able to shortcut
directly to these defaults.

However, it does not read well. This commit introduces a constant that
makes it clear what is happening.
2020-12-17 13:44:25 -05:00
Iron-E 703f512407
style(colors): tabularize lua links 2020-12-17 13:41:55 -05:00
Iron-E 263dccb7fe
fix(colors): luaIn not matching luaRepeat
`in` is only used here. It should match
2020-12-13 23:47:10 -05:00
Iron-E e9733ce739
feat(colors): more defaults for help files
The help files had some defaults that didn't necessarily make a lot of
sense to me. They changed to be what their names imply.
2020-12-13 19:07:13 -05:00
Iron-E 53e144e6d2
feat(colors): git config highlighting 2020-12-13 17:42:57 -05:00
Iron-E 6ef4dabd8c
ref(colors): use Exception for rustPanic
This should be the default, as it is what Exception is for.
2020-12-13 17:01:11 -05:00
Iron-E 6dc4fce8d1
ref(colors): bold labels
Labels are closer to titles than statements, and they should stick out.
Bold them.
2020-12-13 16:19:55 -05:00
Iron-E 1e95f6d304
ref(colors): use italics for repeat
The other statement types use italics, so it should probably use italics
to in order to fall in line with the meaning of the keyword.
2020-12-13 16:09:26 -05:00
Iron-E d1dad7ee27
fix(highlite): self.<highlight_link>.<attr> fails
When using the self-referencial syntax to create new groups out of the
predefined attributes of another:

```lua
Foo = function(self) return {fg=self.Foo.fg, bg=self.Bar.bg} end
```

If either `Foo` or `Bar` were a highlight link, they would fail to be
resolved. This is now fixed.
2020-12-13 16:07:54 -05:00
Iron-E 2f28f199b4
docs(media): update preview
The preview was old, and the colors have been updated. It should be
changed to reflect the newest updates.
2020-12-12 15:19:21 -05:00
Iron-E 929cbb6869
feat(syntax): add highlighting for vim functions 2020-12-12 15:14:08 -05:00
Iron-E 62b7da590e
ref(syntax): change default link for function args 2020-12-12 15:12:19 -05:00
Iron-E 2da8bbac90
feat(syntax): add default link for function args 2020-12-12 13:54:55 -05:00
Iron-E da28835bf7
feat(syntax): add default for vimCmdSep 2020-12-12 13:52:23 -05:00
Iron-E 99f46e10c3
ref(syntax): distinguish between blue and teal
Makes blue slightly more purple.
2020-12-12 13:01:46 -05:00
Iron-E 3805351253
ref(colors): bold operators 2020-12-12 12:41:20 -05:00
Iron-E c343b61db9
ref(color): distinction improvements
Helps tell the different between green_dark and green.
2020-12-11 19:26:06 -05:00
Iron-E 7425714544
ref(colors): don't link rustTrait to rustIdentifier 2020-12-11 18:07:17 -05:00
Iron-E 399786bfab
ref(colors): use identifier for rustidentifier 2020-12-11 17:30:31 -05:00
Iron-E 858adbb4f2
ref(colors): readability improvements
One of this template's goals is to be visible in any range of blue
light. The other goal of the template is to be distinguishable
semantically. This commit brings us closer to that goal.
2020-12-11 16:30:20 -05:00
Iron-E 6b0e85b874
feat(colors): highlight commit message overflow 2020-12-11 02:35:22 -05:00
Iron-E 9f52a37aed
ref(colors): various adjustments
1. Cyan and teal are now more distinguishable
2. Git messages are linked to 'Title'
3. Rust highlight groups use better defaults
2020-12-10 23:53:24 -05:00
Iron-E b971f3b49b
docs(README): update links to preferred syntax files
This updates the links to two plugins:

1. java-syntax.vim
2. rust.vim

java-syntax.vim  hasn't had a commit in a few months, and is pending a
PR from me which will enable syntax highlighting of delimiters. For the
time being, it would be better to use that.

rust.vim has made the decision to not allow highlighting of user types,
and while I understand their reasoning, I completely disagree. For that
reason I will maintain the fork and merge any changes from upstream.
2020-12-10 04:09:15 -05:00
Iron-E 028a386234
feat(colors): add more highlight links
This commit adds highlight links which are relevant for an open PR on
rust-lang/rust.vim .
2020-12-10 03:29:55 -05:00
Iron-E f671067e97
ref(colors): change jsonEscape to specialchar
`jsonEscape` is used for the exact purpose that `SpecialChar` was meant
for. So, I updated the `:hi link` to match it.
2020-12-09 18:02:04 -05:00
Iron-E 9dca0299b9
ref(colors): adjust tomlTable link
`tomlTable` used to be linked to `StorageClass`, which is completely
inappropriate for what is actually is.

It is now linked to `Structure`, which is more appropriate.
2020-12-08 17:06:17 -05:00
Iron-E 63ba9ddbfd
feat(colors): add coq proof highlight 2020-12-06 22:16:24 -05:00
Iron-E 2541117eb6
fix(highlite): g:terminal_color_xx not being set
Previous changes to this plugin prevented the terminal color from being
set.

Even before the changes, the terminal color was not set in all
conditions. Now it will be!
2020-12-05 17:44:20 -05:00
Iron-E 20bc365437
ref(highlite): add tohex() function
This gets around having a bunch of long `string.format()` commands which
don't closely convey the meaning of what we want to do here.
2020-12-05 17:43:14 -05:00
Iron-E f643c9304d
ref(highlite): new metatable in use_background_with
We shouldn't alter the contents of `attributes` during the function
call. Instead, we should create a new metatable for the background
color table, and assign it that way.
2020-12-05 17:41:24 -05:00
Iron-E a7a3bc11fe
style(highlite): consistency improvements
In the project, there was inconsistent formatting when using the
`table`-as-`StringBuilder` approach. This commit fixes that.
2020-12-05 17:37:56 -05:00
Iron-E 0d9322aac7
ref(colors): link coq punctuation
Before, punctuation groups were separately linked to `Delimiter`. Now,
they are linked to each other so that if one changes away form
`Delimiter` in the future, the other will follow.
2020-12-05 14:54:14 -05:00
Iron-E a4e48a6f9b
feat(colors): Coqtail support
This commit adds support for whonore/Coqtail.
2020-12-05 14:44:35 -05:00
Iron-E 6512def838
ref(colors): refine colors to match latest plugin updates
`barbar.nvim` had an update which separated buffer index colors from
their respective buffer separators colors. Additionally, `vimtex` had
an update which changed many names of its highlight groups.

This commit aims to relieve some of the visual oddities which may have
occured over the last few days, as a result of those changes.
2020-12-02 15:08:25 -05:00
Iron-E c4f98237c5
ref(colors): update vimtex group names
Vimtex recently had a 2.0 release, and so now this template must also
update the names of the changed groups to match.
2020-11-25 14:12:31 -05:00
Iron-E 92791fcfe4
fix: resolve functions before indexing
Highlight groups defined as functions now exhibit the following
behavior:

- Results of function calls are cached.
- Unresolved highlight groups are resolved before indexing.
2020-11-25 01:25:57 -05:00
Iron_E b2ccdbccb7
Adjust BufferVisibleSign 2020-11-22 18:35:11 -05:00
Iron_E 1dba9703b5
Consistent formatting 2020-11-22 17:10:49 -05:00
Iron_E 856dc2cf26
Fix vim-sandwhich diff text 2020-11-21 13:03:40 -05:00
Iron_E a1d99bef83
Improve diff highlighting 2020-11-21 02:54:59 -05:00
Iron_E defe010f9d
Correct highlight_terminal example 2020-11-19 20:41:22 -05:00
Iron_E f56df50a90
Add highlite.group to README 2020-11-19 20:39:49 -05:00
Iron_E 2d9389ed02
- vim-jp/syntax-vim-ex; + sheerun/vim-polyglot 2020-11-19 20:34:34 -05:00
Iron_E 08ba0780ae
Simplify highlite.group 2020-11-19 17:09:00 -05:00
Iron_E 1cadac7cb2
Document new functionality 2020-11-19 16:43:00 -05:00
Iron_E 2de9c2b6bf
Use new functionality 2020-11-19 16:42:47 -05:00
Iron_E b9cf35585c
Improve stability 2020-11-19 16:42:31 -05:00
Iron_E 96e23abf98
Initial implementation of sub-attribute linking 2020-11-19 13:55:36 -05:00
Iron_E 4fc8823a0c
Cleanup structure of highlighting backend 2020-11-19 12:12:03 -05:00
Iron_E b8b78237b8
Improve vimscript support 2020-11-18 14:04:37 -05:00