diff --git a/init.lua b/init.lua index 780a894..75f589a 100644 --- a/init.lua +++ b/init.lua @@ -39,7 +39,6 @@ local config = { -- Normal = { bg = "#000000" }, -- }, }, - -- set vim options here (vim.. = value) options = { opt = { @@ -225,16 +224,17 @@ local config = { -- end, -- }, + -- themes { - "catppuccin/nvim", - as = "catppuccin", - config = function() - vim.g.catppuccin_flavour = "macchiato" -- latte, frappe, macchiato, mocha - require("catppuccin").setup() - vim.api.nvim_command "colorscheme catppuccin" - end + "catppuccin/nvim", + as = "catppuccin", + config = function() + vim.g.catppuccin_flavour = "macchiato" -- latte, frappe, macchiato, mocha + require("catppuccin").setup() + vim.api.nvim_command "colorscheme catppuccin" + end, }, - { 'folke/tokyonight.nvim' } + { "folke/tokyonight.nvim" }, }, -- All other entries override the require("").setup({...}) call for default plugins ["null-ls"] = function(config) -- overrides `require("null-ls").setup(config)` @@ -256,11 +256,40 @@ local config = { }, -- use mason-lspconfig to configure LSP installations ["mason-lspconfig"] = { -- overrides `require("mason-lspconfig").setup(...)` - -- ensure_installed = { "sumneko_lua" }, + -- see https://github.com/williamboman/mason-lspconfig.nvim for the available servers list + ensure_installed = { + "ansiblels", + "arduino_language_server", + "bashls", + "clangd", + "cmake", + "cssls", + "dockerls", + "gopls", + "html", + "jsonls", + "lemminx", + "marksman", + "phpactor", + "perlnavigator", + "pyright", + "quick_lint_js", + "sqlls", + "sumneko_lua", + "taplo", + "yamlls", + }, }, -- use mason-null-ls to configure Formatters/Linter installation for null-ls sources ["mason-null-ls"] = { -- overrides `require("mason-null-ls").setup(...)` - -- ensure_installed = { "prettier", "stylua" }, + -- see https://github.com/jayp0521/mason-null-ls.nvim for the available sources + ensure_installed = { + "gitlint", + "hadolint", + "prettier", + "shellcheck", + "stylua", + }, }, },