-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
update colorschemes #12163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update colorschemes #12163
Conversation
new colorschemes ================ - wildcharm: dual background contrast colorscheme, vibrant and playful, at least one popular AI thinks it is. - retrobox: port/variation of gruvbox - sorbet: inspired by cold colorschemes like nord/iceberg - zaibatsu: liberally inspired by the so-called "neo-tokyo", "neon-noir", "cyberpunk", "vaporware", etc. a e s t h e t i c, as well as popular colorschemes like dracula, tokyonight, or onedark. updated colorschemes ==================== - lunaperche - quiet - habamax
|
Thx to @romainl, @neutaaaaan |
Codecov Report
@@ Coverage Diff @@
## master #12163 +/- ##
==========================================
- Coverage 81.95% 81.95% -0.01%
==========================================
Files 160 164 +4
Lines 193810 194090 +280
Branches 43840 43830 -10
==========================================
+ Hits 158834 159059 +225
- Misses 22138 22198 +60
+ Partials 12838 12833 -5
Flags with carried forward coverage won't be shown. Click here to find out more. see 46 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
|
Just a heads-up : this commit doesn't touch |
|
yeah I have noticed in the past and wondered if it really helps. You could test it out by creating a dummy PR against e.g. runtime/colors/blue.vim and see if you get notified. But even if this doesn't work, it at least is (yet another) way to know whom to notify |
|
About the colorschemes: Any comments on including these? I like to keep the number of distributed colorschemes small, so that users are not overwhelmed. They should be quite different. About CODEOWNERS: I don't know why github requires write access. Is that configurable somewhere? |
|
I've noticed an inconsistency between a few colorschemes. Some colorschemes contain highlight groups that are defined by 3rd party plugins (e.g. fugitive, ALE, etc.), or syntax files (e.g. Should filetype-specific highlight groups like I thought the purpose of a colorscheme file was to define only general highlight groups (like |
|
Sure, we can, @romainl. Let's remove it, though it wouldn't be the colorschemes I, as an author, aimed to create anymore. |
@brammool while the work done last year indirectly did a lot to improve variety between the older colorschemes, most of them use rather aggressive or dull colors, with little thought given to the overall balance and feel. This cannot be fixed without drastically altering them, much beyond what we already had to do to ensure they'd behave properly in different environments. This is the main reason why |
|
I've noticed an inconsistency between a few colorschemes. Some
colorschemes contain highlight groups that are defined by 3rd party
plugins (e.g. fugitive, ALE, etc.), or syntax files (e.g. `vimOper`,
`elixirOperator`, `javaScript*`, etc.), while others don't. Is that by
accident? IMO, all distributed colorschemes should provide the same
highlight groups.
Should filetype-specific highlight groups like `vimOper`,
`elixirOperator` etc. even be defined in a colorscheme? If this
becomes a common theme, the colorschemes will grow very quickly once
users start adding filetype-specific highlight groups to each
colorscheme (there are over 500 different syntax files, each one
defining several syntax groups). I can understand the reasoning behind
it but I feel like they will quickly become unmaintainable.
I thought the purpose of a colorscheme file was to define only general
highlight groups (like `:h highlight-default` and `:h group-names`).
Hopefully only the default highlight groups need to be defined. If for
some syntax file this doesn't work that is an indication that there is
something wrong. This can be how the default groups are used in a
syntax file, or perhaps the set of default groups is not quite right. I
see that "vimOper" links to "Operator" and "Operator" is not used for
anything else. So why not define highlighting for "Operator"?
…--
Facepalm statement #4: "3000 year old graves? That's not possible, it's only
2014!"
/// Bram Moolenaar -- ***@***.*** -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|
|
FWIW, In my opinion, everything under or |
That's precisely why I won't submit Apprentice or Malotru for inclusion. |
|
I've mentionned that during a private conversation with @habamax already, but I think getting rid of all the custom links is a bad idea. There will always be such instances of awkward highlighting because of design decisions that work perfectly fine in the context the author was initially thinking about, but don't pan out when editing specific filetypes. Some of the older colorschemes rewire minor groups pretty liberally. I can only assume this is because the original authors had similar issues within the small subset of filetypes they worked with. This shouldn't have been allowed to happen. |
I think you're talking about Currently, there are 5 different group names for the Preprocessor. Most colorschemes I've seen use the same color for all 5 groups. Likewise, there are different group names for for/while loops, conditionals, labels and exceptions. The colorschemes I've seen will all highlight them as Most other highlight groups that I can see, for example, in the colorscheme hi! link javaScriptFunction Statement
hi! link javaScriptIdentifier StatementI use the exact same I really wonder how other editors solve all this.
@romainl Is Apprentice broken when you remove certain links? Maybe after/colors/<colorscheme>.vim should be automatically sourced once a specific colorscheme is loaded, similar to after/ftplugin/<filetype>.vim? I know this is already possible with autocommand and the |
|
Some housekeeping would be nice, but more groups would not help this particular situation, as overrides would inevitably happen regardless. Colorschemes are as much about aesthetics as they are about shaping up your interpretation of the underlying semantics. Similarly, I don't see how throwing more files into the runtime to handle the exceptions could help. That's just shuffling the solution around for the sake of correctness, whilst making the whole thing harder to grasp for an end user. |
remove only 3rd party syntax elements.
|
I'll include this now, as there are no relevant objections. There are always remarks about what looks good or bad to some users. We will keep improving this over time. |
Updated to Vim 9.0.1677 Announcements ==================== Website -------------------- The official website for MacVim is now https://macvim.org. Previously it just forwarded to https://macvim-dev.github.io/macvim/. You can also read the MacVim documentation at https://macvim.org/docs/gui_mac.txt.html. #1385 Features ==================== Updater / What's New page -------------------- There is now a "What's New" page that will automatically be shown whenever MacVim detected that it has been updated to a new version (can be disabled in Settings). The page will also include all the release notes if you have updated across multiple versions. This feature is useful for users who turned on "Automatically install updates" or installs MacVim through other methods like Homebrew but would still like to see the release notes when a new version comes out. You can also access it through the Help menu. #1414 MacVim should now report its version in a much more consistent manner in the "About MacVim" page and when the updater reports there is a new version. It should look something like "r176 (Vim 9.0.1276)" where "r176" is the MacVim release number and the 9.0.1276 is the bundled Vim version. #1293 #1393 Sparkle (updater for MacVim) is now updated to 2.4.2. #1416 New Vim features -------------------- - New bundled colorschemes: wildcharm/retrobox/sorbet/zaibatsu (vim/vim#12163) - File encryption now has a new `cryptmethod`: `xchacha20v2`, which is designed to be more forward compatible with future Vim versions than `xchacha20`. (v9.0.1481) - `switchbuf` works for more commands. (v9.0.1546) - Statusline now supports multiple alignment "%=" items. (v9.0.1300) - New UTF-16 utility functions (`strutf16len` and `utf16idx`) (v9.0.1485) - Misc 'smoothscroll' bugs fixes General ==================== * Removed non-Unicode localization files, which helps cut down on app size. #1397 * Miscellaneous documentation fixes. #1415 #1375 #1386 #1363 (by @dkav) * The disk image for MacVim (MacVim.dmg) is now in APFS and uses better compression for better efficiency. #1409 Fixes ==================== * Printing a file in macOS 13 Ventura (using `:hardcopy` or File→Print) should work again. #1390 * Fixed a broken symlink to XPCServices in the Sparkle framework. #1367 * Fixed MacVim to not throw (safe) Objective C exceptions when quitting. #1371 * Fixed welcome message not being aligned properly in Simplified Chinese and show the Vim 9 prompt. #1381 * Removed some unnecessary test files in the runtime folders which were included erroneously. #1418 Scripting ==================== - Scripting languages versions: - Python is now built against 3.11, up from 3.10. Compatibility ==================== Requires macOS 10.9 or above. (10.9 - 10.12 requires downloading a separate legacy build) Script interfaces have compatibility with these versions: - Lua 5.4 - Perl 5.30 - Python2 2.7 - Python3 3.11 - Ruby 3.2

new colorschemes
updated colorschemes