mason: disabled in favor of lazy-lsp

This commit is contained in:
Tigor Hutasuhut 2024-08-12 17:06:01 +07:00
parent 218fbe5640
commit 1b6273eb38
6 changed files with 62 additions and 8 deletions

View file

@ -34,6 +34,7 @@
"harpoon": { "branch": "harpoon2", "commit": "0378a6c428a0bed6a2781d459d7943843f374bce" }, "harpoon": { "branch": "harpoon2", "commit": "0378a6c428a0bed6a2781d459d7943843f374bce" },
"incline.nvim": { "branch": "main", "commit": "16fc9c073e3ea4175b66ad94375df6d73fc114c0" }, "incline.nvim": { "branch": "main", "commit": "16fc9c073e3ea4175b66ad94375df6d73fc114c0" },
"indent-blankline.nvim": { "branch": "master", "commit": "3fe94b8034dd5241cb882bb73847303b58857ecf" }, "indent-blankline.nvim": { "branch": "master", "commit": "3fe94b8034dd5241cb882bb73847303b58857ecf" },
"lazy-lsp.nvim": { "branch": "master", "commit": "3ce514080931ca6c35036dd9f90da879e9ab3204" },
"lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" }, "lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" },
"lazydev.nvim": { "branch": "main", "commit": "491452cf1ca6f029e90ad0d0368848fac717c6d2" }, "lazydev.nvim": { "branch": "main", "commit": "491452cf1ca6f029e90ad0d0368848fac717c6d2" },
"lazygit.nvim": { "branch": "main", "commit": "dc56df433bfbf107fee0139e187eb9750878fa84" }, "lazygit.nvim": { "branch": "main", "commit": "dc56df433bfbf107fee0139e187eb9750878fa84" },

View file

@ -1,6 +1,7 @@
return { return {
{ {
"rktjmp/fwatch.nvim", "rktjmp/fwatch.nvim",
enabled = false,
dependencies = { dependencies = {
"xiyaowong/transparent.nvim", -- For Transparency support "xiyaowong/transparent.nvim", -- For Transparency support
{ "echasnovski/mini.nvim", version = false }, { "echasnovski/mini.nvim", version = false },
@ -66,5 +67,6 @@ return {
"brenoprata10/nvim-highlight-colors", "brenoprata10/nvim-highlight-colors",
opts = {}, opts = {},
event = "VeryLazy", event = "VeryLazy",
enabled = false,
}, },
} }

View file

@ -2,17 +2,56 @@ return {
{ {
"catppuccin/nvim", "catppuccin/nvim",
name = "catppuccin", name = "catppuccin",
dependencies = {
"xiyaowong/transparent.nvim", -- For Transparency support
},
opts = { opts = {
styles = { styles = {
functions = { "italic" }, functions = { "italic" },
keywords = { "italic" }, keywords = { "italic" },
}, },
transparent_background = true,
},
config = function(opts)
require("catppuccin").setup(opts)
vim.g.neovide_transparency = 0.8
if not vim.g.neovide then
require("transparent").setup {
groups = {
"Normal",
"NormalNC",
"Comment",
"Constant",
"Special",
"Identifier",
"Statement",
"PreProc",
"Type",
"Underlined",
"Todo",
"String",
"Function",
"Conditional",
"Repeat",
"Operator",
"Structure",
"LineNr",
"NonText",
"SignColumn",
-- "CursorLine",
-- "CursorLineNr",
"StatusLine",
"StatusLineNC",
"EndOfBuffer",
},
}
end
end,
},
{
"LazyVim/LazyVim",
opts = {
colorscheme = "catppuccin",
}, },
}, },
-- {
-- "LazyVim/LazyVim",
-- opts = {
-- colorscheme = "catppuccin",
-- },
-- },
} }

View file

@ -2,7 +2,12 @@ return {
"dundalek/lazy-lsp.nvim", "dundalek/lazy-lsp.nvim",
dependencies = { "neovim/nvim-lspconfig" }, dependencies = { "neovim/nvim-lspconfig" },
opts = { opts = {
excluded_servers = { "jdtls", "gopls", "tsserver" }, prefer_local = true,
preferred_servers = {
nix = {
"nil_ls",
}, },
enabled = false, },
},
-- enabled = false,
} }

View file

@ -56,6 +56,9 @@ return {
client.server_capabilities.documentRangeFormattingProvider = false client.server_capabilities.documentRangeFormattingProvider = false
end, end,
}, },
lua_ls = {
mason = false;
};
}, },
}, },
} }

4
lua/plugins/mason.lua Normal file
View file

@ -0,0 +1,4 @@
return {
"mason.nvim",
enabled = false,
}