Skip to content

A configurable, tranquil colorscheme for Neovim that highlights identifiers and de-emphasizes keywords, so you can easily see what's important in your code

License

Notifications You must be signed in to change notification settings

jqno/tranquility.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tranquility.nvim

A collection of quiet dark colorschemes for Neovim.

Philosophy

I find that most color schemes emphasize the reserved words in a language by giving them bright colours. Tranquility.nvim does the opposite, and emphasizes identifiers instead. After all, that’s what the code is really about, right?

It provides a collection of colorschemes derived from different well-known palettes, because sometimes it's nice to mix things up, without sacrificing any principles.

Screenshot

tranquility Tranquility: based on Selenized Dark palette

tranquil-nord Tranquil Nord: based on Nord palette

tranquil-catppuccin Tranquil Catppuccin: based on Catppuccin Mocha palette

tranquil-intellij Tranquil IntelliJ: based on IntelliJ palette

Configuration

Install the plugin with your favorite plugin manager, for instance with Lazy:

return {
    'jqno/tranquility.nvim',

    config = function()
        vim.cmd.colorscheme('tranquility')

        -- Or pick another scheme:
        -- vim.cmd.colorscheme('tranquil-nord')
        -- vim.cmd.colorscheme('tranquil-catppuccin')
        -- vim.cmd.colorscheme('tranquil-intellij')

        -- Or let Neovim pick one at random:
        -- vim.cmd.colorscheme('tranquil-random')
    end
}

Inspiration

I first got the idea watching a talk by Venkat Subramaniam, who uses a similar colorscheme in his editor.

Then I found a few colorschemes, like zenbones.nvim, which offer different colorschemes following a specific philosophy but based on different well-known color palettes.

This colorscheme is written in the Lua programming language, whose name means 'moon' in Portuguese, and the first implemented palette was the Selenized palette, whose name also refers to the moon. To stick with this lunar theme, the name of this colorscheme is inspired by the moon as well: it refers to the Sea of Tranquility, which loops back nicely to the quiet philosophy.

About

A configurable, tranquil colorscheme for Neovim that highlights identifiers and de-emphasizes keywords, so you can easily see what's important in your code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages