mirror of
https://github.com/boxpositron/absolute-vim.git
synced 2026-02-28 03:30: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
init.lua
1
init.lua
@@ -1,4 +1,5 @@
|
||||
require("absolute")
|
||||
|
||||
|
||||
vim.g.loaded_perl_provider = 0
|
||||
vim.g.loaded_ruby_provider = 0
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
"nvim-lsp-file-operations": { "branch": "master", "commit": "8e7223e138590c1bd9d86d3de810e65939d8b12f" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "ce0e625df61be77abe1340fbc9afe9ad39b31dd8" },
|
||||
"nvim-tree.lua": { "branch": "master", "commit": "f1b3e6a7eb92da492bd693257367d9256839ed3d" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "3ef514b10b9557e3905b9817ca632e7506dd384a" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "0da349ed303bea955942f409d29059cdb89dbe2c" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "3e24abe1ae66532135cec911562f553fe247cb56" },
|
||||
"nvim_lsp": { "branch": "main", "commit": "5af77f54de1b16c34b23cba810150689a3a90312" },
|
||||
"playground": { "branch": "master", "commit": "ba48c6a62a280eefb7c85725b0915e021a1a0749" },
|
||||
@@ -38,6 +38,7 @@
|
||||
"rose-pine": { "branch": "main", "commit": "92762f4fa2144c05db760ea254f4c399a56a7ef5" },
|
||||
"telescope-dap.nvim": { "branch": "master", "commit": "4e2d5efb92062f0b865fe59b200b5ed7793833bf" },
|
||||
"telescope.nvim": { "branch": "0.1.x", "commit": "d90956833d7c27e73c621a61f20b29fdb7122709" },
|
||||
"tokyonight": { "branch": "main", "commit": "f247ee700b569ed43f39320413a13ba9b0aef0db" },
|
||||
"undotree": { "branch": "master", "commit": "36ff7abb6b60980338344982ad4cdf03f7961ecd" },
|
||||
"vim-fugitive": { "branch": "master", "commit": "59659093581aad2afacedc81f009ed6a4bfad275" },
|
||||
"vim-maximizer": { "branch": "master", "commit": "2e54952fe91e140a2e69f35f22131219fcd9c5f1" },
|
||||
|
||||
@@ -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