-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a27a40e
commit bda0643
Showing
4 changed files
with
128 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
return { | ||
"folke/noice.nvim", | ||
event = "VeryLazy", | ||
dependencies = { | ||
"MunifTanjim/nui.nvim", | ||
"rcarriga/nvim-notify", | ||
}, | ||
opts = { | ||
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 | ||
}, | ||
hover = { | ||
enabled = false | ||
}, | ||
signature = { | ||
enabled = false | ||
}, | ||
documentation = { | ||
enabled = false | ||
} | ||
}, | ||
-- you can enable a preset for easier configuration | ||
presets = { | ||
bottom_search = false, -- use a classic bottom cmdline for search | ||
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 | ||
command_palette = { | ||
views = { | ||
cmdline_popup = { | ||
position = { | ||
row = "50%", | ||
col = "50%", | ||
}, | ||
size = { | ||
min_width = 60, | ||
width = "auto", | ||
height = "auto", | ||
}, | ||
}, | ||
cmdline_popupmenu = { | ||
position = { | ||
row = "80%", | ||
col = "50%", | ||
}, | ||
}, | ||
}, | ||
}, | ||
}, | ||
views = { | ||
mini = { | ||
win_options = { | ||
winblend = 0, | ||
}, | ||
} | ||
}, | ||
routes = { | ||
{ | ||
filter = { event = "msg_show", kind = "search_count" }, | ||
opts = { skip = true }, | ||
}, | ||
{ | ||
filter = { event = "msg_show", kind = "", find = "written", | ||
}, | ||
opts = { skip = true }, | ||
}, | ||
{ | ||
view = "split", | ||
filter = { event = "msg_show", min_height = 20 }, | ||
}, | ||
}, | ||
}, | ||
config = function(_, opts) | ||
require("noice").setup(opts) | ||
|
||
require("lualine").setup({ | ||
sections = { | ||
lualine_x = { | ||
{ | ||
require("noice").api.statusline.mode.get, | ||
cond = require("noice").api.statusline.mode.has, | ||
color = { fg = "#ff9e64" }, | ||
}, | ||
'filetype', | ||
"encoding", | ||
{ | ||
'fileformat', | ||
icons_enabled = true, | ||
symbols = { | ||
unix = 'LF', | ||
dos = 'CRLF', | ||
mac = 'CR', | ||
}, | ||
} | ||
}, | ||
}, | ||
}) | ||
end | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
return { | ||
"giusgad/pets.nvim", | ||
dependencies = { "MunifTanjim/nui.nvim", "giusgad/hologram.nvim" }, | ||
config = function() | ||
require("pets").setup({ | ||
row = 1, -- the row (height) to display the pet at (higher row means the pet is lower on the screen), must be 1<=row<=10 | ||
col = 0, -- the column to display the pet at (set to high number to have it stay still on the right side) | ||
speed_multiplier = 1, -- you can make your pet move faster/slower. If slower the animation will have lower fps. | ||
default_pet = "dog", -- the pet to use for the PetNew command | ||
default_style = "brown", -- the style of the pet to use for the PetNew command | ||
random = false, -- whether to use a random pet for the PetNew command, overrides default_pet and default_style | ||
death_animation = true, -- animate the pet's death, set to false to feel less guilt -- currently no animations are available | ||
popup = { -- popup options, try changing these if you see a rectangle around the pets | ||
width = "30%", -- can be a string with percentage like "45%" or a number of columns like 45 | ||
winblend = 100, -- winblend value - see :h 'winblend' - only used if avoid_statusline is false | ||
hl = { Normal = "Normal" }, -- hl is only set if avoid_statusline is true, you can put any hl group instead of "Normal" | ||
avoid_statusline = true, -- if winblend is 100 then the popup is invisible and covers the statusline, if that | ||
-- doesn't work for you then set this to true and the popup will use hl and will be spawned above the statusline (hopefully) | ||
} | ||
}) | ||
end | ||
} |