Commit Graph

215 Commits

Author SHA1 Message Date
Iron-E 0366857193
docs(README): add better link for razor plugin 2021-02-26 16:26:58 -05:00
Iron-E 00e2960692
ref(css): use more varied defaults
This is to make the text appear more obvious for skimming.
2021-02-26 16:04:21 -05:00
Iron-E b89dc79143
feat(colors): cssAttrComma as Noise 2021-02-26 15:49:47 -05:00
Iron-E a187175694
feat(colors): better css defaults 2021-02-26 15:48:06 -05:00
Iron-E 9bd13673f9
perf(colors): remove rust defaults
I recently overhaulded the Iron-E/rust.vim syntax file so these are no
longer needed.
2021-02-26 15:22:59 -05:00
Iron-E aa8e36bd4f
fix(highlite): highlight groups being cleared
This was a step I took from the plugin this colorscheme is forked from
(romainl/vim-rnb) but it turns out that it causes problems and doesn't
actually solve anything.

Taking out this line fixed a highlight group being cleared when it
should not have been, although interestingly not _all_ highlight groups
are being cleared consistently. So its just introducing inconsistency
into this plugin which I do not want.

SEE glepnir/galaxyline.nvim#88
2021-02-10 13:08:38 -05:00
Iron-E daa245b13b
feat(scope): add proper rustEscape support
This is linked to `Special` rather than `SpecialChar`. Small change but
this is what `SpecialChar` is for.
2021-02-04 18:52:14 -05:00
Iron-E d3d1c3a0d1
ref(colors): luaNoise link to Delimiter 2021-02-04 15:29:39 -05:00
Iron-E 0128acdf2f
ref(colors): improve git diff highlights 2021-02-02 15:36:39 -05:00
Iron-E 47fae28325
ref(colors): improve rust highlights
1. Remove unused highlights.
2. Add `rustUnused` definition.
3. Change `rustAssert` default.
2021-02-02 15:31:49 -05:00
Iron-E b0bca9edd3
docs: document overriding groups from init.vim
This adds instructions on how to override highlight groups from `init.vim`,
as it seems this cannot be done with your average Neovim colorscheme.
Rather than just using `:hi!` in the `init.vim` (as one might be tempted
to do), it describes a process of adding the commands to an autocommand
event which will run them when the time is right.

SEE #9
2021-01-26 14:36:38 -05:00
Iron-E 2798132cdf
style(highlite): inline __call specification 2021-01-26 12:54:04 -05:00
Iron-E 8757a6c228
fix(highlite): `:terminal` shows wrong colors
This was caused by the index of `vim.g.terminal_color_X` beginning at 1
rather than 0. I thought initially that this would be translated by the
Lua metatable but I guess not!

CLOSES #8
2021-01-26 12:37:13 -05:00
Iron-E 15d834494e
feat(colors): add plantuml gantt colors 2021-01-26 12:34:33 -05:00
Iron-E 2fb6dc1b2a
feat(colors): add more TOML default links
For some reason, `tomlFloat` was linked to `Number`. There is a `Float`
highlight group dedicated for that.

Additionally, the `tomlDate` group was linked to `Constant`. I don't
think that's necessarily a fitting group, since a date is a literal,
and while literals _are_ constants it does not seem fitting. I gave it
the `Special` link instead, since `Special` is supposed to be used
whenever there is an "other" type in a language.
2020-12-31 17:22:40 -05:00
Iron-E 495c76dfea
fix(colors): git deleted file now linked to Dir 2020-12-30 14:10:18 -05:00
Iron-E 1e7d4e7b6d
fix(colors): vimUserFunc not matching vimFunction 2020-12-30 14:00:28 -05:00
Iron-E a36291cf05
fix(colors): link giconfig unselected to selected 2020-12-30 02:19:01 -05:00
Iron-E a350454a78
feat(colors): link FernBranchText to Directory 2020-12-30 02:10:50 -05:00
Iron-E a057eda509
feat(config): add gitcommit highlight defaults
There are some more changes which should be made in order to maintain
consistency across environments. Directory is now used for file names,
and SpecialComment is used for the headers.
2020-12-30 02:01:18 -05:00
Iron-E 529bbd83cf
feat(colors): highlight gitconfig like toml
Git config and TOML have somewhat similar structure. Because of this,
I'm making gitconfig follow that style.
2020-12-30 01:53:44 -05:00
Iron-E 0ddfde041b
feat(colors): link dyn to rustStorage 2020-12-20 00:48:27 -05:00
Iron-E b029086122
fix(colors): helpSpecial showing wrong 2020-12-19 16:36:03 -05:00
Iron-E d1b8699983
ref(colors): extract help groups
There were help syntax highlights scattered around. THis moves them to
one, dedicated spot.

Additionally, there were some incorrect settings for markdown help
blocks, and they were corrected.
2020-12-17 14:18:02 -05:00
Iron-E aabed249a1
ref(colors): use Ignore for mkdBold
The `SpecialComment` group didn't fit.
2020-12-17 14:06:08 -05:00
Iron-E 527245d736
style(colors): make definitions more compact
The groups defined were tabularized to a fault. I think this undoes some
of that.
2020-12-17 13:58:56 -05:00
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