command palette, changed dracula theme again

This commit is contained in:
Ale 2024-06-22 22:20:23 +02:00
parent e2b4f2145a
commit f9b1466860
5 changed files with 36 additions and 63 deletions

View file

@ -1,53 +1,5 @@
return {
{
'maxmx03/dracula.nvim',
lazy = false,
priority = 1000,
config = function ()
---@type dracula
local dracula = require "dracula"
dracula.setup({
transparent = false,
on_colors = function (colors, color)
---@type dracula.palette
return {
-- override or create new colors
mycolor = "#ffffff",
}
end,
on_highlights = function (colors, color)
---@type dracula.highlights
return {
---@type vim.api.keyset.highlight
Normal = { fg = colors.mycolor }
}
end,
plugins = {
["nvim-treesitter"] = true,
["nvim-lspconfig"] = true,
["nvim-navic"] = true,
["nvim-cmp"] = true,
["indent-blankline.nvim"] = true,
["neo-tree.nvim"] = true,
["nvim-tree.lua"] = true,
["which-key.nvim"] = true,
["dashboard-nvim"] = true,
["gitsigns.nvim"] = true,
["neogit"] = true,
["todo-comments.nvim"] = true,
["lazy.nvim"] = true,
["telescope.nvim"] = true,
["noice.nvim"] = true,
["hop.nvim"] = true,
["mini.statusline"] = true,
["mini.tabline"] = true,
["mini.starter"] = true,
["mini.cursorword"] = true,
}
})
vim.cmd.colorscheme 'dracula'
vim.cmd.colorscheme 'dracula-soft'
end
}
"binhtran432k/dracula.nvim",
lazy = false,
opts = {},
}

View file

@ -0,0 +1,30 @@
return {
{
"folke/noice.nvim",
event = "VeryLazy",
dependencies = {
"MunifTanjim/nui.nvim",
"rcarriga/nvim-notify"
},
config = function ()
require("noice").setup({
lsp = {
-- override markdown rendering so that **cmp** and other plugins use **Treesitter**
override = {
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
["vim.lsp.util.stylize_markdown"] = true,
["cmp.entry.get_documentation"] = true, -- requires hrsh7th/nvim-cmp
}
},
-- you can enable a preset for easier configuration
presets = {
bottom_search = true, -- use a classic bottom cmdline for search
command_palette = true, -- position the cmdline and popupmenu together
long_message_to_split = true, -- long messages will be sent to a split
inc_rename = false, -- enables an input dialog for inc-rename.nvim
lsp_doc_border = false, -- add a border to hover docs and signature help
}
})
end
}
}

View file

@ -1,16 +1,6 @@
return {
{
'nvim-telescope/telescope.nvim',
dependencies = {
'nvim-lua/plenary.nvim',
'jonarrien/telescope-cmdline.nvim'
},
keys = {
{ ':', '<cmd>Telescope cmdline<cr>', desc = 'Cmdline' },
},
config = function(_, opts)
require("telescope").setup(opts)
require("telescope").load_extension('cmdline')
end
dependencies = { 'nvim-lua/plenary.nvim' }
}
}