mirror of
https://github.com/nordtheme/vim.git
synced 2026-09-10 07:36:23 -04:00
The conditions and default values of the theme configurations were quite verbose so this commit improves them by... - ...using inline ternary operators instead of if/else blocks to reduce the code overhead and make it way more readable. - ...using Vim builtin `get` function [1] instead of if/else blocks. - ...inlining the script-scoped `logWarning` function since it was only used once. - ...grouping some blocks where it made sense. [1]: https://vimhelp.org/builtin.txt.html#builtin.txt#get%28%29 GH-295 Co-authored-by: Sven Greb <development@svengreb.de> |
||
|---|---|---|
| .. | ||
| nord.vim | ||