mirror of
https://github.com/boxpositron/absolute-vim.git
synced 2026-02-28 11:40:36 +00:00
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:
@@ -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")
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
vim.g["jedi#popup_on_dot"] = 0
|
||||
vim.g["jedi#popup_on_dot"] = 1
|
||||
|
||||
|
||||
-- Keybindings
|
||||
|
||||
7
lua/absolute/after/tokyonight.lua
Normal file
7
lua/absolute/after/tokyonight.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
local theme = require("tokyonight")
|
||||
|
||||
theme.setup({
|
||||
style = "night",
|
||||
transparent = true,
|
||||
dim_inactive = true,
|
||||
})
|
||||
7
lua/absolute/plugins/tokyonight.lua
Normal file
7
lua/absolute/plugins/tokyonight.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
return {
|
||||
"folke/tokyonight.nvim",
|
||||
name = "tokyonight",
|
||||
config = function()
|
||||
require("absolute.after.tokyonight")
|
||||
end,
|
||||
}
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user