ui: theme changes + *: misc changes
This commit is contained in:
parent
1b7a0f813a
commit
4adcf3d2dd
4 changed files with 122 additions and 178 deletions
|
@ -187,7 +187,7 @@ return {
|
|||
{
|
||||
"SmiteshP/nvim-navic",
|
||||
config = function()
|
||||
vim.o.winbar = "%{%v:lua.require'nvim-navic'.get_location()%}"
|
||||
-- vim.o.winbar = "%{%v:lua.require'nvim-navic'.get_location()%}"
|
||||
end,
|
||||
},
|
||||
{
|
||||
|
|
|
@ -1,106 +1,106 @@
|
|||
return {
|
||||
{
|
||||
"folke/trouble.nvim",
|
||||
keys = {
|
||||
{
|
||||
"<leader><Tab>",
|
||||
function()
|
||||
require("trouble").next { jump = true, skip_groups = true }
|
||||
end,
|
||||
},
|
||||
{
|
||||
"<leader><esc>",
|
||||
function()
|
||||
require("trouble").prev { jump = true, skip_groups = true }
|
||||
end,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"nvim-telescope/telescope.nvim",
|
||||
tag = "0.1.8",
|
||||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
keys = {
|
||||
{
|
||||
"<leader>dd",
|
||||
function()
|
||||
require("telescope.builtin").diagnostics()
|
||||
end,
|
||||
desc = "[D]iagnostics",
|
||||
},
|
||||
{
|
||||
"gd",
|
||||
function()
|
||||
require("telescope.builtin").lsp_definitions()
|
||||
end,
|
||||
desc = "LSP def",
|
||||
},
|
||||
{
|
||||
"gr",
|
||||
function()
|
||||
require("telescope.builtin").lsp_references()
|
||||
end,
|
||||
desc = "[L]SP, Find [R]eferences",
|
||||
},
|
||||
{
|
||||
"<leader>ws",
|
||||
function()
|
||||
require("telescope.builtin").lsp_workspace_symbols()
|
||||
end,
|
||||
desc = "LSP, [W]orkspace [S]ymbols",
|
||||
},
|
||||
{
|
||||
"gi",
|
||||
function()
|
||||
require("telescope.builtin").lsp_implementations()
|
||||
end,
|
||||
desc = "[L]sp, [I]mplementations",
|
||||
},
|
||||
{
|
||||
"gt",
|
||||
function()
|
||||
require("telescope.builtin").lsp_type_definitions()
|
||||
end,
|
||||
desc = "[L]SP, Type Definitions",
|
||||
},
|
||||
{
|
||||
"<leader>ff",
|
||||
function()
|
||||
local builtin = require "telescope.builtin"
|
||||
builtin.find_files()
|
||||
end,
|
||||
desc = "Telescope: Find files",
|
||||
},
|
||||
{
|
||||
"<leader>fg",
|
||||
function()
|
||||
local builtin = require "telescope.builtin"
|
||||
builtin.buffers()
|
||||
end,
|
||||
},
|
||||
{
|
||||
"<leader>fg",
|
||||
function()
|
||||
local builtin = require "telescope.builtin"
|
||||
builtin.live_grep()
|
||||
end,
|
||||
},
|
||||
},
|
||||
|
||||
config = function()
|
||||
local builtin = require "telescope.builtin"
|
||||
local open_with_trouble = require("trouble.sources.telescope").open
|
||||
|
||||
-- Search with telescope and open with trouble
|
||||
local telescope = require "telescope"
|
||||
telescope.setup {
|
||||
defaults = {
|
||||
mappings = {
|
||||
i = { ["<c-t>"] = open_with_trouble },
|
||||
n = { ["<c-t>"] = open_with_trouble },
|
||||
},
|
||||
{
|
||||
"folke/trouble.nvim",
|
||||
keys = {
|
||||
{
|
||||
"<leader><Tab>",
|
||||
function()
|
||||
require("trouble").next { jump = true, skip_groups = true }
|
||||
end,
|
||||
},
|
||||
{
|
||||
"<leader><esc>",
|
||||
function()
|
||||
require("trouble").prev { jump = true, skip_groups = true }
|
||||
end,
|
||||
},
|
||||
},
|
||||
}
|
||||
end,
|
||||
},
|
||||
},
|
||||
{
|
||||
"nvim-telescope/telescope.nvim",
|
||||
tag = "0.1.8",
|
||||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
keys = {
|
||||
{
|
||||
"<leader>dd",
|
||||
function()
|
||||
require("telescope.builtin").diagnostics()
|
||||
end,
|
||||
desc = "[D]iagnostics",
|
||||
},
|
||||
{
|
||||
"gd",
|
||||
function()
|
||||
require("telescope.builtin").lsp_definitions()
|
||||
end,
|
||||
desc = "LSP def",
|
||||
},
|
||||
{
|
||||
"gr",
|
||||
function()
|
||||
require("telescope.builtin").lsp_references()
|
||||
end,
|
||||
desc = "[L]SP, Find [R]eferences",
|
||||
},
|
||||
{
|
||||
"<leader>ws",
|
||||
function()
|
||||
require("telescope.builtin").lsp_workspace_symbols()
|
||||
end,
|
||||
desc = "LSP, [W]orkspace [S]ymbols",
|
||||
},
|
||||
{
|
||||
"gi",
|
||||
function()
|
||||
require("telescope.builtin").lsp_implementations()
|
||||
end,
|
||||
desc = "[L]sp, [I]mplementations",
|
||||
},
|
||||
{
|
||||
"gt",
|
||||
function()
|
||||
require("telescope.builtin").lsp_type_definitions()
|
||||
end,
|
||||
desc = "[L]SP, Type Definitions",
|
||||
},
|
||||
{
|
||||
"<leader>ff",
|
||||
function()
|
||||
local builtin = require "telescope.builtin"
|
||||
builtin.find_files()
|
||||
end,
|
||||
desc = "Telescope: Find files",
|
||||
},
|
||||
{
|
||||
"<leader>fg",
|
||||
function()
|
||||
local builtin = require "telescope.builtin"
|
||||
builtin.buffers()
|
||||
end,
|
||||
},
|
||||
{
|
||||
"<leader>fg",
|
||||
function()
|
||||
local builtin = require "telescope.builtin"
|
||||
builtin.live_grep()
|
||||
end,
|
||||
},
|
||||
},
|
||||
|
||||
config = function()
|
||||
local builtin = require "telescope.builtin"
|
||||
local open_with_trouble = require("trouble.sources.telescope").open
|
||||
|
||||
-- Search with telescope and open with trouble
|
||||
local telescope = require "telescope"
|
||||
telescope.setup {
|
||||
defaults = {
|
||||
mappings = {
|
||||
i = { ["<c-t>"] = open_with_trouble },
|
||||
n = { ["<c-t>"] = open_with_trouble },
|
||||
},
|
||||
},
|
||||
}
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
|
|
@ -1,70 +1,16 @@
|
|||
return {
|
||||
{
|
||||
"ramojus/mellifluous.nvim",
|
||||
"miikanissi/modus-themes.nvim",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
enabled = false,
|
||||
enabled = true,
|
||||
config = function()
|
||||
require("mellifluous").setup {
|
||||
--colorset = "alduin",
|
||||
colorset = "mellifluous"
|
||||
} -- optional, see configuration section.
|
||||
|
||||
vim.cmd [[ colorscheme mellifluous ]]
|
||||
end,
|
||||
},
|
||||
{
|
||||
"zenbones-theme/zenbones.nvim",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
enabled = false,
|
||||
dependencies = "rktjmp/lush.nvim",
|
||||
config = function()
|
||||
vim.g.zenwritten = { darkness = "stark", solid_vert_split = true, solid_line_nr = true }
|
||||
vim.cmd [[ colorscheme zenwritten ]]
|
||||
end,
|
||||
},
|
||||
{
|
||||
"neanias/everforest-nvim",
|
||||
version = false,
|
||||
lazy = false,
|
||||
priority = 1000, -- make sure to load this before all the other start plugins
|
||||
-- Optional; default configuration will be used if setup isn't called.
|
||||
config = function()
|
||||
require("everforest").setup({
|
||||
italics = true,
|
||||
background = "hard",
|
||||
dim_inactive_windows = false,
|
||||
disable_italic_comments = false
|
||||
require("modus-themes").setup({
|
||||
line_nr_column_background = false
|
||||
})
|
||||
|
||||
vim.cmd [[colorscheme everforest]]
|
||||
vim.cmd [[ colorscheme modus ]]
|
||||
end
|
||||
},
|
||||
{
|
||||
"datsfilipe/vesper.nvim",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
enabled = false,
|
||||
config = function()
|
||||
require("vesper").setup {
|
||||
transparent = false,
|
||||
}
|
||||
|
||||
vim.cmd [[ colorscheme vesper ]]
|
||||
end,
|
||||
},
|
||||
{
|
||||
"AlexvZyl/nordic.nvim",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
enabled = false,
|
||||
config = function()
|
||||
require("nordic").load {
|
||||
bright_border = true,
|
||||
}
|
||||
end,
|
||||
},
|
||||
{
|
||||
"akinsho/bufferline.nvim",
|
||||
version = "*",
|
||||
|
@ -105,6 +51,7 @@ return {
|
|||
|
||||
opts = {
|
||||
diagnostics = "nvim_lsp",
|
||||
separator_style = "thin",
|
||||
|
||||
diagnostics_indicator = function(count, level, diagnostics_dict, context)
|
||||
local icon = level:match "error" and " " or " "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue