Compare commits
10 Commits
fe5847e379
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 14bc1b3e59 | |||
| 0905e1cd9a | |||
| ba538ab69e | |||
|
|
fa25db55c4 | ||
| a19cef29a1 | |||
| 2db17d9eb2 | |||
| 95b5f33594 | |||
| afcfe84556 | |||
|
|
a21ec7417b | ||
|
|
78a225ba2f |
29
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
Normal file
29
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
name: Bug report
|
||||
description: Report a problem in tokyodark.nvim
|
||||
labels: [bug]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Use the minimal configuration [config.lua](https://github.com/tiagovla/tokyodark.nvim/blob/master/.github/config.lua) with `NVIM_APPNAME=tokyodark nvim -u config.lua`.
|
||||
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: "Neovim version"
|
||||
description: "Please report the neovim version you are using."
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: "Minimal configuration"
|
||||
description: "Include a minimal configuration to reproduce the problem with relevant plugins if the minimum configuration provided is not enough."
|
||||
validations:
|
||||
required: false
|
||||
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: "Description"
|
||||
description: "A short description of the problem you are reporting."
|
||||
validations:
|
||||
required: true
|
||||
37
.github/config.lua
vendored
Normal file
37
.github/config.lua
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not vim.loop.fs_stat(lazypath) then
|
||||
vim.fn.system({
|
||||
"git",
|
||||
"clone",
|
||||
"--filter=blob:none",
|
||||
"https://github.com/folke/lazy.nvim.git",
|
||||
"--branch=stable",
|
||||
lazypath,
|
||||
})
|
||||
end
|
||||
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
require("lazy").setup({
|
||||
{
|
||||
"tiagovla/tokyodark.nvim",
|
||||
config = function()
|
||||
require("tokyodark").setup()
|
||||
require("tokyodark").colorscheme()
|
||||
end,
|
||||
},
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
build = ":TSUpdate",
|
||||
config = function()
|
||||
local treesitter = require("nvim-treesitter.configs")
|
||||
treesitter.setup({
|
||||
ensure_installed = "all",
|
||||
highlight = {
|
||||
enable = true,
|
||||
additional_vim_regex_highlighting = false,
|
||||
},
|
||||
})
|
||||
end,
|
||||
},
|
||||
})
|
||||
@@ -29,11 +29,12 @@ local tokyo_dark = {
|
||||
c = { fg = colors.fg, bg = colors.bg },
|
||||
x = { fg = colors.fg, bg = colors.bg },
|
||||
y = { fg = colors.fg, bg = colors.bg },
|
||||
z = { fg = colors.fg, bg = colors.bg },
|
||||
z = { fg = colors.bg, bg = colors.green, gui = "bold" },
|
||||
},
|
||||
visual = { a = { fg = colors.bg, bg = colors.purple, gui = "bold" } },
|
||||
replace = { a = { fg = colors.bg, bg = colors.red, gui = "bold" } },
|
||||
insert = { a = { fg = colors.bg, bg = colors.blue, gui = "bold" } },
|
||||
command = { a = { fg = colors.bg, bg = colors.yellow, gui = "bold" } },
|
||||
}
|
||||
|
||||
local mt = {}
|
||||
|
||||
@@ -63,7 +63,7 @@ M.highlights = {
|
||||
ColorColumn = { bg = p.bg1 },
|
||||
CursorLineNr = { fg = p.fg },
|
||||
LineNr = { fg = p.bg4 },
|
||||
Conceal = { fg = p.grey, bg = p.bg1 },
|
||||
Conceal = { fg = p.grey, bg = p.bg1 } + transparent_bg,
|
||||
DiffAdd = { fg = p.none, bg = p.diff_add },
|
||||
DiffChange = { fg = p.none, bg = p.diff_change },
|
||||
DiffDelete = { fg = p.none, bg = p.diff_delete },
|
||||
@@ -106,6 +106,8 @@ M.highlights = {
|
||||
debugBreakpoint = { fg = p.bg0, bg = p.red },
|
||||
ToolbarButton = { fg = p.bg0, bg = p.bg_blue },
|
||||
FocusedSymbol = { bg = p.bg3 },
|
||||
FloatBorder = { fg = p.bg4 },
|
||||
FloatTitle = { fg = p.blue },
|
||||
|
||||
Type = { fg = p.blue } + styles.keywords,
|
||||
Structure = { fg = p.blue } + styles.keywords,
|
||||
@@ -320,6 +322,20 @@ M.highlights = {
|
||||
LspOperator = { link = "@operator" },
|
||||
LspDecorator = { link = "@symbol" },
|
||||
LspDeprecated = { link = "@text.strike" },
|
||||
["@lsp.type.namespace"] = { link = "@namespace", default = true },
|
||||
["@lsp.type.type"] = { link = "@type", default = true },
|
||||
["@lsp.type.class"] = { link = "@type", default = true },
|
||||
["@lsp.type.enum"] = { link = "@type", default = true },
|
||||
["@lsp.type.interface"] = { link = "@type", default = true },
|
||||
["@lsp.type.struct"] = { link = "@structure", default = true },
|
||||
["@lsp.type.parameter"] = { link = "@parameter", default = true },
|
||||
["@lsp.type.variable"] = { link = "@variable", default = true },
|
||||
["@lsp.type.property"] = { link = "@property", default = true },
|
||||
["@lsp.type.enumMember"] = { link = "@constant", default = true },
|
||||
["@lsp.type.function"] = { link = "@function", default = true },
|
||||
["@lsp.type.method"] = { link = "@method", default = true },
|
||||
["@lsp.type.macro"] = { link = "@macro", default = true },
|
||||
["@lsp.type.decorator"] = { link = "@function", default = true },
|
||||
|
||||
-- cmp
|
||||
CmpItemKindDefault = { fg = p.blue },
|
||||
@@ -368,34 +384,54 @@ M.highlights = {
|
||||
GitSignsDeleteLn = { fg = p.red },
|
||||
GitSignsDeleteNr = { fg = p.red },
|
||||
|
||||
-- telescope
|
||||
TelescopeBorder = { link = "FloatBorder" },
|
||||
TelescopePreviewBorder = { fg = p.bg4 },
|
||||
TelescopePreviewTitle = { fg = p.blue },
|
||||
TelescopePromptBorder = { fg = p.bg4 },
|
||||
TelescopePromptTitle = { fg = p.blue },
|
||||
TelescopeResultsBorder = { fg = p.bg4 },
|
||||
TelescopeResultsTitle = { fg = p.blue },
|
||||
|
||||
-- markdown
|
||||
markdownBlockquote = { fg = p.grey },
|
||||
markdownBold = { fg = p.none, bold = true },
|
||||
markdownBoldDelimiter = { fg = p.grey },
|
||||
markdownCode = { fg = p.yellow },
|
||||
markdownCodeBlock = { fg = p.yellow },
|
||||
markdownCodeDelimiter = { fg = p.green },
|
||||
markdownH1 = { fg = p.red, bold = true },
|
||||
markdownH2 = { fg = p.red, bold = true },
|
||||
markdownH3 = { fg = p.red, bold = true },
|
||||
markdownH4 = { fg = p.red, bold = true },
|
||||
markdownH5 = { fg = p.red, bold = true },
|
||||
markdownH6 = { fg = p.red, bold = true },
|
||||
markdownCodeDelimiter = { fg = p.grey },
|
||||
markdownH1 = { fg = p.yellow, bold = true },
|
||||
markdownH2 = { fg = p.yellow, bold = true },
|
||||
markdownH3 = { fg = p.yellow, bold = true },
|
||||
markdownH4 = { fg = p.yellow, bold = true },
|
||||
markdownH5 = { fg = p.yellow, bold = true },
|
||||
markdownH6 = { fg = p.yellow, bold = true },
|
||||
markdownHeadingDelimiter = { fg = p.grey },
|
||||
markdownHeadingRule = { fg = p.grey },
|
||||
markdownId = { fg = p.yellow },
|
||||
markdownIdDeclaration = { fg = p.red },
|
||||
markdownIdDeclaration = { fg = p.yellow },
|
||||
markdownItalic = { fg = p.none, italic = true },
|
||||
markdownItalicDelimiter = { fg = p.grey, italic = true },
|
||||
markdownLinkDelimiter = { fg = p.grey },
|
||||
markdownLinkText = { fg = p.red },
|
||||
markdownLinkText = { fg = p.purple, underline = true },
|
||||
markdownLinkTextDelimiter = { fg = p.grey },
|
||||
markdownListMarker = { fg = p.red },
|
||||
markdownOrderedListMarker = { fg = p.red },
|
||||
markdownListMarker = { fg = p.purple },
|
||||
markdownOrderedListMarker = { fg = p.purple },
|
||||
markdownRule = { fg = p.purple },
|
||||
markdownUrl = { fg = p.blue, underline = true },
|
||||
markdownUrlDelimiter = { fg = p.grey },
|
||||
markdownUrlTitleDelimiter = { fg = p.green },
|
||||
markdownUrlTitleDelimiter = { fg = p.purple },
|
||||
["@markup"] = { link = "@none" },
|
||||
["@markup.heading"] = { fg = p.yellow, bold = true },
|
||||
["@markup.link.label"] = { fg = p.purple, underline = true },
|
||||
["@markup.link.url"] = { fg = p.blue, underline = true },
|
||||
["@markup.list"] = { fg = p.purple },
|
||||
["@markup.list.checked"] = { fg = p.blue },
|
||||
["@markup.list.unchecked"] = { fg = p.blue },
|
||||
["@markup.strikethrough"] = { strikethrough = true },
|
||||
["@markup.strong"] = { bold = true },
|
||||
["@markup.italic"] = { italic = true },
|
||||
["@markup.underline"] = { underline = true },
|
||||
|
||||
-- scala
|
||||
scalaNameDefinition = { fg = p.fg },
|
||||
|
||||
Reference in New Issue
Block a user