tonsky / sublime-scheme-alabaster

Minimalist color scheme for Sublime Text 3
MIT License
251 stars 20 forks source link

highlighting map keys #20

Closed p00f closed 2 years ago

p00f commented 2 years ago

Hey! I'm trying to port this theme to neovim.

In sublime text, clojure map keys are highlighted magenta and lua table keys are highlighted green, what is the correct colour?

p00f commented 2 years ago

I guessed the clojure's magenta would be correct since that is what is shown in the screenshots but I wanted to ask anyway

p00f commented 2 years ago

(similarly, should json keys also be magenta? how does one decide?)

tonsky commented 2 years ago

The distinction is by data type. All strings are green, and all other types of constants (numbers, keywords, booleans) magenta. Clojure map keys are usually keywords, but not always

p00f commented 2 years ago

Thanks