Skip to content

Commit

Permalink
fix: Adjust mason.nvim config
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticalDevil committed Nov 5, 2023
1 parent c9481d2 commit 358cffa
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 6 deletions.
19 changes: 19 additions & 0 deletions lua/devil/lsp/setup.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,29 @@ lsp_servers = arr_extend(lsp_servers, {

-- :h mason-default-settings
mason.setup({
-- Whether to automatically check for new versions when opening the :Mason window.
check_outdated_packages_on_open = true,

-- The border to use for the UI window. Accepts same border values as |nvim_open_win()|.
border = "rounded",

-- Width of the window. Accepts:
-- - Integer greater than 1 for fixed width.
-- - Float in the range of 0-1 for a percentage of screen width.
width = 0.8,

-- Height of the window. Accepts:
-- - Integer greater than 1 for fixed height.
-- - Float in the range of 0-1 for a percentage of screen height.
height = 0.9,

ui = {
icons = {
-- The list icon to use for installed packages.
package_installed = "",
-- The list icon to use for packages that are installing, or queued for installation.
package_pending = "",
-- The list icon to use for packages that are not installed.
package_uninstalled = "",
},
},
Expand Down
12 changes: 6 additions & 6 deletions lua/devil/plugins/common.lua
Original file line number Diff line number Diff line change
Expand Up @@ -659,12 +659,12 @@ return {
},
-- styler.nvim
-- Simple Neovim plugin to set a different colorscheme per filetype.
{
"folke/styler.nvim",
config = function()
require("devil.configs.plugin.styler")
end,
},
-- {
--"folke/styler.nvim",
-- config = function()
-- require("devil.configs.plugin.styler")
-- end,
-- },
-- substitute.nvim
-- Neovim plugin introducing a new operators motions to quickly replace and exchange text.
{
Expand Down

0 comments on commit 358cffa

Please sign in to comment.