fix(init.lua): remove extra empty line

fix(absolute/after/colorscheme.lua): comment out unnecessary code for setting Normal and NormalFloat highlight groups
fix(absolute/after/jedi.lua): enable popup on dot for jedi
feat(absolute/after/tokyonight.lua): add support for tokyonight theme with specific configuration
feat(absolute/plugins/tokyonight.lua): add tokyonight plugin with configuration to load after plugin setup
fix(absolute/remap.lua): remove extra empty line
This commit is contained in:
David Ibia
2024-01-04 10:14:27 +01:00
parent 68aba67294
commit a57fdb2201
7 changed files with 22 additions and 5 deletions

View File

@@ -1,8 +1,8 @@
function SetTheme(color)
color = color or "rose-pine"
vim.cmd.colorscheme(color)
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
-- vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
-- vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
end
SetTheme("nightfly")
SetTheme("tokyonight")

View File

@@ -1,5 +1,5 @@
vim.g["jedi#popup_on_dot"] = 0
vim.g["jedi#popup_on_dot"] = 1
-- Keybindings

View File

@@ -0,0 +1,7 @@
local theme = require("tokyonight")
theme.setup({
style = "night",
transparent = true,
dim_inactive = true,
})

View File

@@ -0,0 +1,7 @@
return {
"folke/tokyonight.nvim",
name = "tokyonight",
config = function()
require("absolute.after.tokyonight")
end,
}

View File

@@ -63,6 +63,7 @@ opts.desc = "Disable Q - Nothing Good Ever Happens"
vim.keymap.set("n", "Q", "<nop>", opts)
-- Format document with LSP Formatter
opts.desc = "Format document with LSP Formatter"
vim.keymap.set("n", "<leader>f", vim.lsp.buf.format, opts)