Code Monkey home page Code Monkey logo

vague.nvim's Introduction

vague-banner

vague is a dark, low contrast theme inspired ThePrimeagen's use of tokyonight without fixing tmux's colors.

vague-compare

Installation

-- Lazy
{
  "vague2k/vague.nvim",
  config = function()
    require("vague").setup({
      -- optional configuration here
    })
  end
},

Default configuration

require("vague").setup({
  transparent = false, -- don't set background
  style = {
    -- "none" is the same thing as default. But "italic" and "bold" are also valid options
    boolean = "none",
    number = "none",
    float = "none",
    error = "none",
    comments = "italic",
    conditionals = "none",
    functions = "none",
    headings = "bold",
    operators = "none",
    strings = "italic",
    variables = "none",

    -- keywords
    keywords = "none",
    keyword_return = "none",
    keywords_loop = "none",
    keywords_label = "none",
    keywords_exception = "none",

    -- builtin
    builtin_constants = "none",
    builtin_functions = "none",
    builtin_types = "none",
    builtin_variables = "none",
  },
  -- Override colors
  colors = {
    bg = "#18191a",
    fg = "#cdcdcd",
    floatBorder = "#878787",
    line = "#282830",
    comment = "#646477",
    builtin = "#bad1ce",
    func = "#be8c8c",
    string = "#deb896",
    number = "#d2a374",
    property = "#c7c7d4",
    constant = "#b4b4ce",
    parameter = "#b9a3ba",
    visual = "#363738",
    error = "#d2788c",
    warning = "#e6be8c",
    hint = "#8ca0dc",
    operator = "#96a3b2",
    keyword = "#7894ab",
    type = "#a1b3b9",
    search = "#465362",
    plus = "#8faf77",
    delta = "#e6be8c",
  },
})

Acknowledgements

The structure of this code was shamelessly ripped off neomodern of which I used it's roseprime colorscheme for a very long time. I'd highly suggest you check it out.

Contributing

PR's are welcome and encouraged.

If you would like to propose support for a specific plugin, you can make a PR with your modifications to this file

Supported plugins

vague.nvim's People

Contributors

vague2k avatar vieitesss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vague.nvim's Issues

More in-depth, explicit, styling configuration

A proposal for the following highlights to be configured by an appropriate field in VagueConfig.style

This list will be updated if there are more highlights I can think of that would make sense to have an explicit styling configuration option

Syntax

  • Boolean
  • Number
  • Float floating point numbers
  • Repeat loop keywords like for, while, etc
  • Label keywords like case, default, etc
  • Error any erronous construct

Treesitter

  • @constants.builtin (e.g. iota in golang or nil in lua)
  • @variable.builtin variable names defined by a lang, like this or self
  • @type.builtin regular types like string, int, etc
  • @function.builtin (e.g. require(...) in lua or append(...) in go)

In regards to breaking changes

  • To avoid breaking changes any new fields that affect gui styling of the above mentioned highlights should be add directly to VagueConfig.style and not to any sub-table like potentially VagueConfig.style.builtin

Highlight color adjustments

This is not a major tweak to the palette itself, but rather which highlights are using what colors

Obviously, recreating the way tmux fucks up tokyonight 1:1 is not going to be possible, and there will be discrepancies. It's also worth to note that some things can/can't be achieved without semantic tokens enabled. I am also eyeballing this kinda stuff using golang.

but for now here are the following first world complaints I have with the current state

  • Too much red (see colors.func in the config), being that function names should be red, but calling the function somewhere else should not. OR user defined functions can be highlighted as red and stdlib functions should be highlights as something else. At the time of writing this I'm not too sure how I can make the distinction between the two, but it's something i'd like to address
  • slightly brighter string color
  • duller color for delimiters

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.