refactor(ui): improve completion menu and statusline with mini.icons and slimline.nvim

This commit is contained in:
sankalp committed 2025-10-02 22:50:58 +05:45
1 parent b82b4091d1
commit a80b173e3c
8 files changed
+160 -400

No files matched your search

+66 -66
View File
@@ -1,69 +1,69 @@
return {
-- default lsp configs
{
"neovim/nvim-lspconfig",
config = function() end,
},
-- default lsp configs
{
'neovim/nvim-lspconfig',
config = function() end,
},
-- lsp installer
{
"williamboman/mason.nvim",
dependencies = {
"williamboman/mason-lspconfig.nvim",
},
cmd = "Mason",
config = function()
-- mason
require("mason").setup({
ui = {
icons = {
package_installed = "✓",
package_pending = "➜",
package_uninstalled = "✗",
},
border = "rounded",
backdrop = 100,
},
})
require("mason-lspconfig").setup({
-- list of servers for mason to install
ensure_installed = {
"ts_ls",
"html",
"cssls",
"tailwindcss",
"lua_ls",
"basedpyright",
"bashls",
"clangd",
"pylsp",
"rust_analyzer",
},
automatic_installation = false, -- Don't auto-install or auto-configure
})
end,
},
{
"nvimdev/lspsaga.nvim",
event = "LspAttach",
config = function()
require("lspsaga").setup({
ui = {
theme = "round",
border = "rounded",
devicon = true,
title = true,
winblend = 1,
expand = "",
collapse = "",
preview = "",
code_action = "󰠠 ",
diagnostic = "",
incoming = "",
outgoing = "",
hover = "",
},
})
end,
},
-- lsp installer
{
'williamboman/mason.nvim',
dependencies = {
'williamboman/mason-lspconfig.nvim',
},
cmd = 'Mason',
config = function()
-- mason
require('mason').setup({
ui = {
icons = {
package_installed = '✓',
package_pending = '➜',
package_uninstalled = '✗',
},
border = 'rounded',
backdrop = 100,
},
})
require('mason-lspconfig').setup({
-- list of servers for mason to install
ensure_installed = {
'ts_ls',
'html',
'cssls',
'tailwindcss',
'lua_ls',
'basedpyright',
'bashls',
'clangd',
-- "pylsp",
'rust_analyzer',
},
automatic_installation = false, -- Don't auto-install or auto-configure
})
end,
},
{
'nvimdev/lspsaga.nvim',
event = 'LspAttach',
config = function()
require('lspsaga').setup({
ui = {
theme = 'round',
border = 'rounded',
devicon = true,
title = true,
winblend = 1,
expand = '',
collapse = '',
preview = '',
code_action = '󰠠 ',
diagnostic = '',
incoming = '',
outgoing = '',
hover = '',
},
})
end,
},
}