mirror of
https://github.com/boxpositron/absolute-vim.git
synced 2026-02-28 11:40:36 +00:00
feat(dap.lua): add support for process.env.PORT environment variable to be able to run app on a configurable port feat(lsp-config.lua): add support for detecting python environment using DPE module feat(lualine.lua): add support for noice statusline component feat(mason.lua): update installed language servers list feat(noice.lua): add configuration for noice plugin feat(none-ls.lua): remove black and mypy formatters from null-ls setup fix(nvim-cmp.lua): change completeopt value to "menu,menuone,preview,noinsert" and add autocomplete trigger event on text change feat(nvim-cmp.lua): add border and winhighlight settings for documentation window to improve visual appearance feat(nvim-cmp.lua): add 'nvim_lsp_signature_help' as a source for autocompletion refactor(colorscheme.lua): refactor SetupWindowPreferences function to dynamically set blend values for highlight groups feat(init.lua): add setting for 'completeopt' to "menuone" feat(plugins/noice.lua): add configuration for 'noice.nvim' plugin with dependencies and event trigger feat(plugins/nvim-treesitter.lua): update configuration to run TSUpdate command silently feat(utils): add Lua utility functions to detect and manage Lua versions and paths feat(utils): add Python utility functions to check and resolve Python environments style(theme): update current theme to 'catppuccin' in Lua script
93 lines
2.3 KiB
Lua
93 lines
2.3 KiB
Lua
local noice = require("noice")
|
|
local notify = require("notify")
|
|
|
|
|
|
notify.setup({
|
|
top_down = false,
|
|
animate = false,
|
|
stages = "static",
|
|
})
|
|
|
|
noice.setup({
|
|
routes = {
|
|
{
|
|
filter = {
|
|
event = "msg_show",
|
|
min_height = 20,
|
|
},
|
|
view = "cmdline_output",
|
|
},
|
|
{
|
|
filter = {
|
|
event = "lsp",
|
|
kind = "progress",
|
|
cond = function(message)
|
|
local client = vim.tbl_get(message.opts, "progress", "client")
|
|
|
|
return client == "lua_ls"
|
|
end
|
|
},
|
|
opts = { skip = true },
|
|
}
|
|
},
|
|
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
|
|
},
|
|
},
|
|
cmdline = {
|
|
format = {
|
|
search_down = {
|
|
view = "cmdline",
|
|
},
|
|
search_up = {
|
|
view = "cmdline",
|
|
},
|
|
},
|
|
},
|
|
views = {
|
|
cmdline_popup = {
|
|
relative = "editor",
|
|
position = {
|
|
row = 5,
|
|
col = "50%",
|
|
},
|
|
size = {
|
|
width = 60,
|
|
height = "auto",
|
|
},
|
|
border = {
|
|
style = { "╭", "─", "╮", "│", "╯", "─", "╰", "│" },
|
|
padding = { 0, 1 },
|
|
},
|
|
filter_options = {},
|
|
win_options = {
|
|
winhighlight = {
|
|
Normal = "Normal",
|
|
}
|
|
},
|
|
},
|
|
popupmenu = {
|
|
relative = "editor",
|
|
position = {
|
|
row = 8,
|
|
col = "50%",
|
|
},
|
|
size = {
|
|
width = 60,
|
|
height = 10,
|
|
},
|
|
border = {
|
|
style = "rounded",
|
|
padding = { 0, 1 },
|
|
},
|
|
win_options = {
|
|
winhighlight = { Normal = "Normal", FloatBorder = "DiagnosticInfo" },
|
|
},
|
|
},
|
|
},
|
|
})
|